[phpa] Re: Bug in phpa 1.3.1pre3 for PHP4.1.1 (glibc 2.2.4)??

  • From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
  • To: <simon.lee@xxxxxxxxxxxxxxx>
  • Date: Fri, 12 Jul 2002 11:41:54 -0000 ()

Hi Simon,

This is not a bug, but a configuration error in your setup.

You need to set shm_user and shm_group to be the same user id that
apache is using. Having done this, please read the information at
http://phpa.co.uk/server_hang.php

Please also be sure to *not* use single quotes around the user and
group id because php treats those as part of the token and not as
delimiters.

nick


>
> Hi,
>
> Just wondering if anyone else is getting this error msg which started
> popping up yesterday. Everything has been running smoothly for a
couple
> of months until yesterday. Details below....
>
> ipcs gives this......my web account runs off a virtual server, and my
> virtual root user is 'admin'. 'root' as you can see below is the root
> user of the WHOLE system itself, so I can't delete that semaphore.
>
> ------ Semaphore Arrays --------
> key        semid      owner      perms      nsems      status
> 0x0053a611 18284567   admin     600        17
> 0x0053a612 18317343   admin     600        17
> 0x0053a613 18350112   admin     600        17
> 0x0c0deb00 22413354   root      666        3
> 0x00539a59 16646196   admin     600        17
> 0x00539a5a 16678973   admin     600        17
> 0x00539a5b 16711742   admin     600        17
> 0x0053a229 22151231   admin     600        17
> 0x0053a22a 22184000   admin     600        17
> 0x0053a22b 22216769   admin     600        17
>
> Apache error log as below.......there were lots of files expiring....
>
>
> [Fri Jul 12 02:22:24 2002] [notice-phpa] Entry
> /usr/local/home/httpd/vhtdocs/XXXXXXXXXXXX expired (pid 15946)
> [Fri Jul 12 04:03:26 2002] [notice] SIGUSR1 received.  Doing graceful
> restart
> [Fri Jul 12 04:03:26 2002] [warn-phpa] release_shm_cache failed to
> delete - Operation not permitted (pid 15948)
> [Fri Jul 12 04:03:26 2002] [warn-phpa] Failed to remove sems -
> Operation not permitted (pid 15948)
>
>
> Any help would be appreciated!!
> _________
> Simon Lee
>
>                --- LeapForward ---
> creative intelligence for the networked economy
>
>     167a Clapham High Street, London SW4 7SS
>            t: +44(0)70 9234 1503
>            f: +44(0)70 9234 1787
>
>            e: simon.lee@xxxxxxxxxxxxxxx
>               www.leapforward.net
>
>
------------------------------------------------------------------------
>  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: