Virtualmin Out of Memory Errors

10 posts / 0 new
Last post
#1 Sun, 07/05/2009 - 07:48
FaisalMehmood

Virtualmin Out of Memory Errors

Hey Guys,

A new installation of Virtualmin is running out of memory on my end ... any clues ? Below is the miniserv.error

[05/Jul/2009:01:00:52 -0400] Continuing without the Authen::PAM perl module [05/Jul/2009:01:01:56 -0400] Reloading configuration [05/Jul/2009:01:02:14 -0400] [172.16.0.105] /left.cgi : File not found [05/Jul/2009:01:02:21 -0400] [172.16.0.105] /left.cgi : File not found [05/Jul/2009:01:02:22 -0400] Reloading configuration [05/Jul/2009:01:02:33 -0400] Reloading configuration find \/usr\/lib\/perl5\/5.8.8 -name .packlist -print find \/usr\/lib\/perl5\/site_perl -name .packlist -print find \/usr\/lib\/perl5\/site_perl\/5.8.8\/i386-linux-thread-multi -name .packlist -print find \/usr\/lib\/perl5\/vendor_perl -name .packlist -print find \/usr\/lib\/perl5\/5.8.8 -name .packlist -print Out of memory! Out of memory! Out of memory! Out of memory!

Sun, 07/05/2009 - 07:49
FaisalMehmood

[04/Jul/2009:22:03:03 -0400] Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmi BEGIN failed--compilation aborted at (eval 5) line 1.

[04/Jul/2009:22:03:03 -0400] Continuing without the Authen::PAM perl module [04/Jul/2009:22:03:48 -0400] Reloading configuration Out of memory! Out of memory! *** glibc detected *** /usr/libexec/webmin/apache/index.cgi: corrupted double-linked list: 0xbfef7bc8 ***

Sun, 07/05/2009 - 08:49
andreychek

Howdy,

Which version of Virtualmin are you using?

And how much RAM and swap is on your server? You can determine that with the command "free -m".

-Eric

Sun, 07/05/2009 - 08:53
FaisalMehmood

Webmin version 1.480 Virtualmin version 3.69.gpl GPL

Real memory 1.98 GB total, 249.23 MB used

Virtual memory 1.94 GB total, 0 bytes used

Sun, 07/05/2009 - 08:57
andreychek

Yeah, looks like you have plenty of RAM.

What do you see if you type:

dmesg | tail

Thanks!

-Eric

Sun, 07/05/2009 - 09:13
FaisalMehmood

294534 pages of HIGHMEM 7418 reserved pages 1156 pages shared 8 pages swap cached 0 pages dirty 1 pages writeback 540 pages mapped 2519 pages slab 1796 pages pagetables Out of memory: Killed process 22404 (miniserv.pl).

Sun, 07/05/2009 - 09:21
andreychek

Okay, I'm going to pass this onto Jamie to see if he has some thoughts on what might cause that.

-Eric

Sun, 07/05/2009 - 09:24
andreychek

Well, one more quick question -- you're not by chance attempting an upgrade, are you? There is a bug in upgrading to 3.70 that could cause an out of memory condition in certain circumstances.

Thanks,

-Eric

Sun, 07/05/2009 - 09:46
FaisalMehmood

nope no upgrades --

Though i think i caught the problem -

  1. I had somehow overwritten the perl.conf in the etc\conf.d directory with my default httpd.conf ...

I renamed my perl.conf and everything seems to be running fine for now.

Could you please send me a sample perl.conf file so i can see what it looks like ? Also any idea what exactly the perl.conf does ?

Sun, 07/05/2009 - 21:24 (Reply to #9)
andreychek

Well, that could cause trouble, though it's unrelated to Virtualmin -- Virtualmin doesn't run through Apache in any way.

The perl.conf file you're referring to is for mod_perl in Apache. How it looks would determine which distro you're using.

-Eric

Topic locked