OpenVZ Forum


Home » General » Support » VPS with huge server load
VPS with huge server load [message #31672] Sat, 05 July 2008 23:28 Go to next message
crux is currently offline  crux
Messages: 11
Registered: July 2008
Junior Member
hi!

I have a huge page in a VPS

at the weekends, the server get huuuuuuuuuuuuuge server load all the time. and I dont know what limits I should set in 103.conf

check my /proc/user_beancounters


Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      103:  kmemsize       34227907   36289650 2147483647 2147483647          0
            lockedpages           0          8 2147483647 2147483647          0
            privvmpages      255750     309074 2147483647 2147483647          0
            shmpages           2564       9808 2147483647 2147483647          0
            dummy                 0          0          0          0          0
            numproc             437        445 2147483647 2147483647          0
            physpages        138321     177744 2147483647 2147483647          0
            vmguarpages           0          0 2147483647 2147483647          0
            oomguarpages     138321     177744 2147483647 2147483647          0
            numtcpsock          282        345 2147483647 2147483647          0
            numflock            135        143 2147483647 2147483647          0
            numpty                0          0 2147483647 2147483647          0
            numsiginfo           59        281 2147483647 2147483647          0
            tcpsndbuf       3019896    3782400 2147483647 2147483647          0
            tcprcvbuf       4620288    5644840 2147483647 2147483647          0
            othersockbuf     168680     382072 2147483647 2147483647          0
            dgramrcvbuf           0      27840 2147483647 2147483647          0
            numothersock        202        254 2147483647 2147483647          0
            dcachesize            0          0 2147483647 2147483647          0
            numfile           15564      16617 2147483647 2147483647          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         45 2147483647 2147483647          0




The server is:
AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
6GB RAM



I would appreciate some advices Smile
Re: VPS with huge server load [message #31786 is a reply to message #31672] Thu, 10 July 2008 00:24 Go to previous message
adeeln is currently offline  adeeln
Messages: 6
Registered: July 2007
Junior Member
Setting the resources for a VE is more of an art than a science, as it depends entirely upon what services you're running in the VE. If you don't expect the machine to exceed the current maxheld values, then you can set your resources a little higher than the maxheld values. If you need a large dynamic range, there's no harm in giving it, as OpenVZ only allocates resources when they're used, otherwise they're available for other uses. These limits are a resource gaurentee, so when the system is under load, each VE will still receive their listed amount. Now if they aren't set properly, the VE's can suffer (same with the HN). The wiki has a lot of information on the UBC's and different ways to split the resources, but the great thing is that you can always fine tune a value later on without having to restart or anything, and it can be a temporary change or a permanent one.
Previous Topic: Max disk space limit in vps?
Next Topic: cPanel + OpenVZ ?
Goto Forum:
  


Current Time: Sun Aug 11 18:35:22 GMT 2024

Total time taken to generate the page: 0.03692 seconds