How to know why webmin or virualmin isnt accesible

6 posts / 0 new
Last post
#1 Tue, 03/27/2012 - 03:04
dakser

How to know why webmin or virualmin isnt accesible

Hi, can you tell me how to know why webmin and virtualmin stops working? The only solution i have founded is to restart webmin with $sudo /etc/init.d/webmin restart but it dont fixes the problem. Some times i need to try more than once "$sudo /etc/init.d/webmin restart" and it tells me "cannot allocate memory". Sometimes only webmin/virtualmin is down because i can acces my website without problem. I have this problem sometimes after sending mail, doesnt matter if i send 5000 emails or 20,000, it crashes webmin and all stops working and i cant acces even my website. I have a VPS with 1gb Ram and it always indicate that i have 412-560 in use. I will thank any help.

Tue, 03/27/2012 - 07:42
Locutus

Are you using a OpenVZ based VPS? Those are known to not really play nice with Virtualmin, as they randomly kill processes when resource consumption (not necessarily only memory) reaches its limit.

Details you find in the file /proc/user_beancounters

Tue, 03/27/2012 - 21:03
dakser

Im on URPAD.net and i can see that its OpenVZ. Theres is something that i can do to make it work better? Again virtualmin shutdown and cant acces to mywebsite:10000 but the frontend of my website is up and servics working.

[root@server1 ~]# vi /proc/user_beancounters
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
     1788:  kmemsize                  8848765             19341336           2147483646           2147483646                    0
            lockedpages                  8187                 8205               999999               999999                    0
            privvmpages                110739               200656               393216               393216                    0
            shmpages                     3434                 4808               262144               262144                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        79                  150                  150                  150                11188
            physpages                   50737               117186                    0           2147483647                    0
            vmguarpages                     0                    0               262144           2147483647                    0
            oomguarpages                50819               117269               262144           2147483647                    0
            numtcpsock                     21                  198              7999992              7999992                    0
            numflock                        8                  102               999999               999999                    0
            numpty                          1                    2               500000               500000                    0
            numsiginfo                      0                  149               999999               999999                    0
            tcpsndbuf                  371960              6968496            214748160            396774400                    0
            tcprcvbuf                  344064              3289192            214748160            396774400                    0
            othersockbuf               286344              1067216            214748160            396774400                    0
            dgramrcvbuf                     0               263408            214748160            396774400                    0
            numothersock                  161                  564              7999992              7999992                    0
            dcachesize                      0                    0           2147483646           2147483646                    0
            numfile                      3212                 8307             23999976             23999976                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      40                   41               999999               999999                    0

Thanks so much.

Tue, 03/27/2012 - 22:09
andreychek

Howdy,

It looks like you're running into your OpenVZ "numproc" limit. That means your provider has a limit on the number of processes you can run in your VPS, and you've been reaching that limit (11,188 times to be exact).

That's likely the cause of the problems you're seeing.

One option is to reduce the number of processes you're running, by disabling services you don't need.

However, you may also want to talk to your provider about getting a higher numproc limit.

-Eric

Tue, 03/27/2012 - 23:59
dakser

Thanks so much, they modified numproc to 999999. I Hope it works better with that change. Thanks for your advice, otherway i wouldnt know what was happening.

Wed, 03/28/2012 - 04:33
Locutus

You're welcome. :)

Topic locked