Bug 1299501 - [Docs] Memory Usage of ReplicationWorker and evm:dbsync:replicate exceeds Replication Worker Memory Threshold
Summary: [Docs] Memory Usage of ReplicationWorker and evm:dbsync:replicate exceeds Rep...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.5.3
Assignee: Suyog Sainkar
QA Contact: Red Hat CloudForms Documentation
URL:
Whiteboard: doc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-18 14:17 UTC by Alex Krzos
Modified: 2017-01-19 03:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-19 03:49:58 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description Alex Krzos 2016-01-18 14:17:49 UTC
Description of problem:
The Replication Worker spawns a subprocess (evm:dbsync:replicate) that alone can exceed the memory threshold that is permitted by default for the Replication Worker (200MiB by Default).  This process is currently not counted against the Replication Worker Memory threshold.  This can lead administrators to believe a Replication Workload should only consume an amount of memory below the Replication Worker Threshold.

For 5.5.2.0 during stress tests that have lasted around 4 hours.  I have witnessed the following Memory usages:
MiqReplicationWorker - 175-176MiB RSS, 168-170MiB PSS
evm:dbsync:replicate - 206-211MiB RSS, 199-204MiB PSS

For a combined Replication Workload using 381-388MiB RSS

When viewing the processes PSS (Proportional Set Size):
MiqReplicationWorker - 168-170MiB PSS
evm:dbsync:replicate - 199-204MiB PSS

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

How reproducible:
Exposed in all tests against 5.5.2.0

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 dmetzger 2016-02-23 14:53:59 UTC
I'm converting this to a documentation issue to ensure the need to account for approximately 200Mb of additional memory (beyond the amount configured for the MiqReplicationWorker) is accounted for in during configuration planning.

Another possible action would be to include a one line note with the Replication Worker configuration text indicating an additional 200Mb of system memory will be consumed by replication - beyond the configurable worker amount.

Comment 3 Andrew Dahms 2016-02-24 14:10:46 UTC
Assigning to Suyog for review.


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