Search squid archive

Re: Squid 3.2.0.14 on OpenBSD with >1 workers results in "Cannot fake shared segments in SMP config" errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/01/2012 7:28 p.m., Henri Wahl wrote:
Your system is missing shared memory support.
So this would not work in general on OpenBSD? On the other hand there
are certain SHM-settings on OpenBSD:

kern.sysvshm=1
kern.malloc.kmemnames=.......
kern.malloc.kmemstat.shm=(inuse = 2, calls = 2, memuse = 2K, limblocks =
0, mapblocks = 0, maxused = 2K, limit = 78644K, spare = 0, sizes =
(256,1024))
kern.shminfo.shmmax=33554432
kern.shminfo.shmmin=1
kern.shminfo.shmmni=128
kern.shminfo.shmseg=128
kern.shminfo.shmall=8192

Doesn't this mean there is shared memory support?

Yes it looks like there is in some form. But apparently the POSIX shm_open() function to get access to it is not supported in OpenBSD 3.x and no better signs of it in the more recent ones either. :(

I'm not sure why the "fake" memory access wrappers which are supposed to
take over are failing.
Or should it with the wrappers?

It should be opening regular non-shared memory with the wrappers AFAIK.

Amos


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux