Fwd: Discrepancy between OS memory and erlang virtual memory?

Hitesh Kishorbhai Vaghani hitesh.v@REDACTED
Thu Sep 23 07:53:01 CEST 2021


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@REDACTED>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.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VM.png
Type: image/png
Size: 64989 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service status.png
Type: image/png
Size: 60256 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OS Memory.png
Type: image/png
Size: 8870 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang_memory_snap.png
Type: image/png
Size: 16276 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VM.png
Type: image/png
Size: 64989 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pmap.png
Type: image/png
Size: 112126 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang_memory_snap.png
Type: image/png
Size: 16276 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OS Memory.png
Type: image/png
Size: 8870 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service status.png
Type: image/png
Size: 60256 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210923/ead06676/attachment-0017.png>


More information about the erlang-questions mailing list