[SQU] Squid giving page faults

From: Joel Gerber <joelg@dont-contact.us>
Date: Fri, 18 Aug 2000 17:51:19 -0400

I'm getting an enormous amount of page faults with squid on my
Slackware Linux machine running kernel 2.4.0-test6 with glibc2.1

It seems to happen after squid has been running for an average of
10-20 seconds or so. I can hit like one or two sites utilizing my
proxy server and then it dies. Can anyone help me figure out what
is causing this? My logs for the page fault is available below.

2000/08/18 17:08:35| Starting Squid Cache version 2.3.STABLE3 for i586-pc-linux-gnu...
2000/08/18 17:08:35| Process ID 7260
2000/08/18 17:08:35| With 1024 file descriptors available
2000/08/18 17:08:35| Performing DNS Tests...
2000/08/18 17:08:35| Successful DNS name lookup tests...
2000/08/18 17:08:35| DNS Socket created on FD 5
2000/08/18 17:08:35| Adding nameserver 209.167.188.20 from /etc/resolv.conf
2000/08/18 17:08:35| Adding nameserver 209.167.188.10 from /etc/resolv.conf
2000/08/18 17:08:35| Adding nameserver 209.167.105.10 from /etc/resolv.conf
2000/08/18 17:08:35| Unlinkd pipe opened on FD 10
2000/08/18 17:08:35| Swap maxSize 102400 KB, estimated 7876 objects
2000/08/18 17:08:35| Target number of buckets: 157
2000/08/18 17:08:35| Using 8192 Store buckets
2000/08/18 17:08:35| Max Mem size: 8192 KB
2000/08/18 17:08:35| Max Swap size: 102400 KB
2000/08/18 17:08:35| Rebuilding storage in /var/lib/squid/cache-01 (CLEAN)
2000/08/18 17:08:35| Set Current Directory to /var/lib/squid/cache-01
2000/08/18 17:08:35| Loaded Icons.
2000/08/18 17:08:35| Accepting HTTP connections at 0.0.0.0, port 3128, FD 12.
2000/08/18 17:08:35| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2000/08/18 17:08:35| Accepting SNMP messages on port 3401, FD 14.
2000/08/18 17:08:35| WCCP Disabled.
2000/08/18 17:08:35| Pinger socket opened on FD 16
2000/08/18 17:08:35| Ready to serve requests.
2000/08/18 17:08:35| Done reading /var/lib/squid/cache-01 swaplog (23 entries)
2000/08/18 17:08:35| Finished rebuilding storage from disk.
2000/08/18 17:08:35| 23 Entries scanned
2000/08/18 17:08:35| 0 Invalid entries.
2000/08/18 17:08:35| 0 With invalid flags.
2000/08/18 17:08:35| 23 Objects loaded.
2000/08/18 17:08:35| 0 Objects expired.
2000/08/18 17:08:35| 0 Objects cancelled.
2000/08/18 17:08:35| 0 Duplicate URLs purged.
2000/08/18 17:08:35| 0 Swapfile clashes avoided.
2000/08/18 17:08:35| Took 0.0 seconds ( 23.0 objects/sec).
2000/08/18 17:08:35| Beginning Validation Procedure
2000/08/18 17:08:36| Completed Validation Procedure
2000/08/18 17:08:36| Validated 23 Entries
2000/08/18 17:08:36| store_swap_size = 73k
2000/08/18 17:08:36| storeLateRelease: released 0 objects
2000/08/18 17:09:34| icmpRecv: recv: (111) Connection refused
2000/08/18 17:09:34| Closing Pinger socket on FD 16
FATAL: Received Segment Violation...dying.
2000/08/18 17:09:35| storeDirWriteCleanLogs: Starting...
2000/08/18 17:09:35| WARNING: Closing open FD 12
2000/08/18 17:09:35| Finished. Wrote 23 entries.
2000/08/18 17:09:35| Took 0.0 seconds (17871.0 entries/sec).
CPU Usage: 0.190 seconds = 0.100 user + 0.090 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 320
Memory usage for squid via mallinfo():
total space in arena: 2216 KB
Ordinary blocks: 2182 KB 12 blks
Small blocks: 0 KB 0 blks
Holding blocks: 176 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 34 KB

From: Joel Gerber <joelg@pentaventures.com>
------------------------------------------------------------------
Deuteronomy 32:4 - He is the Rock, His work is perfect: for all
His ways are judgment: a God of truth and without iniquity, just
and right is He.
------------------------------------------------------------------

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Aug 18 2000 - 13:53:06 MDT

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