Bug 1331793 - Instance of candlepin 2.0.11 unresponsive with minimal load
Summary: Instance of candlepin 2.0.11 unresponsive with minimal load
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Chris "Ceiu" Rog
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 14:11 UTC by Tramaine Darby
Modified: 2016-05-13 18:48 UTC (History)
4 users (show)

Fixed In Version: candlepin-2.0.12-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-13 18:48:52 UTC


Attachments (Terms of Use)
Heap dump from candlepin06 while tomcat was in unresponsive state (85 bytes, text/plain)
2016-04-29 14:14 UTC, Tramaine Darby
no flags Details
Thread dump (84.78 KB, text/plain)
2016-05-02 20:19 UTC, Tramaine Darby
no flags Details

Description Tramaine Darby 2016-04-29 14:11:09 UTC
Description of problem:
Candlepin 2.0.11 is deployed in the IT-PnT development environment on candlepin06.web.dev.int.devlab.redhat.com.  A few requests is enough to render the tomcat unresponsive.  We suspect a memory leak

Version-Release number of selected component (if applicable):
2.0.11

How reproducible:
Becomes unresponsive approximately an hour after a restart.  Restart seems to clear it up temporarily 

Steps to Reproduce:
1. Start tomcat
2. Make status requests and pool refresh requests
3. Observe lengthening response times

Actual results:
Requests eventually time out due to an unresponsive server

Expected results:
Requests should be handled normally

Additional info:
Heap dump from unresponsive state attached

Comment 1 Tramaine Darby 2016-04-29 14:14:07 UTC
Created attachment 1152326 [details]
Heap dump from candlepin06 while tomcat was in unresponsive state

Comment 2 Tramaine Darby 2016-05-02 19:16:57 UTC
Looking back at the history - these pool refreshes and status calls were the only traffic before the application became unresponsive:

curl -X PUT -H "Authorization: Basic Y2FuZGxlcGluX2FkbWluOmNhbmRsZXBpbl9hZG1pbg==" -H "Cache-Control: no-cache" "http://candlepin06.web.dev.int.devlab.redhat.com:8080/candlepin/owners/7388484/subscriptions?auto_create_owner=true"


curl -X PUT -H "Authorization: Basic Y2FuZGxlcGluX2FkbWluOmNhbmRsZXBpbl9hZG1pbg==" -H "Cache-Control: no-cache" "http://candlepin06.web.dev.int.devlab.redhat.com:8080/candlepin/owners/6302666/subscriptions?auto_create_owner=true"

Comment 3 Tramaine Darby 2016-05-02 20:19:59 UTC
Created attachment 1153034 [details]
Thread dump


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