Hello Jonathan,

it's normal that the portal use the memory btw it's not really revelant.

What you can do is to install monit (https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Installation_Guide.asciidoc#monit) and add a check for the swap (send an alert if it reach a certain amount of usage).

https://mmonit.com/monit/documentation/monit.html (search for swap).

With that you will be able to know when it occur and see what is the process that use a huge amount of memory.

Regards

Fabrice


Le 19-01-09 à 17 h 47, Jonathan Ubovich a écrit :
Hello, thank you for your reply

Here is the result:

[root@PacketFence-ZEN pf]# for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less
/usr/sbin/httpd 265412 kB
/usr/sbin/httpd 258388 kB
/usr/sbin/httpd 228144 kB
/usr/sbin/httpd 216840 kB
/usr/sbin/httpd 216500 kB
/usr/sbin/httpd 211912 kB
/usr/sbin/httpd 211672 kB
ACCU 60th Logo <https://www.americaschristiancu.com/>
Facebook <https://www.facebook.com/AmericasChristianCU>

        
Twitter <https://twitter.com/AmericasCCU>

        
Instagram <https://www.instagram.com/americasccu/>

        
Jonathan Ubovich​
Network Administrator

P: *8* <tel:626.208.5454>00‑343‑6328      
Ext. 5454

D: *626.208.5454* <tel:626.208.5454>
F: *626.208.5462* <fax:626.208.5462>
2100 E. Route 66 | Glendora, CA 91740

<https://www.americaschristiancu.com/home/promotion.html?utm_medium=email&utm_source=accu-esig&utm_campaign=2770519-jan&utm_content=accu-esig>

This email is covered by the U.S. Electronic Communications Privacy Act. The email and any attachments are intended only for the use of the person to whom the email is addressed and intended, and may contain information that is privileged, confidential, and/or exempt from disclosure. Any dissemination, distribution, copying, or use of this mail and any attachments by anyone other than the intended recipient is prohibited. If you received this email in error, please immediately notify me by replying hereto and also destroy this email, any attachments, and any backup or archive copies. Thank you.


From: Durand fabrice via PacketFence-users <mailto:[email protected]>
Sent: Monday, January 7, 2019 6:13 PM
To: mailto:[email protected]
Cc: Durand fabrice <mailto:[email protected]>
Subject: Re: [PacketFence-users] PacketFence-ZEN System Swap 98.4%

Hello Jonathan,
you can try the following to find the process who use the swap:
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less
And can you paste the top result command ?
Regards

Fabrice
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to