Learned something new today!! Thanks Bryan! Really neat trick.
Keep them coming guys!

On 6/7/05, Bryan Phinney <[EMAIL PROTECTED]> 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.
> --
> Bryan Phinney
> 
> 
> 
> 
> ____________________________________________________
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> ____________________________________________________
> 
> 
>

____________________________________________________
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