Re: 1.2.beta-20 memory leak

From: Chris Wedgwood <chris@dont-contact.us>
Date: Tue, 5 May 1998 11:32:05 +1200

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii

> Note that run-time reconfigure may lead to memory leaks. They are all minor
> (if any) to be concerned about in practice, but if you reconfigure very
> often, the accumulated effect might be noticeable.

# ps aux -p `cat /var/run/squid.pid`
    USER PID %CPU %MEM VSZ RSS TT STAT START TIME COMMAND
squid 14150 0.8 2.7 932 658 11 S 11:16 0:00 (squid)

while [ 1 ] ; do kill -1 `cat /var/run/squid.pid` ; sleep 1 ; done

[left for a little while]

# ps aux -p `cat /var/run/squid.pid`
    USER PID %CPU %MEM VSZ RSS TT STAT START TIME COMMAND
squid 14150 1.3 2.8 954 680 11 S 11:16 0:08 (squid)

Now there were no changes to the configuration here between reloads nor were
there may accesses (maybe 1/sec or so) so this really only shows that if
there is a leak, its not a really obvious one.

-Chris

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:46 MST