Hello. I would like to know what's wrong with squid 3.1.0.14. I have squid installed with ecap enabled and is crashing very often even though it restarts itself. I contacted the libecap author and he claims there's a bug in this squid's version. I don't know if is really true but, wanted to share this with the list. Here's what cache.log shows: (squid)(death+0x4b)[0x818b8cb] [0xb7f67420] /usr/local/lib/ecap_adapter_gzip.so(_ZN7Adapter7Xaction17noteVbContentDoneEb+0x61)[0xb7ab0411] (squid)(_ZN10Adaptation4Ecap10XactionRep23noteBodyProductionEndedE8RefCountI8BodyPipeE+0x61)[0x81fdd61] (squid)(_ZN12UnaryMemFunTI12BodyConsumer8RefCountI8BodyPipeEE6doDialEv+0x48)[0x80f1208] (squid)(_ZN9JobDialer4dialER9AsyncCall+0x51)[0x8199661] (squid)(_ZN10AsyncCallTI18BodyConsumerDialerE4fireEv+0x18)[0x80f1138] (squid)(_ZN9AsyncCall4makeEv+0x17b)[0x819888b] (squid)(_ZN14AsyncCallQueue8fireNextEv+0xf9)[0x819b4a9] (squid)(_ZN14AsyncCallQueue4fireEv+0x28)[0x819b5a8] (squid)(_ZN9EventLoop13dispatchCallsEv+0x13)[0x81096c3] (squid)(_ZN9EventLoop7runOnceEv+0xf6)[0x81098b6] (squid)(_ZN9EventLoop3runEv+0x28)[0x8109988] (squid)(_Z9SquidMainiPPc+0x4b5)[0x8151e75] (squid)(main+0x27)[0x81522f7] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8)[0xb7caeea8] (squid)(__gxx_personality_v0+0x155)[0x80bd081] FATAL: Received Segment Violation...dying. 2009/11/18 17:20:19| storeDirWriteCleanLogs: Starting... 2009/11/18 17:20:19| WARNING: Closing open FD 16 2009/11/18 17:20:19| 65536 entries written so far. 2009/11/18 17:20:19| 131072 entries written so far. 2009/11/18 17:20:19| 196608 entries written so far. 2009/11/18 17:20:19| Finished. Wrote 202205 entries. 2009/11/18 17:20:19| Took 0.09 seconds (2268958.01 entries/sec). CPU Usage: 2.776 seconds = 2.028 user + 0.748 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Memory usage for squid via mallinfo(): total space in arena: 4320 KB Ordinary blocks: 4160 KB 52 blks Small blocks: 0 KB 1 blks Holding blocks: 20700 KB 86 blks Free Small blocks: 0 KB Free Ordinary blocks: 159 KB Total in use: 24860 KB 575% Total free: 159 KB 4% 2009/11/18 17:20:22| Starting Squid Cache version 3.1.0.14 for i686-pc-linux-gnu... 2009/11/18 17:20:22| Process ID 22226 2009/11/18 17:20:22| With 1024 file descriptors available 2009/11/18 17:20:22| Initializing IP Cache... 2009/11/18 17:20:22| DNS Socket created at [::], FD 7 2009/11/18 17:20:22| Adding nameserver 196.3.81.5 from squid.conf 2009/11/18 17:20:22| Adding nameserver 200.88.127.22 from squid.conf 2009/11/18 17:20:22| Adding nameserver 196.3.81.132 from squid.conf 2009/11/18 17:20:22| Unlinkd pipe opened on FD 12 2009/11/18 17:20:22| Swap maxSize 10240000 + 524288 KB, estimated 224256 objects 2009/11/18 17:20:22| Target number of buckets: 11212 2009/11/18 17:20:22| Using 16384 Store buckets 2009/11/18 17:20:22| Max Mem size: 524288 KB 2009/11/18 17:20:22| Max Swap size: 10240000 KB 2009/11/18 17:20:22| Version 1 of swap file with LFS support detected... 2009/11/18 17:20:22| Rebuilding storage in /var/log/squid3.1/cache (CLEAN) 2009/11/18 17:20:22| Using Round Robin store dir selection 2009/11/18 17:20:22| Current Directory is /home/landysaccount 2009/11/18 17:20:22| Loaded Icons. 2009/11/18 17:20:22| Accepting intercepted HTTP connections at 172.16.0.1:3128, FD 16. 2009/11/18 17:20:22| HTCP Disabled. 2009/11/18 17:20:22| loading Squid module from '/usr/local/lib/ecap_adapter_gzip.so' 2009/11/18 17:20:22| Squid modules loaded: 1 2009/11/18 17:20:22| Adaptation support is on 2009/11/18 17:20:22| Ready to serve requests. 2009/11/18 17:20:22| Store rebuilding is 2.03% complete 2009/11/18 17:20:24| Done reading /var/log/squid3.1/cache swaplog (202205 entries) 2009/11/18 17:20:24| Finished rebuilding storage from disk. 2009/11/18 17:20:24| 202205 Entries scanned 2009/11/18 17:20:24| 0 Invalid entries. 2009/11/18 17:20:24| 0 With invalid flags. 2009/11/18 17:20:24| 202205 Objects loaded. 2009/11/18 17:20:24| 0 Objects expired. 2009/11/18 17:20:24| 0 Objects cancelled. 2009/11/18 17:20:24| 0 Duplicate URLs purged. 2009/11/18 17:20:24| 0 Swapfile clashes avoided. 2009/11/18 17:20:24| Took 1.72 seconds (117266.86 objects/sec). 2009/11/18 17:20:24| Beginning Validation Procedure 2009/11/18 17:20:24| 262144 Entries Validated so far. 2009/11/18 17:20:24| Completed Validation Procedure 2009/11/18 17:20:24| Validated 404423 Entries 2009/11/18 17:20:24| store_swap_size = 5977592 2009/11/18 17:20:24| storeLateRelease: released 0 objects (squid)(death+0x4b)[0x818b8cb] [0xb7f33420] /usr/local/lib/ecap_adapter_gzip.so(_ZN7Adapter7Xaction17noteVbContentDoneEb+0x61)[0xb7a7c411] (squid)(_ZN10Adaptation4Ecap10XactionRep23noteBodyProductionEndedE8RefCountI8BodyPipeE+0x61)[0x81fdd61] (squid)(_ZN12UnaryMemFunTI12BodyConsumer8RefCountI8BodyPipeEE6doDialEv+0x48)[0x80f1208] (squid)(_ZN9JobDialer4dialER9AsyncCall+0x51)[0x8199661] (squid)(_ZN10AsyncCallTI18BodyConsumerDialerE4fireEv+0x18)[0x80f1138] (squid)(_ZN9AsyncCall4makeEv+0x17b)[0x819888b] (squid)(_ZN14AsyncCallQueue8fireNextEv+0xf9)[0x819b4a9] (squid)(_ZN14AsyncCallQueue4fireEv+0x28)[0x819b5a8] (squid)(_ZN9EventLoop13dispatchCallsEv+0x13)[0x81096c3] (squid)(_ZN9EventLoop7runOnceEv+0xf6)[0x81098b6] (squid)(_ZN9EventLoop3runEv+0x28)[0x8109988] (squid)(_Z9SquidMainiPPc+0x4b5)[0x8151e75] (squid)(main+0x27)[0x81522f7] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8)[0xb7c7aea8] (squid)(__gxx_personality_v0+0x155)[0x80bd081] FATAL: Received Segment Violation...dying. 2009/11/18 17:23:10| storeDirWriteCleanLogs: Starting... 2009/11/18 17:23:10| WARNING: Closing open FD 16 2009/11/18 17:23:10| 65536 entries written so far. 2009/11/18 17:23:10| 131072 entries written so far. 2009/11/18 17:23:10| 196608 entries written so far. 2009/11/18 17:23:10| Finished. Wrote 202291 entries. 2009/11/18 17:23:10| Took 0.10 seconds (1986497.50 entries/sec). CPU Usage: 3.676 seconds = 2.592 user + 1.084 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Memory usage for squid via mallinfo(): total space in arena: 4980 KB Ordinary blocks: 4804 KB 50 blks Small blocks: 0 KB 1 blks Holding blocks: 22200 KB 98 blks Free Small blocks: 0 KB Free Ordinary blocks: 175 KB Total in use: 27004 KB 542% Total free: 175 KB 4% 2009/11/18 17:23:13| Starting Squid Cache version 3.1.0.14 for i686-pc-linux-gnu... 2009/11/18 17:23:13| Process ID 22323 2009/11/18 17:23:13| With 1024 file descriptors available 2009/11/18 17:23:13| Initializing IP Cache... 2009/11/18 17:23:13| DNS Socket created at [::], FD 7 2009/11/18 17:23:13| Adding nameserver 196.3.81.5 from squid.conf 2009/11/18 17:23:13| Adding nameserver 200.88.127.22 from squid.conf 2009/11/18 17:23:13| Adding nameserver 196.3.81.132 from squid.conf 2009/11/18 17:23:13| Unlinkd pipe opened on FD 12 2009/11/18 17:23:13| Swap maxSize 10240000 + 524288 KB, estimated 224256 objects 2009/11/18 17:23:13| Target number of buckets: 11212 2009/11/18 17:23:13| Using 16384 Store buckets 2009/11/18 17:23:13| Max Mem size: 524288 KB 2009/11/18 17:23:13| Max Swap size: 10240000 KB 2009/11/18 17:23:13| Version 1 of swap file with LFS support detected... 2009/11/18 17:23:13| Rebuilding storage in /var/log/squid3.1/cache (CLEAN) 2009/11/18 17:23:13| Using Round Robin store dir selection 2009/11/18 17:23:13| Current Directory is /home/landysaccount 2009/11/18 17:23:13| Loaded Icons. 2009/11/18 17:23:13| Accepting intercepted HTTP connections at 172.16.0.1:3128, FD 16. 2009/11/18 17:23:13| HTCP Disabled. 2009/11/18 17:23:13| loading Squid module from '/usr/local/lib/ecap_adapter_gzip.so' 2009/11/18 17:23:13| Squid modules loaded: 1 2009/11/18 17:23:13| Adaptation support is on 2009/11/18 17:23:13| Ready to serve requests. 2009/11/18 17:23:13| Store rebuilding is 2.02% complete 2009/11/18 17:23:15| Done reading /var/log/squid3.1/cache swaplog (202291 entries) 2009/11/18 17:23:15| Finished rebuilding storage from disk. 2009/11/18 17:23:15| 202291 Entries scanned 2009/11/18 17:23:15| 0 Invalid entries. 2009/11/18 17:23:15| 0 With invalid flags. 2009/11/18 17:23:15| 202291 Objects loaded. 2009/11/18 17:23:15| 0 Objects expired. 2009/11/18 17:23:15| 0 Objects cancelled. 2009/11/18 17:23:15| 0 Duplicate URLs purged. 2009/11/18 17:23:15| 0 Swapfile clashes avoided. 2009/11/18 17:23:15| Took 1.87 seconds (107930.90 objects/sec). 2009/11/18 17:23:15| Beginning Validation Procedure 2009/11/18 17:23:15| 262144 Entries Validated so far. 2009/11/18 17:23:15| Completed Validation Procedure 2009/11/18 17:23:15| Validated 404595 Entries 2009/11/18 17:23:15| store_swap_size = 5978376 2009/11/18 17:23:15| storeLateRelease: released 0 objects (squid)(death+0x4b)[0x818b8cb] [0xb7f0d420] /usr/local/lib/ecap_adapter_gzip.so(_ZN7Adapter7Xaction17noteVbContentDoneEb+0x61)[0xb7a56411] (squid)(_ZN10Adaptation4Ecap10XactionRep23noteBodyProductionEndedE8RefCountI8BodyPipeE+0x61)[0x81fdd61] (squid)(_ZN12UnaryMemFunTI12BodyConsumer8RefCountI8BodyPipeEE6doDialEv+0x48)[0x80f1208] (squid)(_ZN9JobDialer4dialER9AsyncCall+0x51)[0x8199661] (squid)(_ZN10AsyncCallTI18BodyConsumerDialerE4fireEv+0x18)[0x80f1138] (squid)(_ZN9AsyncCall4makeEv+0x17b)[0x819888b] (squid)(_ZN14AsyncCallQueue8fireNextEv+0xf9)[0x819b4a9] (squid)(_ZN14AsyncCallQueue4fireEv+0x28)[0x819b5a8] (squid)(_ZN9EventLoop13dispatchCallsEv+0x13)[0x81096c3] (squid)(_ZN9EventLoop7runOnceEv+0xf6)[0x81098b6] (squid)(_ZN9EventLoop3runEv+0x28)[0x8109988] (squid)(_Z9SquidMainiPPc+0x4b5)[0x8151e75] (squid)(main+0x27)[0x81522f7] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8)[0xb7c54ea8] (squid)(__gxx_personality_v0+0x155)[0x80bd081] FATAL: Received Segment Violation...dying.