Subject: Re: problem with squid/diskd
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: current-users
Date: 11/10/2001 15:30:50
>>>>> "Manuel" == Manuel Bouyer <bouyer@antioche.eu.org> writes:

    Manuel> Being interested by the diskd feature I updated squid to
    Manuel> the last pkgsrc version. The machine is a i386 running
    Manuel> NetBSD 1.5.2 Now the problem is that squid doens't work
    Manuel> properly with diskd: when loading a page with lots of
    Manuel> small images (like www.redhat.com) some images can't be
    Manuel> loaded (an error is returned to the browser, and the
    Manuel> browser display the broken image icon instead). In the log
    Manuel> I get lots of: storeDiskdSend OPEN: (35) Resource
    Manuel> temporarily unavailable storeDiskdSend: msgsnd: (35)
    Manuel> Resource temporarily unavailable

It's long ago, but adding the following parms to my kernel config
solved the problem for me:

  options         MSGMNB=16384    # special stuff for squid diskd
  options         MSGMNI=41
  options         MSGSEG=2049
  options         MSGSSZ=64
  options         MSGTQL=512

Standard kernel limits for SYSVMSG etc. are too low.

    Manuel> Before I start looking at this seriously, does anyone got
    Manuel> this problem and has a solution, or an idea ?

Hopefully, Markus.