[SQU] squid always restart every a few minutes

From: fei <fyanuar@dont-contact.us>
Date: Mon, 25 Sep 2000 17:10:52 +0700

I got these messages in my cache.log.

    FATAL: xcalloc: Unable to allocate 1 blocks of 8192 bytes!

    Squid Cache (Version 2.2.STABLE5): Terminated abnormally.
    CPU Usage: 612.429 seconds
    Maximum Resident Size: 522020 KB
    Page faults with physical i/o: 2
            total space in arena: 523168 KB
            Total free: 66 KB 0%
    2000/09/25 16:12:36| Not currently OK to rewrite swap log.
    2000/09/25 16:12:36| storeDirWriteCleanLogs: Operation aborted.
    2000/09/25 16:12:46| Starting Squid Cache version 2.2.STABLE5 for
i386-unknown-freebsd3.4...
    2000/09/25 16:12:46| Process ID 65075
    2000/09/25 16:12:46| With 16424 file descriptors available
    2000/09/25 16:12:46| Performing DNS Tests...
    2000/09/25 16:12:46| Successful DNS name lookup tests...
    2000/09/25 16:12:46| helperOpenServers: Starting 32 'dnsserver'
processes
    2000/09/25 16:12:47| Unlinkd pipe opened on FD 41
    2000/09/25 16:12:47| Swap maxSize 76800000 KB, estimated 5907692 objects
    2000/09/25 16:12:47| Target number of buckets: 118153
    2000/09/25 16:12:47| Using 65536 Store buckets, replacement runs every 1
second
    2000/09/25 16:12:47| Max Mem size: 307200 KB
    2000/09/25 16:12:47| Max Swap size: 76800000 KB

I've done to configure everything just like on
http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7 , but still got
problem...

Acctually, it always happens while the SIZE in top command refers to = 513
M, like this:
(SIZE = The size of the task's code plus data plus stack space, in
kilobytes)

last pid: 65259; load averages: 0.86, 0.85, 0.86 up
24+20:28:45 16:59:07
70 processes: 2 running, 68 sleeping
CPU states: 25.3% user, 0.0% nice, 11.7% system, 1.6% interrupt, 61.5%
idle
Mem: 496M Active, 349M Inact, 116M Wired, 38M Cache, 8350K Buf, 1792K Free
Swap: 128M Total, 128M Free

  PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
65223 root 80 0 478M 475M CPU0 1 7:00 84.18% 84.18% squid
  157 root 2 0 824K 476K select 1 26:39 0.00% 0.00% syslogd
  242 root 2 0 1684K 1104K select 0 3:27 0.00% 0.00% httpd

squid always restart while the SIZE value is 513M, any idea?

thanks for any helps

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Sep 25 2000 - 04:16:57 MDT

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