Re: [PHP] PHP script won't run in the background

2011-11-23 Thread Laruence
Hi: I mean, do you built your php with readline support, or do you load readline.so into PHP? if so, remove it, then try again. and you also can use: gdb --pid={the pid of the stopped php} then you will find where the php hangs. thanks On Wed, Nov 23, 2011 at 1:04 AM, richard gray

[PHP] Question about PHP FPM and shared memory

2011-11-23 Thread Daniel Betz
Hello list, I am trying to start PHP FPM with 2600 worker pools with ondemand processmanager. Each for one domain. The problem is now, that the php-fpm quits with: ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in shared memory: Cannot allocate memory: Cannot allocate

Re: [PHP] Question about PHP FPM and shared memory

2011-11-23 Thread Nilesh Govindarajan
On 11/23/2011 08:25 PM, Daniel Betz wrote: Hello list, I am trying to start PHP FPM with 2600 worker pools with ondemand processmanager. Each for one domain. The problem is now, that the php-fpm quits with: ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in

Re: [PHP] PHP script won't run in the background

2011-11-23 Thread richard gray
On 23/11/2011 11:05, Laruence wrote: Hi: I mean, do you built your php with readline support, or do you load readline.so into PHP? if so, remove it, then try again. and you also can use: gdb --pid={the pid of the stopped php} then you will find where the php hangs. thanks I

Re: [PHP] PHP script won't run in the background

2011-11-23 Thread Alain Williams
On Wed, Nov 23, 2011 at 06:14:07PM +0100, richard gray wrote: Reading symbols for shared libraries + done 0x000101d057ee in __ioctl () Any clues? To me it looks like PHP cli is trying to do some I/O but I'm just a dumb developer... :) ioctl on a tty is typically used to set it into