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
0 answers

I have got an annoying celeryd worker restart issue with exitcode 1 or 15

I am using celery 3.0.21 with redis as backend, here is my celery config: celery = Celery('cpps', broker='redis://127.0.0.1:6379/1', backend='redis://127.0.0.1:6379/1', include=['cpps.tasks']) # Optional configuration, see the…
sladhu
  • 41
  • 2
4
votes
2 answers

Is there an easy way to automatically do a php-fpm restart after a 502 gateway timeout on server?

Do you have any useful links, tips or scripts about installing a heartbeat-tool for a bigger site that uses Wordpress and nginx. If too many people visit that site at the same time server shuts down. I need something to automatically restart the…
user2718671
  • 2,866
  • 9
  • 49
  • 86
4
votes
1 answer

Restarting web server without affecting users?

There are a bunch of techniques I can think of for doing this: Setting up a replica web-server on a different port and/or IP, then using DNS as load-balancer; restarting one server at a time Utilising more explicit load-balancing (which PaaS such…
A T
  • 13,008
  • 21
  • 97
  • 158
4
votes
1 answer

Unable to restart varnish using "service varnish restart"

I made changes in "/etc/default/varnish" as well as the vcl file "/etc/varnish/default.vcl" and therefore want to restart varnish. But I'm unable to figure out what's wrong. Already spent more than an hour lookijng into it but no luck. Following are…
nish
  • 6,952
  • 18
  • 74
  • 128
4
votes
2 answers

How to suspend/restart Linux Ubuntu from PHP script?

I have a problem. I want to restart ubuntu with php code but I can not. I have tried all of codes from the internet like and
4
votes
1 answer

android ICS: service restart hang on intent.getExtras()

I have an activity, in its OnCreate: serviceIntent = new Intent(this, MyServ.class); int templen = myString.length(); Log.i("check", "mystring"+templen); serviceIntent.putExtra("myString", myString); …
manhon
  • 683
  • 7
  • 27
4
votes
1 answer

Start Activity on mobile restart

I Want to design an App. Which will start on mobile restart. I am able to start my activity by using "android.intent.action.BOOT_COMPLETED" intent but "SAMSUNG NOTE" has facility to restart mobile not needed to switch off and then on here i am…
Tushar
  • 1,122
  • 1
  • 13
  • 28
4
votes
0 answers

Android phone reboot when run application from eclipse

I am a stranger in android-programming. My phone reboot once in every three times when I run app from eclipse. (I always launch application on active devices, not on AVD.) I googled lots of sites, but there is no solution. I tried: Switch USB…
4
votes
2 answers

Activity restart while async task is running

I'm confused with the async task. What do I have to do when my activity restarts? In my activity, onCreate() starts an async task. I know that the activity restarts when android requires it (i.e. orientation change or other). I've no problem with…
user2052680
  • 131
  • 1
  • 6
4
votes
3 answers

Python - Saving state of a program between restarts?

I would like to know how to save a programs current settings so that it remains the same, unless specified otherwise, on program restart or computer restart. For example, windows default program sticky notes, where it saves the text, so that it can…
GoodPie
  • 967
  • 3
  • 23
  • 41
4
votes
2 answers

How do I restart a computer in safe mode with a Windows script?

Most novice computer users get stumped when they run into a problem and have to reboot a computer into safe mode, so how can you script this to make it automatic?
user1914378
4
votes
1 answer

How do I know if a restart is needed in InnoSetup script?

TL;DR version: In an InnoSetup script, how can I detect if a restart is needed because of files that were in use? More detailed version: I have an Inno Setup script with the following characteristics: the ShouldSkipPage function is implemented so…
Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758
4
votes
1 answer

Restart C# application without actually closing and re-opening?

How can i get all of my internal code to work as if I used Application.Restart(), but without actually having the program have to close and reopen?
Adam Johns
  • 35,397
  • 25
  • 123
  • 176
4
votes
2 answers

Restart a complete Android App after a AsyncTask has finished

The app I'm coding checks wether there is a special ZIP-File in a Directory under /sdcard and starts to download and unzip it if not. The download and unzip works finde, even with subdirectories. But I need to restart the App when it's done - and…
Donny
  • 95
  • 10
4
votes
1 answer

How to fix Redis "memory leak"

I'm using a redis memory store on dotcloud but despite expiring keys its used_memory never drops back down again. Using flushdb or flushall from redis-cli doesn't cause the used_memory to drop from it's ~20Mb. I've had the same problem on…
AJP
  • 26,547
  • 23
  • 88
  • 127