Menu

#648 Memory leak

1.000
closed
None
5
2002-10-04
2002-09-27
Anonymous
No

I have been running webmin for a myriad of different
implemementations, but
recently I noticed that 'perl miniserv.pl' is chewing up
memory.
Now, I have written a custom module that polls the
webmin for information
every 10 seconds (reasonble timing in my books), and
ever since my traffic increased, webmin would
literally
eat up all aviable memory over a period of a couple of
hours.

I am running RH7.2 with webmin 1.000 on a
p!!!-450/256... I can run out of
mem
in about 8 hours providing the server is being polled
every 10 seconds.
Also,
if I stop polling, the memory never gets released.

Does anyone else experience the same problems?
I check and gauge the mem usage by running

cat /proc/`cat /var/webmin/miniserv.pid`/status |
grep VmSize

Webmin starts at about 4.5mb to only blow up to about
67+mb in a couple of
hours.
I have been tracing it to PERL having issues releasing
memory under kernel
2.4, but I am not 100% convinced that it is not miniserv
that is the culprid.
Actually, after running a small test for mem manipulation
under PERL 5.6.1, it did ok (no mem loss) but it still
bloats up on miniserv

Discussion

  • Jamie Cameron

    Jamie Cameron - 2002-09-30
    • assigned_to: nobody --> jcameron
     
  • Jamie Cameron

    Jamie Cameron - 2002-09-30

    Logged In: YES
    user_id=129364

    I would like to try and replicate this myself ..
    what program or code are you using to poll the remote webmin
    server?

     
  • Jamie Cameron

    Jamie Cameron - 2002-10-04
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2002-10-04

    Logged In: YES
    user_id=129364

    Fixed in the 1.006 development release ..

     

Log in to post a comment.

MongoDB Logo MongoDB