squid3 smp problem
Matthew Dillon
dillon at apollo.backplane.com
Tue Oct 22 18:59:47 PDT 2013
That looks like something *very* linux-specific. There are tons
of ways of doing shared memory that are portable, I don't know why
squid isn't using them. You'd have to investigate squid's configuration
file / documentation to determine if it is possible to specify the
pool some other way.
-Matt
:Hi,lists
:
: I compile squid 3.3.9 with dports, it's sucessed. But when I start =
:it with smp features, it's reported :
:
:dragonfly# squid -z
:2013/10/22 20:54:17| storeDirWriteCleanLogs: Starting...
:2013/10/22 20:54:17| Finished. Wrote 0 entries.
:2013/10/22 20:54:17| Took 0.00 seconds ( 0.00 entries/sec).
:FATAL: Ipc::Mem::Segment::create failed to =
:shm_open(/squid-squid-page-pool.shm): (13) Permission denied
:
:then I googled and found
:Troubleshooting
:
:Ipc::Mem::Segment::create failed to =
:shm_open(/squid-squid-page-pool.shm): (13) Permission denied
:On Linux the page pool should "just work". However it is still dependent =
:on the SHM device mapping being initialized.
:
:Add the following line to your /etc/fstab file:
:
:shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
:After that use (as root):
:
:mount shm
:
: It's for linux, but I can't get a clue for how can resolve this =
:problem on dfly. Can somebody kinds help me.
:
:regards
:Simon=
More information about the Users
mailing list