Bug 900437 (JBPAPP6-1305) - SC 500 returned to the HTTP client on server shutdown
Summary: SC 500 returned to the HTTP client on server shutdown
Keywords:
Status: CLOSED NOTABUG
Alias: JBPAPP6-1305
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering, Web
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: TBD EAP 6
Assignee: Paul Ferraro
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On:
Blocks: JBPAPP6-1422
TreeView+ depends on / blocked
 
Reported: 2012-05-15 14:31 UTC by Radoslav Husar
Modified: 2014-06-28 12:33 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-19 10:16:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 900485 0 high CLOSED Sessions lost on server shutdown using DIST ASYNC 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker AS7-4817 0 Major Resolved Sessions lost on server shutdown using DIST ASYNC 2017-03-21 07:14:17 UTC
Red Hat Issue Tracker JBPAPP6-1305 0 Blocker Closed SC 500 returned to the HTTP client on server shutdown 2017-03-21 07:14:17 UTC

Internal Links: 900485

Description Radoslav Husar 2012-05-15 14:31:33 UTC
project_key: JBPAPP6

Filing this issue to investigate why we are seeing so many 500 status codes returned to the client on *graceful* server shutdown. Nothing suspicious in the server log.

{noformat}
2012/05/13 18:19:50:360 EDT [WARN ][Runner - 1316] SFCORE_LOG - Error sampling data:  <org.jboss.smartfrog.loaddriver.RequestProcessingException: Invalid response code: 500 Content: >
2012/05/13 18:19:50:360 EDT [WARN ][Runner - 1620] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Error sampling data:  <org.jboss.smartfrog.loaddriver.RequestProcessingException: Invalid response code: 500 Content: >
{noformat}

Comment 3 Radoslav Husar 2012-05-15 14:35:37 UTC
To put this in numbers, there are 2000 sessions generating concurency level of ~500 requests/second. Upon 4 server shutdowns there are roughly 1000 errors (500). Interestingly, the number of errors increases with duration of the test.

Comment 4 Radoslav Husar 2012-05-15 14:42:38 UTC
AS7-4817 seems quite related.

Comment 5 Radoslav Husar 2012-05-15 14:42:38 UTC
Link: Added: This issue relates to AS7-4817


Comment 6 Radoslav Husar 2012-05-15 15:33:19 UTC
Link: Added: This issue is incorporated by JBPAPP-7577


Comment 7 Radoslav Husar 2012-05-21 14:51:27 UTC
Link: Added: This issue relates to AS7-4850


Comment 9 Radoslav Husar 2012-06-05 14:43:48 UTC
Workflow: Removed: GIT Pull Request workflow  Added: jira
Security: Added: Public
Docs QE Status: Added: NEW


Comment 10 Rajesh Rajasekaran 2012-06-06 20:50:30 UTC
Link: Added: This issue is a dependency of JBPAPP-9290


Comment 11 Rajesh Rajasekaran 2012-06-06 20:54:38 UTC
Link: Removed: This issue is incorporated by JBPAPP-7577 


Comment 12 Misty Stanley-Jones 2012-06-12 09:59:41 UTC
Release Notes Docs Status: Added: Documented as Known Issue
Release Notes Text: Added: <code>500</code> status codes are sometimes returned to the HTTP client upon server shut-down. This issue is currently under investigation. 
Affects: Added: Release Notes


Comment 13 Rajesh Rajasekaran 2012-07-11 19:43:26 UTC
Labels: Added: eap601candidate


Comment 15 Rajesh Rajasekaran 2012-09-20 19:43:07 UTC
Labels: Removed: eap601candidate Added: eap601-qe-triage


Comment 18 Anne-Louise Tangring 2012-10-08 14:29:28 UTC
Approved for EAP 6.0.1

Comment 19 Anne-Louise Tangring 2012-10-08 14:29:28 UTC
Labels: Removed: eap601-qe-triage 


Comment 20 Jason Greene 2012-10-08 17:04:21 UTC
This issue isnt a regression in 6.0.1. It affected 6.0. Do we want to increase the issues being worked on in 6.0.1? Previously I heard we were only allowing regressions to hold things up.

Comment 21 Anne-Louise Tangring 2012-10-08 17:15:30 UTC
There were a number of clustering issues that were deferred with the expectation that they would be fixed in a subsequent release.
I'd like two questions answered before we go ahead and defer it again.
1. Was this moved out with the expectation of it being fixed in 6.0.1?
2. Does this issue make the QE testing extra difficult?

If both of these are answered No, then I agree with Jason and we should move it out since it is not a regression and we are in the end cycles of 6.0.1


Comment 23 Paul Ferraro 2012-10-08 17:42:55 UTC
This is expected.  If a request is accepted by the connector and the server is shutdown, the connector will stop - causing a the 500 error.  Fixing this requires clean shutdown logic in the web subsystem.  Until that day, you can workaround this issue by using mod_cluster.

Comment 24 Tom WELLS 2012-10-10 03:36:16 UTC
As this JIRA has been rejected, release notes are not required.

Comment 25 Tom WELLS 2012-10-10 03:36:16 UTC
Release Notes Docs Status: Removed: Documented as Known Issue Added: Not Required
Affects: Removed: Release Notes 


Comment 26 Anne-Louise Tangring 2012-11-13 20:54:50 UTC
Release Notes Docs Status: Removed: Not Required 
Release Notes Text: Removed: <code>500</code> status codes are sometimes returned to the HTTP client upon server shut-down. This issue is currently under investigation.  
Docs QE Status: Removed: NEW 



Note You need to log in before you can comment on or make changes to this bug.