LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   pecl_http instablility (http://www.linuxquestions.org/questions/linux-software-2/pecl_http-instablility-574875/)

nickjqw 08-05-2007 12:23 PM

pecl_http instablility
 
Hi All,

This might not be the best place to ask this, but there doesn't seem to be a pecl_http mailing list or news group, so why not?

Have any of you used pecl_http successfully under apache? Whenever I install it on an Ubuntu server, restarting apache with /etc/init.d/apache2 reload fails. By fail I mean it gives an "[OK]", but if you do a ps -ef | grep apache you will see either no processes running, defunct processes, or only one process that refuses to die. If there is one process left you must kill it with a -s 9, then restart apache to get things going again (/etc/init.d/apache2 start).

If I force-reload it will work about 50% of the time. After I get it going, it will last a day or two, then crash. I've tried using both version 1.5.4 and 1.5.3, both with the same problem. If I re-compile the extension without cURL support, the problem goes away, but we need cURL support... any Ideas?

Just before the "crash" I get this in the log, as if someone did apachectl stop:
[Sun Aug 05 13:25:41 2007] [info] removed PID file /var/run/apache2.pid (pid=3686)
[Sun Aug 05 13:25:41 2007] [notice] caught SIGTERM, shutting down

Then one last apache2 service is running, which has to be killed -9 before apache can be restarted:
root 3686 1 0 Aug04 ? 00:00:01 /usr/sbin/apache2 -k start -DSSL

I've all but given up and have asked the developer to look at alternatives to using this package.

Thanks,
Nick


All times are GMT -5. The time now is 11:55 PM.