Questions tagged [restart]

Restart refers to the process where a software program or system is systematically (and preferably gracefully) shut down then automatically invoked to full functionality without intervention from the user.

Restart is also often referred to as reboot or reset.

Restarting a software program or system is one of the most common ways to troubleshoot problems as it will put the program or system back into a fresh and predictable state

1535 questions
4
votes
3 answers

How does one restart Openshift Origin master on Centos 7?

Openshift origin was installed via the ansible playbooks. According to this documentation, the correct command to restart is: $ systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers However, this just results in: Failed…
MirroredFate
  • 12,396
  • 14
  • 68
  • 100
4
votes
2 answers

R - How to use cumulative sum by year and restart cumulative sum when condition is met

I have the following data frame in R: YEAR DOY PRECTOT cumsum Lws prec0 1 1982 121 6.05 6.05 no no 2 1982 122 1.10 7.15 no no 3 1982 123 0.490 7.64 no no 4…
sandrabee
  • 45
  • 1
  • 7
4
votes
1 answer

pm2 reload/restart with wildcard

It's possible to restart a certain group of applications with pm2? Something like pm2 restart service-* restarting service-a and service-b? I found pm2 restart service-a and pm2 restart all, but nothing with wildcard. Of course I could write a shell…
Rainer
  • 1,067
  • 2
  • 14
  • 29
4
votes
1 answer

AWS ECS Restart Policy

I've inspected one of the docker containers I have running in my ECS cluster and it has a blank for the restart policy ("{{ .HostConfig.RestartPolicy.Name }}"). I'm unsure what ECS does in the case of a failure but I would like to change the policy…
tonyl7126
  • 1,548
  • 3
  • 14
  • 19
4
votes
2 answers

Why is MVC page compilation forcing constant app restarts on my Azure web app?

My precompiled Azure web app is constantly restarting, and I can't figure out how to fix it. Here are the details: This is an MVC 5 web project published as an Azure web app .Net Framework v4.5.2 The reason for restart is…
Scott Reece
  • 395
  • 1
  • 3
  • 13
4
votes
2 answers

SQL Server 2008 R2 Express - Instances continually starting up database

I have 3 instances running of SQL Server 2008 R2 Express, to try and circumvent the 1gb limit for express editions. Instance 1 (SQLExpress) is attached to my busiest web site, servicing around 3000 concurrent online users. This database functions…
gavins
  • 43
  • 1
  • 3
4
votes
6 answers

how to restart java application, remembering its command line arguments

I have a java application. It can be started with couple of command line flags. I want to provide ability "restart" the application by user. Currently we save the the arguments on a control file, reads it when restarting the application. What is…
Jayan
  • 18,003
  • 15
  • 89
  • 143
4
votes
3 answers

Auto restart or Proper Handling socket.io server on exception in linux

I'ved got my socket.io server running in the background. However, there are several situation where it died. What can I do to make my socket.io server auto restart whenever it dies or terminated. This is how I started my node server > node server…
Axil
  • 3,606
  • 10
  • 62
  • 136
4
votes
4 answers

How can I restart a Node.js child process

I'm trying to restart a certain child_process by the name of serverSpawnProcess. I can get it to stop, but I can't start it again. serverSpawnProcess.stdin.write('stop\n'); serverSpawnProcess = null; setTimeout(function() { serverSpawnProcess =…
gmemstr
  • 135
  • 1
  • 2
  • 8
4
votes
1 answer

Common List: Use handler-case in different packages

I've got the following lisp code : ;;; hop.lisp (defpackage #:hop (:use #:cl )) (in-package :hop) (export 'hop) (defun hop () (restart-case (error "Hop") (hop () (format t "hop")))) Where I define a dummy function that always…
Guillaume
  • 289
  • 1
  • 7
4
votes
1 answer

ASP.NET Web Application Restarts When Deleting Directory

I have some code in my logout routine that deletes some temporary session files when the user logs out or when the session expires. Deleting these folders causes my web app to restart. It does not error out or throws an exception it just restarts!…
Arizona1911
  • 2,181
  • 9
  • 29
  • 38
4
votes
2 answers

Should I ever include a reboot command in my BoxStarter script?

Question Is there ever a reason to include if (Test-PendingReboot) { Invoke-Reboot } in a BoxStarter script when $Boxstarter.RebootOk=$true is declared? Background I've recently discovered BoxStarter and noticed that a number of scripts out there…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
4
votes
1 answer

How to restart a process in bash or kill it on command?

I have a script that will track a process and if that process dies, it will respawn it. I want the tracking script to also kill the process if told to do so by giving the tracking script a sigterm (for example.). In other words, if I kill the…
Bitdiot
  • 1,506
  • 2
  • 16
  • 30
4
votes
4 answers

How disable alert box that appears ,while app crashes in Android

I want to handle the crashes smoothly ,for that i am restarting the app for every uncaught exceptions but there is always alert box is there "unfortunately ,xyz has stopped working" code that i am using to handle uncaught exceptions : intent =…
Harsh Middha
  • 143
  • 1
  • 8
4
votes
1 answer

Correct way of implementing Cherrypy's autoreload module

As title, I am following the tutorial of cherrypy at http://docs.cherrypy.org/en/latest/tutorials.html#tutorial-1-a-basic-web-application and I want to see the changes in my script immediately without restarting my cherrypy server. I read from…
lokheart
  • 23,743
  • 39
  • 98
  • 169