[phpa] Re: shared mem problems

Hi,

This will still be a configuration issue of some sort. You should
follow the procedure on http://phpa.co.uk/server_hang.php and then
verify the ownership of the semaphores using ipcs.

Another cause can be installing phpa for the wrong glibc. Doing this
will give incorrect ownership and permissions on the shm/sem resources
due to differences in glibc.

Please send an email to support@xxxxxxxxxx if you still have problems
after checking the above.

nick


>
>
> I am having troubles using phpa. After apache starts I get a bunch of
> these in my error log:
>
> (I have verified the settings for shm_user/shm_group, they are both
set
> to "apache" - the user that runs HTTPD. I have tried putting the word
> apache both unquoted and in double quotes)
>
> [Wed Jul 10 18:20:58 2002] [notice-phpa] PHPA 1.3.1pre3 on
> linux_glibc2.2.4 (pid 10416)
> [Wed Jul 10 18:20:58 2002] [notice-phpa] Initialised 8MB cache at
> 0x4070c000 with 512 process entries (pid 10416)
> [Wed Jul 10 18:20:58 2002] [notice] Apache/1.3.14 (Unix)
> (Red-Hat/Linux)  mod_ssl/2.7.1 OpenSSL/0.9.6 mod_perl/1.21 PHP/4.2.1
> Apache
> JServ/1.1.2 configured -- resuming normal operations
> [Wed Jul 10 18:20:58 2002] [warn-phpa] failed to get lock -
Permission
> denied (pid 10421)
> [Wed Jul 10 18:20:59 2002] [notice-phpa] 28 cache files removed from
> /tmp  (pid 10421)
> [Wed Jul 10 18:21:06 2002] [warn-phpa] failed to get lock -
Permission
> denied (pid 10608)
> [Wed Jul 10 18:21:06 2002] [notice-phpa] Cache shared memory removed
> (pid  10608)
> [Wed Jul 10 18:21:06 2002] [notice-phpa] Cache semaphores removed
(pid
> 10608)
> [Wed Jul 10 18:21:24 2002] [warn-phpa] failed to get lock - Invalid
> argument (pid 10770)
> [Wed Jul 10 18:21:24 2002] [notice-phpa] Cache shared memory removed
> (pid  10770)
>
> any help?
>
>
------------------------------------------------------------------------
>  www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
> unsubscribe



------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: