On 10/14/05, Johan Fredin <[EMAIL PROTECTED]> wrote: > Hello People, > > I've just setup a squid proxy at a local school. It's been humming along > fine for two weeks now. Today it started to work rather sporadically. > > I'm using squid-2.5.STABLE10-transparent from ports, on an OpenBSD > snapshot from 1st september (too be upgraded to -stable on Nov 1st). > > /var/squid/logs/cache.log tells me this: > > 2005/10/14 08:56:55| storeDiskdSend OPEN: (35) Resource temporarily > unavailable > 2005/10/14 08:56:55| storeDiskdSend: msgsnd: (35) Resource temporarily > unavailable > > So for some reason diskd is choking. Through google I found this thread, > discussing the same symptoms: > > http://squid.bilkent.edu.tr/mail-archive/squid-users/200212/0354.html > > As told there, it's problably IPC settings that should be adjusted. The > squid FAQ tells me to fiddle in the kernel config: > > http://www.squid-cache.org/Doc/FAQ/FAQ-22.html#ss22.6 > > But since GENERIC is holy for me, I'd rather not poke around and have to > run a custom kernel. Is there any other way to change these values? > > With config -e /bsd I found that SHMSEG and SHMMAXPGS could be changed, > but I'm not sure these are the ones I should touch? In sysctl there > seems to be a bunch of values in kern.seminfo. But again, those are not > named like the values in the squid FAQ.
man 3 sysctl, then find the values that match up. not all systems have the same set of knobs or call them the same, but there's no need to change all of them.