Hi all,
I run cache using squid2.4-STABLE7
2002/10/23 14:59:03| Starting Squid Cache version 2.4.STABLE7 for
i686-pc-linux-gnu...
2002/10/23 14:59:03| Process ID 6542
2002/10/23 14:59:03| With 8192 file descriptors available
I've been bugged with the following errors where squid kept restarting
multiple times in a day. I've not have this until recently after runing
with this setup for 3-6 mths, guessed I'm still new to get squid stable over
a period of time. Pls advise. thks.
In /var/log/cache.log
2002/10/23 07:49:55| clientReadRequest: FD 98 Invalid Request
FATAL: Received Segment Violation...dying.
2002/10/23 07:56:14| storeDirWriteCleanLogs: Starting...
2002/10/23 15:52:49| WARNING: newer swaplog entry for dirno 1, fileno
001F54B9
2002/10/23 15:52:49| WARNING: newer swaplog entry for dirno 1, fileno
001F54D8
2002/10/23 15:52:50| Done reading /cdata2 swaplog (2134217 entries)
2002/10/23 15:52:50| Store rebuilding is 86.3% complete
2002/10/23 15:52:53| WARNING: newer swaplog entry for dirno 0, fileno
001F5B4E
2002/10/23 15:52:56| WARNING: newer swaplog entry for dirno 0, fileno
001F7617
2002/10/23 15:52:56| WARNING: newer swaplog entry for dirno 0, fileno
001F7975
2002/10/23 15:52:56| WARNING: newer swaplog entry for dirno 0, fileno
001F7BEA
2002/10/23 15:52:56| WARNING: newer swaplog entry for dirno 0, fileno
001F7EA4
2002/10/23 15:52:56| WARNING: newer swaplog entry for dirno 0, fileno
001FCB20
In /var/log/messages
Oct 23 15:43:24 squidhost out of memory [6542
Oct 23 15:43:24 squidhost squid[1143]: Squid Parent: child process 6542
exited with status 1
Oct 23 15:43:27 squidhost squid[1143]: Squid Parent: child process 6728
started
I shld have enough memory to run squid
free -m
total used free shared buffers cached
Mem: 2263 2258 4 0 501 774
-/+ buffers/cache: 981 1281
Swap: 4094 0 4093
my squid.conf file:-
cache_mem 400 MB
cache_swap_low 95
cache_swap_high 98
maximum_object_size 16 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 100 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
cache_dir diskd /cdata1 cache_size
Rgds,
Irwin.S
_________________________________________________________________
Get faster connections�-- switch to�MSN Internet Access!
http://resourcecenter.msn.com/access/plans/default.asp
Received on Thu Oct 24 2002 - 20:57:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:54 MST