[SOLVED] Killing and restarting on Linux
I did search before hand...
<-------------------------Subsonic Help Request---------------------->
Problem Description: Subsonic is working great and the problem happens when I restart Subsonic. I have a script that basically...
- copies the subsonic database and ecache file from RAM (everything runs in RAM on unRAID).
- calls a kill -9 [PID].
- deletes the few directories subsonic creates (/var/subsonic/)
- then calls the script to start Subsonic. the very same script that runs when the computer reboots.
I can see the new process ID started and all the files exist as expected, but its like the webpages is not being served. I think there is some service that needs to be restarted. It could be using Kill -9 is wrong and not releasing some resources used by java.
Troubleshooting Steps:
- Lots of poking around.
- Tried restarting the "BSD Internet super-daemon" after the new subsonic process id is started (eg. /etc/rc.d/rc.indetd restart)
- reboot and subsonic works.
Playback Application and version: Firefox.
Subsonic Version: 4.5 (build 2384) – August 10, 2011
Server Version: jetty-6.1.x, java 1.6.0_20, Linux (145.0 MB / 224.8 MB)
Hardware Platform: unRAID server, based on Slackware 12.1
Java Memory Limit: N/A
Problem Filename: N/A
Last ten log file lines:
<-------------------------Subsonic Help Request---------------------->
<-------------------------Subsonic Help Request---------------------->
Problem Description: Subsonic is working great and the problem happens when I restart Subsonic. I have a script that basically...
- copies the subsonic database and ecache file from RAM (everything runs in RAM on unRAID).
- calls a kill -9 [PID].
- deletes the few directories subsonic creates (/var/subsonic/)
- then calls the script to start Subsonic. the very same script that runs when the computer reboots.
I can see the new process ID started and all the files exist as expected, but its like the webpages is not being served. I think there is some service that needs to be restarted. It could be using Kill -9 is wrong and not releasing some resources used by java.
Troubleshooting Steps:
- Lots of poking around.
- Tried restarting the "BSD Internet super-daemon" after the new subsonic process id is started (eg. /etc/rc.d/rc.indetd restart)
- reboot and subsonic works.
Playback Application and version: Firefox.
Subsonic Version: 4.5 (build 2384) – August 10, 2011
Server Version: jetty-6.1.x, java 1.6.0_20, Linux (145.0 MB / 224.8 MB)
Hardware Platform: unRAID server, based on Slackware 12.1
Java Memory Limit: N/A
Problem Filename: N/A
Last ten log file lines:
<-------------------------Subsonic Help Request---------------------->