Subject: Re: pkg/18558: diskd doesn't work in squid
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 10/07/2002 02:50:52
On Sun, Oct 06, 2002 at 11:56:56PM +0200, Wojciech Puchar wrote:
> > Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
> > Subject: Re: pkg/18558: diskd doesn't work in squid
> >
> > On Sun, Oct 06, 2002 at 02:37:55PM -0700, wojtek@tensor.3miasto.net wrote:
> > > trying to use diskd storage type in squid-2.4.7 (from pkgsrc) ends with:
> > >
> > > Oct  6 23:28:57 chylonia squid[774]: storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
> >
> > Maybe number of file descriptors is too low ?
> 
> already 3404!!!!
> 
> > I didn't run into this but got other issues with diskd: is sometimes
> 
> for me it can't do even one request.
> 
> may i miss some feature in kernel config?

Ha yes, you remind me, it's something related to sysV IPCs. I have this in
my kernel config:
options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
options         SYSVSHM         # System V-like memory sharing
#options        SHMMAXPGS=1024  # 1024 pages is the default
options         SHMMAXPGS=8192  # special stuff for squid diskd
options         MSGMNB=16384
options         MSGMNI=41
options         MSGSEG=2048
options         MSGSSZ=64
options         MSGTQL=512

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--