Bug 46499 - httpd accept() return EAGAIN error
Summary: httpd accept() return EAGAIN error
Status: RESOLVED LATER
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.0.52
Hardware: HP Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: MassUpdate
Depends on:
Blocks:
 
Reported: 2009-01-09 00:29 UTC by mhasegaw
Modified: 2018-11-07 21:09 UTC (History)
0 users



Attachments
strace result,error_log,httpd.conf (425.76 KB, application/octet-stream)
2009-01-09 00:29 UTC, mhasegaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mhasegaw 2009-01-09 00:29:05 UTC
Created attachment 23097 [details]
strace result,error_log,httpd.conf

RHEL 4.4 (kernel 2.6.9-42.ELsmp) 
httpd-2.0.52-38
weblogic plugin (mod_wl_20.so)

Symptom:
Suddenly httpd which load weblogic plugin(mod_wl_20.so) accept() return
with EAGAIN error. After retry 4000 times, httpd exit().

// strace of httpd
20978 15:39:30.589794 accept(3,  <unfinished ...>
20980 15:39:30.589833 <... geteuid32 resumed> ) = 0
20982 15:39:30.589869 close(8 <unfinished ...>
20981 15:39:30.589904 munmap(0xb7fb0000, 4096 <unfinished ...>
20977 15:39:30.589953 write(6, "[Fri Nov 28 15:39:30 2008] [info"..., 84 <unfinished ...>
20979 15:39:30.590017 <... write resumed> ) = 104
20983 15:39:30.590052 <... read resumed> "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 681
20976 15:39:30.590110 write(6, "[Fri Nov 28 15:39:30 2008] [info"..., 84 <unfinished ...>
20978 15:39:30.590166 <... accept resumed> 0x87cb26c, [28]) = -1 EAGAIN (Resource temporarily unavailable)
          ...
20978 15:39:33.385567 exit_group(0)     = ?
3454  15:39:33.603534 waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPE
D) = 20978 <---


// error_log 
[Fri Nov 28 15:39:30 2008] [debug] util_ldap.c(1441): INIT global mutex /tmp/fileKYBJuX in child 20978 <---
[Fri Nov 28 15:39:30 2008] [debug] util_ldap.c(1441): INIT global mutex /tmp/fileKYBJuX in child 20977
[Fri Nov 28 15:39:30 2008] [debug] util_ldap.c(1441): INIT global mutex /tmp/fileKYBJuX in child 20976
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: init_child: isThreaded = -1  <---
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: init_child: isThreaded = -1
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: init_child: isThreaded = -1
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: Testing Debug=(null) LogFile=(null) TempDir=(null) <---
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: Testing Debug=(null) LogFile=(null) TempDir=(null)
[Fri Nov 28 15:39:30 2008] [info] mod_weblogic: Testing Debug=(null) LogFile=(null) TempDir=(null)

We asked weblogic support person about this issue. However he said that
weblogic plugin does not call accept, so this is an apache problem.

I have some questions about this issue.

Q1:  Is this issue a known problem ?
    (Though I searched this on bugzilla, I could not find)

Q2: What does we need to do in order to investigate root casue ( apache
    or weblogic plugin ) ?

Thanks in advance,

Masaya
Comment 1 William A. Rowe Jr. 2018-11-07 21:09:23 UTC
Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd.

As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd.

If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question.

If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with.

Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated.