<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,lists<div><br></div><div>    I compile squid 3.3.9 with dports, it's sucessed. But when I start it with smp features, it's reported :</div><div><br></div><div><div>dragonfly# squid -z</div><div>2013/10/22 20:54:17| storeDirWriteCleanLogs: Starting...</div><div>2013/10/22 20:54:17|   Finished.  Wrote 0 entries.</div><div>2013/10/22 20:54:17|   Took 0.00 seconds (  0.00 entries/sec).</div><div>FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied</div></div><div><br></div><div>then I googled and found</div><div><h2 id="Troubleshooting" style="margin-top: 1.5em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0.3em; padding-left: 0px; color: rgb(0, 0, 0); border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); line-height: 1.2em; font-size: 1.6em; font-family: Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">Troubleshooting</h2><span class="anchor" id="line-219" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"></span><span class="anchor" id="line-220" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"></span><div style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); "><br class="webkit-block-placeholder"></div><h3 id="Ipc::Mem::Segment::create_failed_to_shm_open.28.2BAC8-squid-squid-page-pool.shm.29:_.2813.29_Permission_denied" style="margin: 1.5em 0px 0px; padding: 0px 0px 0.3em; color: rgb(0, 0, 0); border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 153); line-height: 1.2em; font-size: 1.3em; font-family: Arial, 'Lucida Grande', sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied</h3><span class="anchor" id="line-221" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"></span><span class="anchor" id="line-222" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"></span><p class="line874" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">On Linux the page pool should "just work". However it is still dependent on the SHM device mapping being initialized.<span class="anchor" id="line-223"></span><span class="anchor" id="line-224"></span></p><p class="line862" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Add the following line to your <strong>/etc/fstab file</strong>:<span class="anchor" id="line-225"></span><span class="anchor" id="line-226"></span><span class="anchor" id="line-227"></span></p><pre style="padding: 0.5em; font-family: courier, monospace; border: 1pt solid rgb(192, 192, 192); background-color: rgb(240, 236, 230); white-space: pre-wrap; word-wrap: break-word; color: rgb(0, 0, 0); font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial;"><span class="anchor" id="line-1"></span>shm        /dev/shm    tmpfs    nodev,nosuid,noexec    0    0</pre><span class="anchor" id="line-228" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"></span><span class="anchor" id="line-229" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"></span><p class="line874" style="color: rgb(0, 0, 0); font-family: Arial, 'Lucida Grande', sans-serif; font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">After that use (as root):<span class="anchor" id="line-230"></span><span class="anchor" id="line-231"></span><span class="anchor" id="line-232"></span></p><pre style="padding: 0.5em; font-family: courier, monospace; border: 1pt solid rgb(192, 192, 192); background-color: rgb(240, 236, 230); white-space: pre-wrap; word-wrap: break-word; color: rgb(0, 0, 0); font-size: 13.600000381469727px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial;"><span class="anchor" id="line-1-1"></span>mount shm</pre><div><br></div></div><div>   It's for linux, but I can't get a clue for how can resolve this problem on dfly. Can somebody kinds help me.</div><div><br></div><div><br></div><div>regards</div><div>Simon</div></body></html>