virtualmin always stop working

Operating system Ubuntu Linux 14.04.1
Webmin version 1.701 Virtualmin version 4.11.gpl GPL

digitalocean 512 ram
Real memory 495.39 MB total, 220.54 MB used
0.00 (1 min) 0.01 (5 mins) 0.05 (15 mins)

but it always stop working
I have to restart webmin again and again

Your comment welcome

CPU load averages 0.00 (1 min) 0.01 (5 mins) 0.05 (15 mins) is normal

Howdy,

I suspect you may be running out of RAM, and that the Linux kernel is killing various processes, including Webmin, in order to keep the system running.

What is the output of these two commands:

free -m dmesg | tail -30
~# free -m total used free shared buffers cached Mem: 495 288 206 45 6 83 -/+ buffers/cache: 198 297 Swap: 0 0 0 ~# dmesg | tail -30 [119165.550003] [ 1811] 0 1811 1163 28 6 0 0 getty [119165.550004] [ 2629] 111 2629 1774 103 6 0 0 tlsmgr [119165.550006] [ 3040] 1007 3040 25827 4115 25 0 0 php5-cgi [119165.550008] [ 3323] 1002 3323 24796 1829 20 0 0 php5-cgi [119165.550010] [ 4477] 1012 4477 24829 1947 21 0 0 php5-cgi [119165.550012] [ 4654] 0 4654 13677 11929 29 0 0 /usr/share/webm [119165.550014] [29662] 111 29662 1203 54 5 0 0 pickup [119165.550016] [ 3862] 33 3862 26937 1184 19 0 0 apache2 [119165.550018] [ 3864] 33 3864 26937 1186 19 0 0 apache2 [119165.550019] [ 3878] 33 3878 26938 1193 19 0 0 apache2 [119165.550021] [ 3888] 33 3888 26937 1184 19 0 0 apache2 [119165.550023] [ 4368] 33 4368 26937 1183 19 0 0 apache2 [119165.550025] [ 4372] 33 4372 26937 1189 19 0 0 apache2 [119165.550026] [ 4373] 33 4373 26937 1195 19 0 0 apache2 [119165.550028] [ 4787] 33 4787 26940 1181 19 0 0 apache2 [119165.550030] [ 4788] 33 4788 26931 1163 18 0 0 apache2 [119165.550032] [ 4793] 33 4793 26937 1178 19 0 0 apache2 [119165.550034] [ 4853] 111 4853 1203 54 5 0 0 anvil [119165.550035] [ 4959] 111 4959 1942 163 8 0 0 smtpd [119165.550037] [ 4960] 111 4960 1203 53 5 0 0 proxymap [119165.550039] [ 4961] 111 4961 1205 65 5 0 0 trivial-rewrite [119165.550041] [ 4962] 111 4962 1226 61 5 0 0 cleanup [119165.550042] [ 4963] 0 4963 1213 63 5 0 0 local [119165.550044] [ 4964] 1009 4964 568 18 5 0 0 sh [119165.550046] [ 4965] 1009 4965 689 30 5 0 0 procmail [119165.550051] [ 4970] 1009 4970 1103 73 5 0 0 clam-wrapper.pl [119165.550053] [ 4971] 1009 4971 568 17 4 0 0 sh [119165.550055] [ 4972] 1009 4972 70264 62391 140 0 0 clamscan [119165.550056] Out of memory: Kill process 4972 (clamscan) score 493 or sacrifice child [119165.555927] Killed process 4972 (clamscan) total-vm:281056kB, anon-rss:249564kB, file-rss:0kB

Howdy,

Unfortunately, it looks like you may not have enough RAM to run the services that you’re currently running.

I see messages about the Linux kernel killing processes to free up memory. In addition to Webmin being killed, it also looks like he killed ClamAV too.

You would either need to stop some services to free up RAM, or work with your provider to get more RAM in your server.

-Eric

thanks