Menu

#1393 Webmin runs system out of memory

open
None
5
2003-12-08
2003-12-05
No

This bug report might not be related to webmin but
needs to be at least detailed since it looks like it's
been reported before here

http://sourceforge.net/tracker/index.php?func=detail&aid=683264&group_id=17457&atid=117457

Recently I update a Redhat 8 install to Redhat 9 (via
Yum). The box is an old Dell Poweredge 6100/200 with
1GB memory and 4 CPU's. Everything seemed fine but a
after about 48 hours the machine locked up. I managed
toi get into it and found that it was totally out of
memory and swap. This happened several times during the
next few days before I tracked it down to the
miniserver.pl process.

Here are some details.

root 12356 83.6 65.2 964076 672768 ? D 20:02
2:25 /usr/bin/perl /usr/libexec/webmin/miniserv.pl
/etc/webmin/miniserv.conf
root 12412 0.2 0.3 6592 3836 ? S 20:03
0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl
/etc/webmin/miniserv.conf

[root@sendmail root]# uname -a
Linux sendmail 2.4.20-24.9smp #1 SMP Mon Dec 1 11:25:17
EST 2003 i686 i686 i386 GNU/Linux
[root@sendmail root]# perl -v

This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)

Command /usr/bin/perl
/usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
Process ID 12356 Parent process init
Owner root CPU 77.0 %
Size 1054700 kB Run time 00:02:31
Nice level

Real group root Process group ID 12352
Group root TTY None
Started 20:02 Real user root

I'm going back to look at it again right now but I'm
pretty sure its something in the SSL setup.

mgt@sendmail ~ [2] rpm -q openssl
openssl-0.9.7a-20
mgt@sendmail ~ [3] rpm -q openssl-devel
openssl-devel-0.9.7a-20

mgt@sendmail
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net
[21] head SSLeay.pm
# Net::SSLeay.pm - Perl module for using Eric Young's
implementation of SSL
#
# Copyright (c) 1996-2003 Sampo Kellomaki
<sampo@iki.fi>, All Rights Reserved.
# $Id: SSLeay.pm,v 1.22 2003/02/18 04:08:41 sampo Exp $
# Version 1.04, 31.3.1999
# 30.7.1999, Tracking OpenSSL-0.9.3a changes, --Sampo
# 31.7.1999, version 1.05 --Sampo
# 7.4.2001, fixed input error upon 0, OpenSSL-0.9.6a,
version 1.06 --Sampo
# 18.4.2001, added TLSv1 support by Stephen C. Koehler
# <koehler@securecomputing.com>, version
1.07, --Sampo

The loop (or whatever it is) seems to occur at log out.
I post more regarding this is I figure it out.

Mike Tremaine

Discussion

  • Mike Tremaine

    Mike Tremaine - 2003-12-05

    Logged In: YES
    user_id=85022

    Upgrading Net::SSLeay seems to have fixed this issue.

     
  • Jamie Cameron

    Jamie Cameron - 2003-12-08
    • assigned_to: nobody --> jcameron
     
  • Jamie Cameron

    Jamie Cameron - 2003-12-08

    Logged In: YES
    user_id=129364

    Some people have reported a problem like this when webmin is
    running in SSL mode, with certain versions of OpenSSL.
    Unfortunately, the bug seems to be inside the OpenSSL
    library, and so cannot easily be fixed ...

    Does it still happen if you turn off SSL?

     

Log in to post a comment.

Auth0 Logo