On Fri, Mar 31, 2006, Ted Unangst wrote:

> > Note: the memory leak seems to be unique to OpenBSD (3.8 and earlier),

> just to confirm something, this happens with openbsd 3.7?  3.6?

3.7: yes; 3.6 probably yes, but I don't have statistics from
that time. Here's one from last year:

Tue Sep  6 19:51:43 PDT 2005
smxm      4793  0.0  0.6  2792  3016 ??  Ss     9:26AM    0:07.07 smar

Wed Sep  7 21:46:21 PDT 2005
smxm      4793  0.0  0.7  3580  3800 ??  Ss    Tue09AM    0:23.23 smar

Thu Sep  8 07:47:37 PDT 2005
smxm      4793  0.0  0.8  4016  4236 ??  Ss    Tue09AM    0:30.31 smar

Fri Sep  9 21:36:37 PDT 2005
smxm      4793  0.0  1.0  5084  5304 ??  Ss    Tue09AM    0:51.28 smar

Sat Sep 10 08:32:25 PDT 2005
smxm      4793  0.0  1.1  5300  5520 ??  Ss    Tue09AM    0:55.82 smar

(this wasn't important enough back then because I couldn't reproduce
it in a test environment and no user complained about it).

BTW: it does not seem to be a problem with mutex/cond: I "saved"
those in an array for reuse (instead of calling _init()/_destroy()
for every invocation) and even then the size grows. I'll try to
build a debugging version of libc (with some malloc checks) over
the weekend.

Reply via email to