homepage Welcome to WebmasterWorld Guest from 54.204.217.249
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
How to restart java service in solaris? my webserver is working v slow
nabeelanwer




msg:4054963
 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

 

walkman




msg:4054971
 7:27 am on Jan 6, 2010 (gmt 0)

can you reboot the entire system? I reboot mine every 3-4 weeks early morning.

nabeelanwer




msg:4054972
 7:31 am on Jan 6, 2010 (gmt 0)

is it necessary ... ? or is there anyway to restart the java services?

walkman




msg:4054980
 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.

wheel




msg:4055444
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved