[Gllug] Troubleshooting Memory Leak

william pink will.pink at gmail.com
Wed Mar 25 09:43:05 UTC 2009


On Tue, Mar 24, 2009 at 5:01 PM, Stephen Nelson-Smith <sanelson at gmail.com>wrote:

> I have a CentOS 5 server running nginx, httpd and a dozen or so
> mongrel instances.  Since this morning I've been experiencing a
> serious memory leak - about 2G in 2 hours, until the machine needs to
> be rebooted.  I've tried to answer the question "what changed", and I
> can't think of anything on my side...
>
> In top, and related tools, I see no processes growing in size - all I
> see is the amount of memory available constantly reducing.
>
> The sort of thing I can think of that fits the evidence would be
> something like a process is being created and then dying without
> returning the memory to the system.
>
> However, I am unable to see the malloc's, and I can't currently think
> of a way to test this theory.
>
> I suspect systemtap may be the tool to use - anyone have experience of
> using it in this way, or have a recipe they could point me to?
>
> Any other ideas for troubleshooting and gathering info?
>
> Thanks in advance,
>
> S.
>
> --
> Stephen Nelson-Smith
> Technical Director
> Atalanta Systems Ltd
> www.atalanta-systems.com
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug




I know its off topic but is there any reason you aren't using Passenger?

 http://www.modrails.com/

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20090325/b55a882f/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list