Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processes left running when stopping server #15

Closed
Jonek01 opened this issue Jun 4, 2012 · 3 comments
Closed

Processes left running when stopping server #15

Jonek01 opened this issue Jun 4, 2012 · 3 comments
Labels

Comments

@Jonek01
Copy link

Jonek01 commented Jun 4, 2012

When I stop a server, I still get two processes running from the script, but it has terminated:

xxxxx@supermicro:~/test$ msm bukkit stop
Issued the warning "SERVER SHUTTING DOWN IN 10 SECONDS!" to players.
Shutting down... Now.
Forcing save... Done.
Stopping the server... Done.
Synchronising worlds in RAM to disk... Done.
xxxxx@supermicro:~/test$ ps aux
...
xxxxx   16385  0.0  0.0  11420  1524 pts/3    S    09:09   0:00 /bin/bash /usr/local/bin/msm bukkit stop
xxxxx   16388  0.0  0.0   5396   660 pts/3    S    09:09   0:00 tail --follow --lines=100 --sleep-interval=0.1 /opt/msm/servers/bukkit/server.log
...

Not yet found the cause for this. Any hints?

@marcuswhybrow
Copy link

For the tail process this looks like a good solution, which i'll look into after finishing my "tests" branch. As for the stop line I'm not sure at the moment, will have to debug that a bit more.

@marcuswhybrow
Copy link

Commit 93ba2c1 fixes the tail process hanging around after the command has finished.

On the other hand I cannot replicate the problem with the stop command process. Maybe you could replace your msm script with the latest version, and let me know if it is still happening for you. You can use the same command found on the wiki to overwrite it:

sudo wget https://raw.github.com/marcuswhybrow/minecraft-server-manager/latest/init/msm -O /etc/init.d/msm

@Jonek01
Copy link
Author

Jonek01 commented Jun 7, 2012

Everything is working fine now.

@Jonek01 Jonek01 closed this as completed Jun 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants