Re: incomplete loads

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 22 Oct 1999 10:04:29 +0200

Gavan Anderson wrote:
>
> I see that the error regarding "File_Map_Allocate appears to have
> occurred fairly recently going back through the last couple of months
> postings, and it would appear that this is possibly a related problem.

Perhaps.

This error is seen when Squid has many more objects in it's cache than
estimated.

> With a restart, or reboot even, squid appeared to start and run OK, but the problem
> re-occured when someone on a Windows box attempted to access a site. Most of the
> html page text would come down but it would get stuck on the graphics image files
> (jpeg or gif).

True. One you get into the situation where you have many many small
objects on cache then the only way to get back to normal operation is to
lessen store_avg_object_size or clean your cache.

> I had NOT heeded the said warning soon enough.
> Moral: Pays to read your log files judiciously.

Also very true.

> Perhaps Henrik you can enlighten us with more info on this particular variable.

store_avg_object_size is used to estimate how many objects Squid needs
to be able to handle in it's cache.

estimated = cache size / store_avg_object_size

Squid then makes room for twice this amount of objects in one of it's
internal data structures (filemap).

--
Henrik Nordstrom
Squid hacker
Received on Fri Oct 22 1999 - 02:30:28 MDT

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