• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Apache crashes at graceful restart

Bart

New Pleskian
Hi,

When apache receives a graceful restart it crashes with the following error:

[Thu May 18 23:18:16 2006] [notice] Graceful restart requested, doing restart
httpd in free(): error: chunk is already free
[Thu May 18 23:18:16 2006] [notice] seg fault or similar nasty error detected in the parent process

I'm running Plesk 8 (without the last patch) on FreeBSD 6.0.

My httpd.conf is straight forward, using prefork MPM. I've also installed Zend Optimizer 3.

Thanks for any input,
Bart
 
I tried the latest patch for Plesk, but it didn't resolve the problem.

I could trace the problem back to PHP. When I commented the LoadModule php4_module, the problem disappeared. This of course disables PHP and I don't want that, so I uncommented the line again..

After that I went to check out the php.ini file, I commented the Zend extensions and now the error disappeared. The problem must be with Zend Optimizer then..

I upgraded Zend Optimizer 3.0.0Beta3 to Zend Optimizer 3.0.0, but the problem persisted.

I got it working though with these parameters in the php.ini file:
[Zend]
;zend_extension_manager.optimizer=/usr/local/psa/Zend/lib/Optimizer-3.0.0
;zend_extension_manager.optimizer_ts=/usr/local/psa/Zend/lib/Optimizer_TS-3.0.0
zend_optimizer.optimization_level=15
zend_optimizer.version=3.0.0
zend_extension=/usr/local/psa/Zend/lib/ZendExtensionManager.so
;zend_extension_ts=/usr/local/psa/Zend/lib/ZendExtensionManager_TS.so

The standard Zend Optimizer php.ini didn't work. I hope somebody finds this useful.

Bart
 
I'm having a similar problem with php5 and no Zend. any ideas?
 
Something interesting i found.

apparently the order in which you load php extensions makes a difference.

some people suggest putting these in the following order at the very bottom of

/usr/local/etc/php/extensions.ini

....
extension=recode.so
extension=mysql.so
extension=imap.so
extension=sockets.so

(you may not have all of these loading, so only reorder the ones you already have)
 
my previous post actually did not help, so don't bother with it.
 
Back
Top