You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Eric ." <er...@gmail.com> on 2018/08/07 03:57:03 UTC
[users@httpd] Apache HTTPD not responding after running for several days
Hi all,
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.
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 have several Redhat 6.7 and Solaris 10 and 11 machines, and I find that
this problem only occurs on Solaris 10 and 11.
I'd appreciate your help. Thanks in advance.
Regards,
Eric
Re: [users@httpd] Apache HTTPD not responding after running for
several days
Posted by "Eric ." <er...@gmail.com>.
Hi Eric,
Thanks for the info.
Since Apr-1.6.4, which should contain the patch, is not yet available as a
stable release, I'll try even older Apr versions.
I'm not sure whether it is a problem of Apr.
Thanks.
Regards,
Eric
On Mon, 20 Aug 2018 at 19:34, Eric Covener <co...@gmail.com> wrote:
> On Mon, Aug 20, 2018 at 1:56 AM Eric . <er...@gmail.com> wrote:
> >
> > 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.
> >
>
> I don't think the bug was introduced in 1.6.3. That's just where it
> was reported. You need the patch.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] Apache HTTPD not responding after running for
several days
Posted by Eric Covener <co...@gmail.com>.
On Mon, Aug 20, 2018 at 1:56 AM Eric . <er...@gmail.com> wrote:
>
> 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.
>
I don't think the bug was introduced in 1.6.3. That's just where it
was reported. You need the patch.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache HTTPD not responding after running for
several days
Posted by "Eric ." <er...@gmail.com>.
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 . <er...@gmail.com> 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 <yl...@gmail.com> wrote:
>
>> Hi,
>>
>> On Tue, Aug 7, 2018 at 5:57 AM, Eric . <er...@gmail.com> 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@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
Re: [users@httpd] Apache HTTPD not responding after running for
several days
Posted by "Eric ." <er...@gmail.com>.
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 <yl...@gmail.com> wrote:
> Hi,
>
> On Tue, Aug 7, 2018 at 5:57 AM, Eric . <er...@gmail.com> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] Apache HTTPD not responding after running for
several days
Posted by Yann Ylavic <yl...@gmail.com>.
Hi,
On Tue, Aug 7, 2018 at 5:57 AM, Eric . <er...@gmail.com> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org