[squid-users] High CPU load; debug log shows tight loop: storeDiskdDirRebuildFromSwapLog ... new_StoreEntry ... storeDirSwapLog ... diskHandleWrite

From: Guy Bashkansky <guybas_at_gmail.com>
Date: Thu, 7 Jan 2010 12:18:35 -0800

I'm observing very high Squid CPU load, which negatively affects performance.

Enabling debug_options ALL,9 for a few seconds shows this extremely
frequent loop -- Squid is doing only this millions of times:

2010/01/07 12:29:23| storeDiskdDirRebuildFromSwapLog: SWAP_LOG_ADD
11627CB9B6##########243670258F67 0015##1B
2010/01/07 12:29:23| storeGet: looking up 11627CB9B6##########243670258F67
2010/01/07 12:29:23| storeDiskdAddDiskRestore:
11627CB9B6##########243670258F67, fileno=0015##1B
2010/01/07 12:29:23| new_StoreEntry: returning 0x8ac##00
2010/01/07 12:29:23| storeHashInsert: Inserting Entry 0x8ac##00 key
'11627CB9B6##########243670258F67'
2010/01/07 12:29:23| storeDiskdDirReplAdd: added node 0x8ac##00 to dir 0
2010/01/07 12:29:23| storeDirSwapLog: SWAP_LOG_ADD
11627CB9B6##########243670258F67 0 0015##1B
2010/01/07 12:29:23| diskHandleWrite: FD 8
2010/01/07 12:29:23| diskHandleWrite: FD 8 writing 193 bytes
2010/01/07 12:29:23| diskHandleWrite: FD 8 len = 193

Any idea what might cause this?
Received on Thu Jan 07 2010 - 20:19:02 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 08 2010 - 12:00:02 MST