> -----Original Message-----
> From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 18, 2005 4:56 AM
> To: Steven Wilton
> Cc: 'Squid Developers'
> Subject: RE: Memory usage fix (patch)
> 
> On Thu, 17 Mar 2005, Steven Wilton wrote:
> 
> > The problem is that once squid starts hitting swap we start getting
> > complaints.  We have also noticed that certain clients have 
> an unusual usage
> > pattern that seems to cause squid to ue lots of memory, 
> obviously bypassing
> > the checks in fwdCheckDefer.  I'll see if I can track this down.
> 
> Either your use of the defer function is not working, or you 
> have clients 
> triggering the race condition I indicated yesterday when the original 
> client disconnects from the request.
> 

You're correct, the defer function was not being used correctly.  The
problem was that enabling it caused a big increase in the CPU usage of
squid.  I think I've come up with an acceptable solution (CPU usage
increases with network i/o).  I'll update the epoll-2_5 tree with this
change.

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005
 

Reply via email to