Re: [squid-users] FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied

2012-09-17 Thread Warren Baker
On Mon, Sep 17, 2012 at 9:44 PM, Holmes, Michael A (Mike)
 wrote:
>
> I just added "workers 4" to my working configuration and I get an shm_open
> error.  I assume it is trying to write to the root directory
> "/squid-squid-page-pool.shm" as the user squid which will fail.
>
> How do I redirect this?
>
> Thanks Mike
>
>
> Squid Cache (Version 3.2.1): Terminated abnormally.
> CPU Usage: 0.060 seconds = 0.040 user + 0.020 sys
> Maximum Resident Size: 18560 KB
> Page faults with physical i/o: 0
> 2012/09/17 15:34:33 kid1| Creating Swap Directories
> 2012/09/17 15:38:02| storeDirWriteCleanLogs: Starting...
> 2012/09/17 15:38:02|   Finished.  Wrote 0 entries.
> 2012/09/17 15:38:02|   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


What OS + version?


-- 
.warren


[squid-users] FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied

2012-09-17 Thread Holmes, Michael A (Mike)
I just added "workers 4" to my working configuration and I get an shm_open 
error.  I assume it is trying to write to the root directory 
"/squid-squid-page-pool.shm" as the user squid which will fail.

How do I redirect this?

Thanks Mike


Squid Cache (Version 3.2.1): Terminated abnormally.
CPU Usage: 0.060 seconds = 0.040 user + 0.020 sys
Maximum Resident Size: 18560 KB
Page faults with physical i/o: 0
2012/09/17 15:34:33 kid1| Creating Swap Directories
2012/09/17 15:38:02| storeDirWriteCleanLogs: Starting...
2012/09/17 15:38:02|   Finished.  Wrote 0 entries.
2012/09/17 15:38:02|   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


Re: [squid-users] FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied

2011-12-15 Thread FredB
- Mail original -
> De: "Will Roberts" 
> À: squid-users@squid-cache.org
> Envoyé: Jeudi 15 Décembre 2011 09:05:17
> Objet: [squid-users] FATAL: Ipc::Mem::Segment::create failed to 
> shm_open(/squid-squid-page-pool.shm): (13) Permission
> denied
>
> Hi,
>
> I'm trying to use Squid 3.2.0.14, but whenever I run squid it exits
> after only printing:
>
> FATAL: Ipc::Mem::Segment::create failed to
> shm_open(/squid-squid-page-pool.shm): (13) Permission denied
>
> For the moment I've switched HAVE_SHM to 0 so I can continue testing,
> but what does the error above mean? Is it an issue with my config?
> Directory permissions somewhere?
>
> I'm running on Debian Squeeze x64, let me know if there's any library
> information that would help.
>
> Thanks,
> --Will
>

You use workers ? please post your squid "--prefix=" parameter


Re: [squid-users] FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied

2011-12-15 Thread Amos Jeffries

On 15/12/2011 9:05 p.m., Will Roberts wrote:

Hi,

I'm trying to use Squid 3.2.0.14, but whenever I run squid it exits 
after only printing:


FATAL: Ipc::Mem::Segment::create failed to 
shm_open(/squid-squid-page-pool.shm): (13) Permission denied


For the moment I've switched HAVE_SHM to 0 so I can continue testing, 
but what does the error above mean? Is it an issue with my config? 
Directory permissions somewhere?


I'm running on Debian Squeeze x64, let me know if there's any library 
information that would help.


Thanks,
--Will


The cache memory map did not get closed and cleaned up properly. I'm not 
sure if we have a solution or anything close to failure recovery in the 
works.


There seems to be a manual workaround though:
http://bugs.squid-cache.org/show_bug.cgi?id=3411#c27

Amos


[squid-users] FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-squid-page-pool.shm): (13) Permission denied

2011-12-15 Thread Will Roberts

Hi,

I'm trying to use Squid 3.2.0.14, but whenever I run squid it exits 
after only printing:


FATAL: Ipc::Mem::Segment::create failed to 
shm_open(/squid-squid-page-pool.shm): (13) Permission denied


For the moment I've switched HAVE_SHM to 0 so I can continue testing, 
but what does the error above mean? Is it an issue with my config? 
Directory permissions somewhere?


I'm running on Debian Squeeze x64, let me know if there's any library 
information that would help.


Thanks,
--Will