Hello all,
recently I've noticed on my OpenBSD 4.5 Stable box strange memory behavior
while downloading files from its ftpd daemon.
It seems ftpd is somehow allocates more and more memory. Memory is not freed
until something else needs it.
At least it is always freed after daily script runs. I've noticed this
problem while few clients were downloading files from the box and I don't
recall I saw something similar on OpenBSD 4.4.
top output shows something like this: Memory: Real: 53M/836M (normal state
should be about 53M/170M)
I was also trying to reproduce the "problem" by downloading files from ftpd
and saving remaining free memory every 10 minutes.
Date | Free Memory (KB)
| 2009-11-11 18:30:01 | 807936 |
| 2009-11-11 18:40:01 | 771072 |
| 2009-11-11 18:50:02 | 561152 |
| 2009-11-11 19:00:02 | 329728 |
| 2009-11-11 19:10:02 | 214016 |
| 2009-11-11 19:20:02 | 211968 |
I tested it under Virtual box on OpenBSD 4.6 too and I see same behavior.
Is it a normal situation? I have some background about memory management but
I'm not able to find the reason why ftpd allocates so much memory and why
this memory is not returned back after all ftpd activities are finished.
(I posted similar question to misc list but I did not get a reply, I guess
my question is too lame and I'm missing something obvious)
Thanks for any suggestion
MK
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies