Hi,
I have a problem I can’t solve by myself - I have low memory system (384 / 768 MB burst) and sometimes Virtualmin just dies - I cannot access it by HTTP on port 10000. (Chrome says: ERR_CONNECTION_REFUSED).
I can’t find any virtualmin-related process running in top. After restart it works for a while and then I cannot use Virtualmin again.
I suppose it’s because of my VPS reaching limits (500-600 MB in use), am I right? I plan to upgrade the VPS plan anyway as many configuration tweaks for apache and system in general to decrease memory usage weren’t much success. But I think it’s not good that Virtualmin just dies, especially if DNS synchronization between two Virtualmins stops to work.
Yeah, only having 384MB of guaranteed RAM may not be enough for what you’re running. You may need to find a way to free up some additional RAM.
When RAM runs low, the Linux kernel begins killing processes in order to keep the server running. It’s possible the Virtualmin process was killed in order to keep the other processes alive.
If you haven’t already, you may want to check out this document on running Virtualmin on a low-memory system, which offers some tips on how to free up RAM:
Thank you. I checked this document already. One more question though, how can I start Virtualmin manually from the command line after it is killed, so I don’t have to restart the whole server?
I have been a victim of the same problem but the VPS I am using has 2GB of memory. I have run a ps -e | grep min and these two processes are what I was seeing
/etc/init.d/webmin restart
Stopping Webmin server in /usr/libexec/webmin
cat: /var/webmin/miniserv.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
Starting Webmin server in /usr/libexec/webmin
Pre-loaded virtual-server/virtual-server-lib-funcs.pl in virtual_server
Pre-loaded virtual-server/feature-unix.pl in virtual_server
Pre-loaded virtual-server/feature-dir.pl in virtual_server
Pre-loaded virtual-server/feature-mail.pl in virtual_server
Pre-loaded virtual-server/feature-dns.pl in virtual_server
Pre-loaded virtual-server/feature-web.pl in virtual_server
Pre-loaded virtual-server/feature-webalizer.pl in virtual_server
Pre-loaded virtual-server/feature-ssl.pl in virtual_server
Pre-loaded virtual-server/feature-logrotate.pl in virtual_server
Pre-loaded virtual-server/feature-mysql.pl in virtual_server
Pre-loaded virtual-server/feature-postgres.pl in virtual_server
Pre-loaded virtual-server/feature-ftp.pl in virtual_server
Pre-loaded virtual-server/feature-spam.pl in virtual_server
Pre-loaded virtual-server/feature-virus.pl in virtual_server
Pre-loaded virtual-server/feature-webmin.pl in virtual_server
Pre-loaded virtual-server/feature-virt.pl in virtual_server
Pre-loaded virtual-server/feature-virt6.pl in virtual_server
Pre-loaded WebminCore
[root@MYHOST]
Not sure if the WebminCore was loading at this point as there was no differences in the processes and the site was still down on port 10000.
I tried to kill the minserv.pl process and after it was done I tried to restart but nothing changed.
I had to restart the VPS. Could you please suggest if there is something else I can do to avoid a machine restart next time?
thanks for your quick response. I logged on the IRC channel and discussed this with yohomer. And I was showing him this log
Failed to initialize SSL connection
[22/Feb/2008:14:41:11 -0500] miniserv.pl started
[22/Feb/2008:14:41:11 -0500] Perl module Authen::PAM needed for PAM is not installed : Can’t locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 7) line 1.
BEGIN failed–compilation aborted at (eval 7) line 1.
I tried to yum list the libpam module but yum gets stuck for some reason when trying to check for it. At the moment the server is fine and I havent had any other problems beside yum always getting stuck with cups install …
I think i will try with yum again later and see how it goes…