You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/08/24 12:02:30 UTC

[Bug 58278] New: apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

            Bug ID: 58278
           Summary: apache - mod_security Issue : apache no releasing
                    Threads in "w" state even after stopping application's
                    tomcat
           Product: Apache httpd-2
           Version: 2.4.12
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: prem.masarani@highq.com

Created attachment 33032
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33032&action=edit
server status with all threads in stuck in "w" state

We have two application on different tomcats and both the applications
interacts through apache.
Apache is configured with mod_security rules.

In this setup I have faced two scenario:

Scenario 1:
---------------
First application is requesting second for any resource (e.g. any document).
In this case apache is taking more time in sending request to the second
application's tomcat.
As we have noticed sometimes it is taking around 30 sec to send request to the
second application's tomcat.
Due to this, response time is exceeding the the Read time out time set for the
request.

And On removing mod_security form apache we haven't faced this type of issue.

Scenario 2:
---------------
When scenario 1 occurs we have multiple requests that is waiting long for it's
response.
On checking apache's server-status we found most of the worker threads in "W"
Sending Reply state.
And keep on increasing worker threads in "W" state.
This leads to a situation where the no. of request exceeds the number of worker
threads in the server process since multiple threads are in their waiting
state.

Please find attachment-screenshot of apache server-status
where all apache's working thread in "W" Sending Reply state.

And the strange thing is that even after stopping both application's tomcats
their still exists threads in "W" Sending Reply state in apache's
server-status.
It releases only after restarting apache.

We are facing this issue after updating from 2.4.10 to apache 2.4.12 or 2.4.16.
Haven't faced this scenario upto apache 2.4.10.

And On removing mod_security form apache we haven't faced this type of scenario
as well.

For now, we have given solution by just removing mod_security when both
application interact with each other.
But this does'nt seems a feasible solution as its working fine in apache
2.4.10.

Please suggest for this odd behave of apache 2.4.12 or 2.4.16 with mod_security
or reason for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

prem <pr...@highq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
           Severity|normal                      |blocker
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEEDINFO                    |RESOLVED

--- Comment #3 from Eric Covener <co...@gmail.com> ---
No followup in several months. If there's still some curiosity about what the
server was doing in this state, re-open with periodic backtraces of the running
process.  Discussion to users@httpd.apache.org.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Suzanne <Sc...@icloud.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Yann Ylavic <yl...@gmail.com> ---
Please don't change the Status without providing more info, we NEEDINFO.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Marcos Fernando <ma...@copagril.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Linux
            Version|2.4.12                      |2.4.6

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
Please provide some error log (preferably at DEBUG or TRACE level) whith the
issue reproduced.

It's not clear whether it comes from mod_security or httpd.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Marcos Fernando <ma...@copagril.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux                       |All
             Status|NEEDINFO                    |NEW
            Version|2.4.6                       |2.4.12

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ylavic.dev@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

prem <pr...@highq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |Windows 7

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58278] apache - mod_security Issue : apache no releasing Threads in "w" state even after stopping application's tomcat

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58278

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org