This webpage is not available

I have a weird problem with Virtualmin basically locking itself every now and then, returning “This webpage is not available”. Once I reboot my server it starts working after a minute or so. What could be the problem?

Debian 6 32bit

Howdy,

Is it just Virtualmin that’s unavailable during that time? Or is it all services on your system?

Are you by chance using a VPS of some sort?

What is the output of these two commands:

free -m cat /proc/user_beancounters

Yup… An OpenVZ VPS. All the services work ok, that’s why I didn’t really relate the problem to OpenVZ. The used memory is always high though,- around 700-800 out of 1024 mbs.

total used free shared buffers cached Mem: 1024 782 241 0 0 0 -/+ buffers/cache: 782 241 Swap: 0 0 0
        numpty                          1                    1               500000               500000                    0
        numsiginfo                      0                   29               999999               999999                    0
        tcpsndbuf                  338352              3599032            214748160            396774400                    0
        tcprcvbuf                  294912              2003864            214748160            396774400                    0
        othersockbuf               251424              1079528            214748160            396774400                    0
        dgramrcvbuf                     0                21600            214748160            396774400                    0
        numothersock                  149                  226              7999992              7999992                    0
        dcachesize                1148479              1246135           2147483646           2147483646                    0
        numfile                      2886                 4328             23999976             23999976                    0
        dummy                           0                    0                    0                    0                    0
        dummy                           0                    0                    0                    0                    0
        dummy                           0                    0                    0                    0                    0
        numiptent                      14                   14               999999               999999                    0

Providers of OpenVZ containers almost always oversell their hardware.
For you as a customer it means almost always not the resources available as to what you have bought.

OpenVZ is great for providers as they use low resources but bad for customers for reasons I just mentioned …

I know about that, however in my case it is just fine for my needs. The only problem is that Virtualmin admin panel locks itself. Everything else, - Apache, MySQL etc work ok.

as I have had my own experience with OpenVZ and virtualmin not reachable while all services are running, I would say it’s a memory issue.
Since then I have moved to xen with same memory and issues were gone.
Not saying that goes for you too but it sounds like it though

Dan, it looks like the user_beancounters file you shared there is missing some lines from the top.

Is that by chance a copy and paste issue, or is that all there is in your user_beancounters file?

It appears that the memory related lines of that file aren’t in there, so it’s difficult to see what’s going on with your RAM.

However, I agree with Ronald that it’s likely a RAM issue. What you may want to do is go through and free up some RAM.

A good place to start would be to disable services you don’t need – you can do that in Webmin -> System -> Bootup and Shutdown.

For example, a lot of folks don’t need Mailman and Postgres.

There’s some other low memory thoughts here:

https://www.virtualmin.com/documentation/system/low-memory