Mantis - Resin
Viewing Issue Advanced Details
5815 minor always 10-17-14 11:44 11-10-14 15:48
alex  
ferg  
normal  
closed 4.0.41  
fixed  
none    
none 4.0.42  
0005815: Physical memory leak / SSL / 4.0.41 possible OpenSSL fixes redux
rep by Nick Stephens, Sarah Gillespie

This server is only running web-0, it's a separate load balancer for two backends.

This is what the process looks like from ps:

 2377 2.9 90.1 7557796 2665268 ? Sl OctXX XX:XX /usr/java/jdk1.7.0_10/bin/java -Xmx1536m -Xss1m -verbosegc -Djmagick.systemclassloader=false -agentlib:resin -Dresin.server=web-0 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader -Djava.endorsed.dirs=/usr/java/jdk1.7.0_10/jre/lib/endorsed:/usr/local/share/resin-4.0.41//endorsed:/var/resin/endorsed -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -Djava.awt.headless=true -Djava.awt.headlesslib=true -Dresin.home=/usr/local/share/resin-4.0.41/ -d64 -server com.caucho.server.resin.Resin --root-directory /var/resin -conf /etc/resin/resin.xml -server web-0 -socketwait 52627 -root-directory /var/resin -log-directory /var/log/resin start-all --log-directory /var/log/resin -port 43 null 80 -port 44 null 443

where 7557796 is VSZ and 2665268 (2.5GB, 90% of memory) is RSS.

Notes
(0006567)
ferg   
11-10-14 15:48   
std.c was clearing the ssl_sock value, causing a memory leak.