Re: [squid-users] SO_FAIL

From: <squid-users@dont-contact.us>
Date: Fri, 09 Jul 2004 17:39:54 +0200

> actuall i had stable1 and it use to work fine.
> i upgrated to stable5, and got this problem

It seems that I have the same or a very similar problem:

No problems using squid-2.5.STABLE4-20040120 and before. Object are written
on disk and logged with SWAPOUT in store.log.

Using squid-2.5.STABLE5-20040609 or squid-2.5.STABLE6-20040709 there is
always an SO_FAIL entry in store.log and no cache objects are written to
disk. Permissions are not the problem. Debugging shows that Squid
calculated the dirno to -1 (see storeSwapOutStart):

2004/07/09 15:36:46| storeSwapOut: http://ta-nea.dolnet.gr/data/D2004/D0709/2el10c.gif
2004/07/09 15:36:46| storeSwapOut: store_status = STORE_PENDING
2004/07/09 15:36:46| storeSwapOut: mem->inmem_lo = 0
2004/07/09 15:36:46| storeSwapOut: mem->inmem_hi = 115992
2004/07/09 15:36:46| storeSwapOut: swapout.queue_offset = 0
2004/07/09 15:36:46| storeSwapOut: lowest_offset = 105568
2004/07/09 15:36:46| storeSwapOut: swapout_size = 115992
2004/07/09 15:36:46| storeSwapOutStart: Begin SwapOut 'http://ta-nea.dolnet.gr/data/D2004/D0709/2el10c.gif' to dirno -1, fileno FFFFFFFF
2004/07/09 15:36:46| storeSwapMetaBuild: http://ta-nea.dolnet.gr/data/D2004/D0709/2el10c.gif
2004/07/09 15:36:46| storeCreate: no valid swapdirs for this object

There is only one cache_dir entry in the config file:
cache_dir ufs /home/squid/cache 25000 100 256

The configuration file, configure parameters, compiler and operating system
are exactly the same. As I can't found a solution, I made a rollback to
STABLE4.

Operating System: IRIX 6.5.22
System: SGI Origin 200
Compiler: MIPSpro Compilers: Version 7.41

Heiko

Heiko Schlichting | Freie Universität Berlin
heiko@FU-Berlin.DE | Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Telefon +49 30 838-54327 | Fabeckstraße 32
Telefax +49 30 838454327 | 14195 Berlin
Received on Fri Jul 09 2004 - 09:39:55 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT