FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 04-27-2008, 08:40 PM
Toshio Kuratomi
 
Default Change Request: setup restart-memhogs on fas1/2

We have a script to restart TG apps on the app servers when their memory
exceeds a customizable limit. We have this run on the app servers on
alternate hours so that we don't take down all the load balanced copies
of an app at the same time. This has proved useful for a few of our
apps which have a tendency to grow until the box starts swapping. I'd
like to set this up for fas1 and fas2 before we get to the hard change
freeze.


As an initial limit, I want to start with 1GB of rss before an app
restarts. The present usage


fas1 fas2
Memory on the box: 4096000 2048000
Memory usage after
1 day 21 hours: 728820 1005260

-Toshio

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 04-27-2008, 09:10 PM
Mike McGrath
 
Default Change Request: setup restart-memhogs on fas1/2

On Sun, 27 Apr 2008, Toshio Kuratomi wrote:

> We have a script to restart TG apps on the app servers when their memory
> exceeds a customizable limit. We have this run on the app servers on
> alternate hours so that we don't take down all the load balanced copies of an
> app at the same time. This has proved useful for a few of our apps which have
> a tendency to grow until the box starts swapping. I'd like to set this up for
> fas1 and fas2 before we get to the hard change freeze.
>
> As an initial limit, I want to start with 1GB of rss before an app restarts.
> The present usage
>
> fas1 fas2
> Memory on the box: 4096000 2048000
> Memory usage after
> 1 day 21 hours: 728820 1005260
>

Thats fine, we should ultimately de-x86_64 these boxes but with everything
else going on.... the mem-hog script will be best.

+1 from me.

-Mike

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 

Thread Tools




All times are GMT. The time now is 02:58 AM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org