i´m using squid in a 64bit and having problems with memory like this: 2006/11/13 14:10:25| WARNING: Memory usage at 1016 MB 2006/11/13 14:10:34| storeDirClean: /var/spool/squid2/07/167: (12) Cannot allocate memory 2006/11/13 14:10:49| storeDirClean: /var/spool/squid1/08/167: (12) Cannot allocate memory 2006/11/13 14:11:04| storeDirClean: /var/spool/squid2/08/167: (12) Cannot allocate memory 2006/11/13 14:11:49| storeDirClean: /var/spool/squid1/0A/167: (12) Cannot allocate memory FATAL: xcalloc: Unable to allocate 1062 blocks of 1 bytes! Squid Cache (Version 2.6.STABLE5): Terminated abnormally. CPU Usage: 15311.573 seconds = 5663.726 user + 9647.847 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Memory usage for squid via mallinfo(): total space in arena: 1041368 KB Ordinary blocks: 1038353 KB 21006 blks Small blocks: 0 KB 0 blks Holding blocks: 38880 KB 11 blks Free Small blocks: 0 KB Free Ordinary blocks: 3014 KB Total in use: 1077233 KB 100% Total free: 3014 KB 0% 2006/11/13 14:11:49| storeDirWriteCleanLogs: Starting... 2006/11/13 14:11:49| WARNING: Closing open FD 15 2006/11/13 14:11:49| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=15: (1) Operation not permitted squid process cannot grows 1016MB of ram !!! (server has 2.5 gb of total memory) ... has some way to compile squid in 32bits on a system 64bits ? On 11/13/06, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
mån 2006-11-13 klockan 18:04 -0500 skrev Nguyen, Khanh, INFOT: > Has anyone used squid on 64 bit OS (Sun or Linux)? And if you are aware > of any bug or shortcoming of squid on the 64 but OS? Or it works as > normal. No significant problems known with Squid-2.6. There is some cosmetic issues like the mallinfo memory usage in the general runtime information page gets all screwed up if the process size grows beyond 2GB but thats a libc issue and not much Squid can do about.. and also not really unique to 64-bit.. Also the memory usage over all is slightly larger in 64-bit than 32-bit due to the larger pointer size and larger structure padding, but if you need to run a big Squid this is quickly outweighted by the fact that there is no limit in process size. Regards Henrik
-- Sds. Alexandre J. Correa Onda Internet / OPinguim.net http://www.ondainternet.com.br http://www.opinguim.net