| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
|How to restart java service in solaris? my webserver is working v slow|
| 6:58 am on Jan 6, 2010 (gmt 0)|
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
4445 root 698M 196M sleep 59 0 0:00:36 0.0% java/32
| 7:27 am on Jan 6, 2010 (gmt 0)|
can you reboot the entire system? I reboot mine every 3-4 weeks early morning.
| 7:31 am on Jan 6, 2010 (gmt 0)|
is it necessary ... ? or is there anyway to restart the java services?
| 8:09 am on Jan 6, 2010 (gmt 0)|
It was a suggestion:)
From my experience, a rebooted server works better especially after having performance issues with a certain program.
| 8:23 pm on Jan 6, 2010 (gmt 0)|
Yikes! No restart!
Depending on the distro you're using a simple restart command should do it. Google says on solaris something like this:
svcadm restart java
or svcadm restart javad
or maybe svcadm restart tomcatd
whatever the name of your java daemon is - put that in the command. That should gracefully restart the java server.
Don't restart the whole server. That can go badly, particularly if something doesn't come back to life - you've now got an offline server. There's very little need to restart most nix servers.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved