Bug 758864 - Explanation for aviary_query_server memory usage
Summary: Explanation for aviary_query_server memory usage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Release_Notes
Version: Development
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: 2.2
: ---
Assignee: Tomas Capek
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-30 20:46 UTC by Pete MacKinnon
Modified: 2012-09-20 01:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-20 01:01:27 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 751818 0 unspecified CLOSED Investigate why aviary_query_server memory footprint is double that of condor_job_server 2021-02-22 00:41:40 UTC

Internal Links: 751818

Description Pete MacKinnon 2011-11-30 20:46:20 UTC
The Axis2/C engine retains a stream buffer for responses. It doesn't reallocate based on the size of each new response but instead just checks instead to see if the old one will fit the new data to be written. If not, then a new buffer is allocated and the old one freed. Thus, over time, the buffer will remain at a high water mark of the last largest response size. In the case of the aviary_query_server and depending on the operation invoked, the RES of the process will grow because of the heap still in use. For example, a request for 1 job status after a request for 500 job details will not grow the RES of the process (other non-RPC memory allocations notwithstanding). Customers can simply restart the aviary_query_server daemon if they are concerned about the apparent RES size. The aviary_query_server will reconstruct its internal job collections and the Axis2/C response buffer will be reset.


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