squid3 smp problem

k simon chio1990 at gmail.com
Mon Oct 21 23:10:13 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20131022/175505fd/attachment-0013.html>


More information about the Users mailing list