Zend Enabler Error 'Could not locate a free PHP process'

Follow

Applies To:

[ Zend Server 4.x ]
[ Windows 2003 ]

Symptom

While using Zend Server on Windows operating system, the Web application stops responding and the following error appears in ZendEnabler log file:

Error: Could not locate a free PHP process from the "application/x-httpd-php" pool within the 'Connection Timeout'

Resolution / Workaround

This bug was recently found and fixed in Zend Optimizer+ on Windows.
This issue was fixed in Zend Server 4.0.6, however it involves the manual configuration changes described below:

1. Verify the problem is caused by Zend Optimizer+:

Disable Zend Optimizer+ extension and restart Zend Server's PHP. See if the problem still reproduces.

If the problem does not reproduce without Optimizer+, continue to step 2.
If the problem does reproduce, you may be experiencing a different problem for which we need to gather more information.

- To disable Zend Optimizer+ via Zend Server UI go to Server Setup > Components > Optimizer+  and click "Turn off".
Click the "Restart PHP" button to apply the changes.

- To disable Zend Optimizer+ via the Zend Server configuration file, edit the file C:\Program Files\Zend\ZendServer\etc\cfg\optimizerplus.ini  and comment out (add a semicolon to the beginning of the line) starting with:

zend_extension_manager.dir.optimizerplus=[..]

Restart Zend Server's PHP when done.

Uncomment this line to enable Optimizer+ again.

2. Enable Optimizer+ (see details above), and configure Zend Optimizer+ to properly allocate shared memory on Windows2003:

Edit file C:\Program Files\Zend\ZendServer\etc\cfg\optimizerplus.ini
Add the following directive:

zend_optimizerplus.mmap_base=0x20000000

Restart Zend Server's PHP to apply your changes.

If the problem persists, please try the alternative addresses: 0x21000000,
0x30000000, 0x31000000, 0x50000000.

 


Excerpt: While using Zend Server on Windows operating system, the Web application stops responding and the following error appears in ZendEnabler log file: Error: Could not locate a free PHP process from the "application/x-httpd-php" pool within the 'Connection Timeout'


Original Post Date: 2010-10-23 14:09:21

Alternative Description:

Zend Enabler Error 'Could not locate a free PHP process'

_____
Tags: Connection Timeout,free PHP process,MS Windows 2003 Server,MS Windows 7,MS Windows XP,optimizer,optimizerplus.ini,Zend Server,Zend Server 5.x,oldKB

Comments