My Oracle Support Banner

Mshttpd Massive Memory Leak Of Buffer Allocated In Msg_fromhead (Doc ID 2419993.1)

Last updated on AUGUST 07, 2023

Applies to:

Oracle Communications Messaging Server - Version 8.0.2 and later
Information in this document applies to any platform.

Symptoms

Consider a Mail Server setup running either Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018).

Note:  This issue can also occur with Messaging Server version 8.0.2.2.20180531.


The above setup would run out of swap space.

Upon analysis, the following processes can be noticed to have using all the available swap:

 

   /opt/sun/comms/messaging64/lib/mshttpd
   /usr/jdk/instances/jdk1.7.0/bin/amd64/java -cp /gcs/app/mail/glassfish3/glassfish/modules/glassfish.ja


To return the server to normal operation, the server would need to be restarted.

Note: Attempts to run the 'dbhang.sh' script would fail with the following error:

*** libc thread failure: initial allocation failed; swap space exhausted?
./dbhang4.sh: line 699: 22397: Abort(coredump)


It appears that mshttpd might have a memory leak.

Changes

Loaded the Messaging Server 8.0.2.3.20180614 hotfix patch.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.