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
13
votes
2 answers

Prevent Windows 10 from automatically restarting after an update programmatically

QUESTION: Is there a programmatic way to prevent Windows 10 from automatically restarting after an update? We work on "mission-critical" software that runs in Windows. In general, it is bad if a Windows automatic update interrupts our process as…
Andre72127
  • 219
  • 3
  • 11
13
votes
5 answers

Allow restarting Java application with JMX monitoring enabled immediately

I have a Java application with JMX monitoring enabled like this: -Dcom.sun.management.jmxremote.port=9999 \ // some other properties omitted But when I try to restart the application, sometime I got an error says the JMX port number is already in…
George
  • 4,029
  • 2
  • 22
  • 26
12
votes
2 answers

Python + Tornado Restart after editing files

I just start learning Python + Tornado for my web servers. Every time I modify some code on my python scripts or templates I have to stop the in my terminal (CTRL+C) and restart it (python server.py) and I want a more effective way to do this, that…
danielfrg
  • 2,597
  • 2
  • 22
  • 23
12
votes
1 answer

Automatically restart Heroku dynos on Error R14 (Memory quota exceeded) errors

I am running an app which requires a library that leaks memory. (Unfortunately there is no alternative for this propriotory software). As a result the dynos exceed their memory limit and emmit Error R14 (Memory quota exceeded) errors. Is there some…
Eddie Wang
  • 121
  • 4
12
votes
2 answers

Reconnect RMI client after server restart

I have an RMI server and a desktop RMI client. When I restart the server, I get errors in the client. Is it possible to restart the RMI connection without restarting the client? [EDIT] Here is the stacktrace: java.rmi.ConnectException: Connection…
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
11
votes
6 answers

How to update ENV variables in a Process without restarting it (NodeJS)?

I have a server running on NodeJS. Is there a way to update the environment variables in the process without restarting the server? What I'm looking to do is: Start my server npm start type something into the console to update ENV variable Server…
nikjohn
  • 20,026
  • 14
  • 50
  • 86
11
votes
1 answer

Restart computer from WinForms app?

Right now I'm restarting my app with the following code private static void Restart() { ProcessStartInfo proc = new ProcessStartInfo(); proc.WindowStyle = ProcessWindowStyle.Hidden; proc.FileName = "cmd"; proc.Arguments = "/C…
bevacqua
  • 47,502
  • 56
  • 171
  • 285
11
votes
3 answers

How to restart sublime text

I'd like to know if there is an option on Sublime text to close and re open, for using after installing some plugin or in bug case.. I've been searching but I couldn't find anything... Thanks.
11
votes
4 answers

How to improve workflow for creating a Lua-based Wireshark dissector

I've finally created a Dissector for my UDP protocol in Lua for Wireshark, but the work flow is just horrendous. It consists of editing my custom Lua file in my editor, then double-clicking my example capture file to launch Wireshark to see the…
piyo
  • 784
  • 5
  • 14
11
votes
2 answers

How to restart a JavaFX application when a button is clicked

I went through almost every post here regarding the matter but most of them doesn't explain what to do properly. To the question: I created a javaFX application, a dice game, human player vs. computer, but during any time while playing the game…
Raveen Athapaththu
  • 190
  • 1
  • 1
  • 13
11
votes
2 answers

Why am I unable to kill my JBoss process?

I’m using JBoss wildfly 10.0.0.CR2 on Mac Yosemite. I was looking for a foolproof way to kill JBoss so and was suggested this command pgrep -d" " -f "wildfly" | xargs kill; So I run this command and then I go into my $JBOSS_HOME/bin directory and…
Dave
  • 15,639
  • 133
  • 442
  • 830
11
votes
8 answers

Is there a way to dynamically restart a HelloWorld Java program which loops print outputs?

Consider the following simple code that prints "Hi world" forever: public class WakeMeUpSomehow { public static void main(String[] args) { while (true) { try { System.out.println( " Hi world "); Thread.sleep(1000); …
Caffeinated
  • 11,982
  • 40
  • 122
  • 216
11
votes
2 answers

Have to Restart Apache When Using Django On Apache with mod_wsgi

I'm creating a web app with Django. Since I'm very familiar with Apache I setup my development environment to have Django run through Apache using mod_wsgi. The only annoyance I have with this is that I have to restart Apache everytime I change my…
joshwbrick
  • 5,882
  • 9
  • 48
  • 72
11
votes
3 answers

How to restart a Service after getting Killed by apps like "Advanced Task Killer"?

I have a public class that 'extends Service' and this service is launched from an activity using startService(...). But after I use Advanced Task Killer, the service is killed and never restarted again. I noticed that some apps like the Facebook…
user1406716
  • 9,565
  • 22
  • 96
  • 151
11
votes
1 answer

What could cause an Android activity to relaunch itself infinitely when returning from camera?

I have a weird bug in my application that causes an activity to relaunch itself in an infinite loop when I'm returning from a camera application, after taking a picture. The UI flow is like this: Main Activity -> Accept Photo activity -> in…
Corneliu Dascălu
  • 3,900
  • 1
  • 28
  • 38