Thanks for the quick reply!

Looks like its pulp's celery workers..

$ ps aux --sort -rss | head
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
apache    2450  0.0 46.4 6849480 5668064 ?     Sl   Mar25   6:59 
/usr/bin/python -m celery.__main__ worker -c 1 -n 
[email protected] --events --app=pulp.server.async.app 
--loglevel=INFO --logfile=/var/log/pulp/reserved_resource_worker-1.log 
--pidfile=/var/run/pulp/reserved_resource_worker-1.pid
apache    2493  0.0 19.0 6910896 2324800 ?     Sl   Mar25  11:39 
/usr/bin/python -m celery.__main__ worker -c 1 -n 
[email protected] --events --app=pulp.server.async.app 
--loglevel=INFO --logfile=/var/log/pulp/reserved_resource_worker-2.log 
--pidfile=/var/run/pulp/reserved_resource_worker-2.pid
apache    2503  0.0 10.7 2243588 1314404 ?     Sl   Mar25   3:05 
/usr/bin/python -m celery.__main__ worker -c 1 -n 
[email protected] --events --app=pulp.server.async.app 
--loglevel=INFO --logfile=/var/log/pulp/reserved_resource_worker-3.log 
--pidfile=/var/run/pulp/reserved_resource_worker-3.pid
apache    2419  0.0  4.8 1523648 595896 ?      Sl   Mar25   1:09 
/usr/bin/python -m celery.__main__ worker -c 1 -n 
[email protected] --events --app=pulp.server.async.app 
--loglevel=INFO --logfile=/var/log/pulp/reserved_resource_worker-0.log 
--pidfile=/var/run/pulp/reserved_resource_worker-0.pid
mongodb   2160  0.4  2.3 21494828 290668 ?     Sl   Mar25  80:58 
/usr/bin/mongod --quiet -f /etc/mongodb.conf run
apache    4027  0.0  0.4 1091496 49016 ?       Sl   Apr05   1:34 (wsgi:pulp)
apache    4025  0.0  0.3 1091496 47696 ?       Sl   Apr05   1:32 (wsgi:pulp)
apache    4026  0.0  0.3 1091496 47676 ?       Sl   Apr05   1:33 (wsgi:pulp)
root      2836  0.0  0.3 134528 40356 ?        Ss   Mar25   0:45 /usr/bin/ruby 
/usr/bin/puppet agent

Any logs or stats I should collect before restarting the service?

These celery log files are all empty.
And pulp related non-info logs in messages file are all because of download 
errors (nectar.downloaders.threaded).


Sandro

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Randy Barlow
Sent: Dienstag, 7. April 2015 16:12
To: [email protected]
Subject: Re: [Pulp-list] Memory Usage

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Sandro,

MongoDB might be using the extra RAM. MongoDB uses memory mapped files[0] for 
its indices and collections. As a result, it will generally use all the RAM it 
can get. I suggest deploying MongoDB on a separate system (or VM) from the Pulp 
web server and workers to keep its RAM usage in a range that you prefer.

[0] https://en.wikipedia.org/wiki/Memory-mapped_file

- --
Randy Barlow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVI+WzAAoJEIyFaKUJtmpiY+AQAJheYId25yXYzv0Z1h4RfiIK
zYUtDVQzwlrrv9DePbFgnLjfBLKAuHsiLitoz6/YPMXQ3cYbW1AameJ/kq0Bw///
/zGWdeRnPcYcO4Nmfr85R/YIEf5dLKP1KSzZjdT4p8GALhH/AkdA5Ovn/pSfGFav
RohNuHEbO/Z1/0b+9LbMjhTp4HGQDb7jfN1+PtWtYFZqG+GojhbXkhxEmBeNd2s0
eMm2QwcGJ1okr5bLKdqbg5zeQ6mNJP6fEfEkosC7vC4Z5UhiFIpRn/nlv+TlsqnR
58oqDsupysq2J7vTtJCkTeG58jFBYQcKcxvDHFYDOBRDz84wegjtdOlMBDt5ZvMl
0EZY/fpOecW4qaznvMPWvflk2C4tPNfeFdryHPFMXTHMRjlLF0iHueSz+vlITDYx
LQCul16R71iT5UkYPtLCi56CBmadB3RUnZwzcqNk9fH5UcqAoy/ulpBQ5b9rtwXL
n06mZQm/zoB5oCRL3xqvxevizRXLc8WOmhVvGZB/zC/rghSgypiwuapH/b8zPE1H
q8i0PrXR+5TEKdqXrVdSdTA1Bomq0yw1lFHc6oZLhotA5XGkOLlbBFDxFhb4SiJ5
eYSVycnXZK8shHY6OnEZgN59J2NDcVhmZMB6KtQEZjiGK9u8O0qJ9NtWRXSS/fon
LOnM9GPgweIg5KEW7dsc
=MQrO
-----END PGP SIGNATURE-----

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

This email message and any attachments are confidential and may be privileged. 
If you are not the intended recipient, please notify us immediately and destroy 
the original transmittal. You are hereby notified that any review, copying or 
distribution of it is strictly prohibited. Thank you for your cooperation. 
Header information contained in E-mails to and from the company are monitored 
for operational reasons in accordance with the Swiss data protection act.

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to