On Tue, 2005-06-07 at 20:06, Bryan Phinney wrote:
> Okay, this might be well known but I had never seen any postingsd or 
> allusions 
> to it and I thought it was kinda cool.
> 
> You can run the service script from within Mandriva using the -R option and 
> it 
> will automatically restart all services that are currently running on the 
> box.  On a server, this is actually kind of neat to do on a regular basis 
> because it is not as traumatic as a full reboot but you still can clear out 
> temporary files, swap space, and it helps with any possible memory leaks that 
> might have been sucking up your resources.
> 
> On my server which has just under 1 GB of RAM, I routinely run with 640M free 
> of memory after the initial start.  After 2-3 days, I am usually down to 
> about 512M of free memory with maybe 8-10 MB of swap used.  After 
> running /sbin/service -R, which takes about 2 minutes to complete, I am back 
> up to 674M of free memory with 0 swap used.
> 
> Another benefit, if you add new services or daemons, you don't have to keep 
> track of any of them, the service command will restart everything that is 
> currently running, a one shot deal.
> 
> Thought that I would post this just in case anyone else finds it useful.

Actually, I didn't know about that and THAT little trick has just
returned some great benefit to remote servers I have to deal with (both
RH and Mandrake/Mandriva/Man-whatever. Awesome little ditty
there...going to test it out on the SuSE box to see if that does it
there as well...coolbeans....great tip/trick!
--
YankDownUnder aka stephen kuhn
#mandriva channel op - irc.freenode.net
Mandriva Official IRC Support
-----------------------------------------------
Registered Linux User # 267497
-----------------------------------------------
Make it right before you make it faster.


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to