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
3
votes
1 answer

Restart MySQL server without disrupting users

What are some generally accepted strategies for restarting a MySQL server on a busy website without interrupting current users? I am using a LAMP setup. I don't mind taking down the site for a time if need be, but if certain user activities are…
Brian
  • 2,107
  • 6
  • 22
  • 40
3
votes
1 answer

In common lisp how do you restart where the error was thrown not caught?

This question is really about my lack of understanding of restarts. In the encoder for cl-json there exists a tempting macro I would like to use with-substitute-printed-representation-restart But alas I do not quite understand…
Jim
  • 329
  • 1
  • 5
3
votes
1 answer

Restarting a Zebra printer using ZPL

Is there a ZPL command to simply restart a Zebra printer? So far I could only find the ~JR command, which to me doesn't look like what I'm searching for. I just need a way to issue a restart to the printer without resetting any of its configuration.
3
votes
9 answers

how do I get a process to reload itself in linux?

I have a service, say foo, written in C++, that runs as root. There is the usual scrip, /etc/init.d/foo start|stop|restart. At certain times, foo needs to reload itself. Normally after an upgrade has finished. But doing things…
Stéphane
  • 19,459
  • 24
  • 95
  • 136
3
votes
1 answer

Cloud storage directory disappears when restarting instance

I have attached a standard persistent disk to the instance. On that disk I have created a directory 'cloud-storage' (as always mkdir) in which I mount the bucket (Google Cloud Storage). Also I have added to fstab the command to mount it: bucket_name…
Apyc
  • 307
  • 5
  • 12
3
votes
3 answers

Android activity restart

I am having a confusion in restarting an activity.. I have two function that works well for the same task. Please guide me which is best and why? public void restart() { Intent intent = getIntent(); …
GouravJn
  • 246
  • 1
  • 6
  • 18
3
votes
1 answer

OpenGL changing orientation causes iPad to restart

I have a problem with openGL and orientation in my iPad app. The problem only happens with 4.3+ devices. It doesn't happen with 4.2 devices. When I start the application with any orientation and draw, it draws correctly, but when I change the…
Basel
  • 2,368
  • 1
  • 16
  • 21
3
votes
1 answer

Neo4J: How could I restart the database from the cypher-shell?

How could I restart the Neo4J database using the cypher-shell? Do you Know if exist a command?
raf
  • 137
  • 2
  • 12
3
votes
1 answer

Emacs GDB ReRun Behaviour

I would like the command gdb on program X to instead switch to an existing debugging session of X if it already exists instead of signalling an error "This program is already being debugged" in gud-common-init. I believe this is important as it…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
3
votes
1 answer

NodeJS PM2 - Programmatically restart process using PM2 API

I want to programmatically restart a process using PM2 API in NodeJS. From their docs, I learned that you can do this by calling pm2.restart(process, errback). Thing is that it is not said anywhere what type the process argument must be. Does it…
DamiToma
  • 921
  • 3
  • 9
  • 27
3
votes
1 answer

PowerShell How can I restart service automatically?

I am trying to restart specific service when cpu usage come to 80%. I am using job trigger and try to get logs but I could not restart to service. $peridiocallyChecks = { # Check if logging source is available, if not add it if…
3
votes
4 answers

What causes a program to freeze

From what experience I have programming whenever a program has a problem it crashes, whether it is from an unhanded exception or a piece of code that should have been checked for errors, but was not and threw one. What would cause a program to…
burg5237
  • 31
  • 1
  • 2
3
votes
1 answer

How restart an async Suave server if it crash?

I have a embebed server for a mobile device that could crash sometimes. I need to always have the server alive. Now the problem is that I don't see how restart the server when it is async: let startServer(rootPath) = let cf = serverConfig…
mamcx
  • 15,916
  • 26
  • 101
  • 189
3
votes
1 answer

What happens when an Azure App Service restarts?

What is happening behind the scenes when an App Service is restarted? I'm trying to troubleshoot a slow restart for my app (ASP.Net and Sql published from Visual Studio) and I feel like understanding this would help me know what the issue is. My app…
JRP Mike
  • 53
  • 5
3
votes
1 answer

Auto restart crashed heroku app

My app sometimes crashes and I would like to know if there is a Add-on or Dyno that I can deploy which will detect when my app is crashed and restart is automatically.
Kevin Schwertz
  • 123
  • 2
  • 12