Fwd: Discrepancy between OS memory and erlang virtual memory?
Hitesh Kishorbhai Vaghani <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAJimr3ZTx-pbavhKT3-Eptv42KH8+YS-invJd0BMuCjd20ZC_Q@mail.gmail.com> |
Hi, We are eCommerce company and we use Erlang heavy in our production system. We are facing one issue which we are not able to figure out. My Erlang virtual machine shows 2.5GB memory usage but OS occupies 8GB plus RAM and the application getting restarted from time to time after RAM exhaust. We tried checking remote debugging no process is utilizing more memory in the erlang application. Process memory is also showing 2.56 GB. We are using ubuntu 20.04 and OTP 21. VM [image: VM.png] Service Status [image: Service status.png] OS Memory.png [image: OS Memory.png] Erlang Memory [image: erlang_memory_snap.png] Also Attaching Pmap screenshot. Is there anything we should be checking? How can we fix it? Any direction will help. *Regards,* *Hitesh Vaghani* | Engineering *E-Mail *| hitesh.v@ <[email protected]>redbus.com | +91 9558476850 -- *::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachments are confidential and intended for the named recipient(s) only.E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents(with or without referred errors) shall therefore not attach any liability on the originator or redBus.com. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of redBus.com. Any form of reproduction, dissemination, copying, disclosure, modification,distribution and / or publication of this message without the prior written consent of authorized representative of redbus. <http://redbus.in/>com is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.Before opening any email and/or attachments, please check them for viruses and other defects.*
VM.png
(image/png, 63.5 KB) - not displayed
Service status.png
(image/png, 58.8 KB) - not displayed
OS Memory.png
(image/png, 8.7 KB) - not displayed
erlang_memory_snap.png
(image/png, 15.9 KB) - not displayed
VM.png
(image/png, 63.5 KB) - not displayed
pmap.png
(image/png, 109.5 KB) - not displayed
erlang_memory_snap.png
(image/png, 15.9 KB) - not displayed
OS Memory.png
(image/png, 8.7 KB) - not displayed
Service status.png
(image/png, 58.8 KB) - not displayed