| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|How to restart java service in solaris? my webserver is working v slow|
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
can you reboot the entire system? I reboot mine every 3-4 weeks early morning.
is it necessary ... ? or is there anyway to restart the java services?
It was a suggestion:)
From my experience, a rebooted server works better especially after having performance issues with a certain program.
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.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved