Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-05-2007, 11:23 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Unhappy 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/ (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.



php5, ubuntu610

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration