Summary: Memory leak in Solaris 2.4

From: Jeff A Stephens 312C M 402424 (jsteph@daugherty.com)
Date: Mon May 15 1995 - 12:02:50 CDT


Thanx for all who responded...

To recap:

Solaris 2.4 would start acting very sluggish and eventually
stop after about 2 weeks without rebooting. Machine would be
swapping constantly and VERY low on memory.

Using the command "echo kmastat | crash" you can see that the
kernal memory allocations for the block size 320 were growing
out of control. Rebooting fixed the problem, but as time went
on, the size allocated to this block size grew.

Solution:

Vold in Solaris 2.4 has a memory leak when the driver is unloaded.
Some machines after 2 weeks would have over 20MB allocated to the
vold. The problem is fixed in patch 101907-05 or greater. Now,
after 2 weeks, the 320 heap only has 8192 (on average) allocated.
Much better.

Hope this helps someone.

-- 
--------------------------------------------------------------------
* Jeff Stephens                                  |"Could you,      *
* Daugherty Systems                              |  would you,     *
* Phone: (314) 432-8200                          |   with a goat?" *
* Email: jsteph@daugherty.com                    | Green Eggs & Ham*
* Web:   http://www.daugherty.com/~jsteph        | Dr. Suess       *
--------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:25 CDT