Re: Apache HTTPD not responding after running for several days

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yann and all,

Understood that Apr-1.6.3 had a bug in Solaris, I compiled Apache 2.4.34 with apr-1.6.2 and apr-util-1.6.0 , but the problem still occurred.

OS: Solaris 10 and 11  (no problem on Redhat 6.7)
Symptom:

Upon starting, the HTTPDs initially run fine. After running for several days, HTTPD would stop responding. It wouldn't accept any new connections although the processes are running. In the whole period the incoming traffic volumn is low.
When in the "not responding" situation, stopping and then starting the HTTPD would workaround the issue temporarily.


The symptoms are:
1. About 5 HTTPD processes are still running (checked by the "ps -ef" command)
2. The TCP port is still being listened (checked by the "netstat -an | grep LISTEN" command)
3. Any new incoming request would result in a connection in SYN_SENT state (checked by "netstat -an") which usually disappears 1 minute later.

I'd appreciate your help.
Thanks in advance.

Regards,
Eric


On Mon, 13 Aug 2018 at 10:16, Eric . <ericinht@xxxxxxxxx> wrote:
Dear Yann,

Thanks for the info. I'm trying APR 1.6.2 (the previous version) and let's see whether the problem would occur again.
Thank you.

Regards,
Eric



On 7 August 2018 at 16:15, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
Hi,

On Tue, Aug 7, 2018 at 5:57 AM, Eric . <ericinht@xxxxxxxxx> wrote:
>
> I'm using Apache HTTPD 2.4.29 and 2.4.33 on Solaris 10 and 11. These HTTPDs
> were compiled from source with the latest APR, APR-util and PCRE.
> Upon starting, the HTTPDs initially run fine. After running for several days
> to 2 weeks, HTTPD would stop responding. It wouldn't accept any new
> connections although the processes are running. In the whole period the
> incoming traffic volumn is low.
> When in the "not responding" situation, stopping and then starting the HTTPD
> would workaround the issue temporarily.

Possibly you are hitting this bug in APR:
https://bz.apache.org/bugzilla/show_bug.cgi?id=61786
It was fixed in: https://svn.apache.org/r1819938 (not in any released
APR for now)
A more targeted patch would be:
http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/port.c?r1=1819858&r2=1819857&pathrev=1819858&view=patch

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux