Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] [Monipe-des] Use of SWAP in Central Management

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] [Monipe-des] Use of SWAP in Central Management


Chronological Thread 
  • From: Marcos Felipe Schwarz <>
  • To: Comunicação com os desenvolvedores do projeto MONIPE <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] [Monipe-des] Use of SWAP in Central Management
  • Date: Tue, 6 Aug 2019 18:42:27 -0300 (BRT)

Taking a better look at the problem I noticed that each instace of ps_remove_data.py is consuming around 10G of RAM. So two instances of this script is too much for our 32GB central-management host.
1. Is there any reason for two instances of this script running at the same time?
2. Is it normal for ps_remove_data.py consume this much of RAM on the first place?

To bypass the problem I temporarely edited /etc/cron.d/cron-clean_esmond_db to:
30 2 * * * root /usr/bin/flock -n /tmp/clean_esmond_db.lockfile /usr/lib/perfsonar/scripts/clean_esmond_db.sh &> /var/log/perfsonar/clean_esmond_db.log

Can a fix like this be incorporated?

Regards,

Marcos Schwarz


From: "Murilo Vetter" <>
To: "perfsonar-user" <>
Cc: "Comunicação com os desenvolvedores do projeto MONIPE" <>
Sent: Tuesday, July 16, 2019 2:44:50 PM
Subject: [Monipe-des] Use of SWAP in Central Management

Hi list,

We are experiencing some degradation in out central management host.

It is using SWAP, as it can be observed bellow:

# free -h
              total        used        free      shared  buff/cache   available
Mem:            31G         29G        510M        144M        902M        679M
Swap:          3.7G        3.5G        264M

As we can check bellow, there is a process ps_remove_data.py that takes too long to finished and it runs again even if it has already another process running. 


Is there a way to minimize this problem? A Locking control to not run twice or another way to solve this problem?

Regards,
Murilo Vetter

_______________________________________________
Monipe-des mailing list

http://listas.rnp.br/mailman/listinfo/monipe-des



Archive powered by MHonArc 2.6.19.

Top of Page