How To: Determining how many 'VPS neighbors' you have or if you are on an oversold OpenVZ node

Discussion in 'Tutorials and Guides' started by MannDude, May 7, 2015.

  1. Awmusic12635

    Awmusic12635 Active Member Verified Provider

    327
    92
    May 3, 2013
    I think you win
     
    drmike likes this.
  2. SentinelTower

    SentinelTower New Member

    41
    17
    Nov 25, 2014
    Wow, this is a nice piece of information. Is there a way for providers to hide this file? However this only gives us the number of containers, how can we know if the node is oversold ?
     
  3. Amitz

    Amitz New Member

    427
    179
    May 15, 2013
    Damn. I just thought "Cool, let me check that on my VMs!" until I realised that I only have XEN VMs and dedicated servers in the meantime... Not a single OVZ left. What a pity.
     
    Last edited by a moderator: May 8, 2015
    Geek, Licensecart and drmike like this.
  4. tmzVPS-Daniel

    tmzVPS-Daniel Active Member Verified Provider

    115
    39
    Jan 12, 2014
    FINALLY! A way to prove clients that you do not over-sell. 

    - Daniel :)
     
    drmike and Geek like this.
  5. Geek

    Geek Technolojesus Verified Provider

    404
    229
    May 31, 2014
    __geek__
    You're welcome.
     
  6. Kalam

    Kalam New Member

    57
    26
    May 16, 2013
    Hmm, apparently every single OpenVZ I have from multiple providers is running an older kernel.
     
    drmike likes this.
  7. dabtech

    dabtech New Member

    9
    7
    Feb 1, 2014
    XVM Labs

    Code:
    [email protected]:~# cat /proc/cgroups
    #subsys_name	hierarchy	num_cgroups	enabled
    cpuset	2	583	1
    cpu	2	583	1
    cpuacct	2	583	1
    devices	3	582	1
    freezer	3	582	1
    net_cls	0	1	1
    blkio	1	583	1
    perf_event	0	1	1
    net_prio	0	1	1
    
     
    HalfEatenPie and drmike like this.
  8. Fusl

    Fusl New Member

    5
    4
    Nov 20, 2014
    Better don't host anything on my test host node at home:


    [[email protected]:~] vzctl exec $(vzlist -1 | head -1) "cat /proc/cgroups"
    Executing command: cat /proc/cgroups
    #subsys_name hierarchy num_cgroups enabled
    cpuset 3 19275 1
    cpu 3 19275 1
    cpuacct 3 19275 1
    devices 4 19274 1
    freezer 4 19274 1
    net_cls 0 1 1
    blkio 1 19275 1
    perf_event 0 1 1
    net_prio 0 1 1
    memory 2 19274 1

    And I wonder why it's so really f***ing hot there...
     
    HalfEatenPie likes this.
  9. William

    William pr0 Verified Provider

    440
    191
    Oct 10, 2013
    No, it won't work on Vserver and never will. OpenVZ only. No LXC either.
     
    HalfEatenPie and DomainBop like this.
  10. HalfEatenPie

    HalfEatenPie The Irrational One Retired Staff

    2,890
    1,386
    Mar 25, 2013
    HalfEatenPie
    I'm pretty sure general logical reasoning can be applied here.

    Assuming how beefy the host node is (if they tell you that is...), what kind of configuration they have, you can roughly assume if it's oversold or not. 

    As a general rule of thumb, an E3 node should not have 200 VPSes on it.  Or in matthew's case, several hundreds on a single hard drive setup >.>

    That...  What do you even run locally that requires that many OpenVZ VPSes?!!!!  I can't even find a reason to run more than 10 VPSes locally!
     
    Last edited by a moderator: May 11, 2015
    Geek, drmike and QuadraNet_Adam like this.
  11. Fusl

    Fusl New Member

    5
    4
    Nov 20, 2014
    OpenVZ w/ ploop on an NFS4 mount - Functional and performance testing for the love of OpenVZ :)
     
    Geek likes this.
  12. dcdan

    dcdan New Member Verified Provider

    171
    54
    Aug 18, 2013
    If you don't mind me asking, what OS template were you using?

    Also, how many processes do you see on the host node? (ps aux | wc -l)

    Thanks
     
  13. Mid

    Mid New Member

    111
    24
    May 4, 2014
    testing 19273 times !

    Sorry to say, but please check with a doc whether you have 'OCD'. Seriously.
     
  14. Mid

    Mid New Member

    111
    24
    May 4, 2014
    I am not a admin or hosting guy, but just a casual user 

    The os should be debian/ubuntu/cent, asking for reliability?

    processes must be 19273+x  where x < 100 

    :)
     
  15. dcdan

    dcdan New Member Verified Provider

    171
    54
    Aug 18, 2013
    Well there are two reasons why I am curious:

    1) Process count. After about 50000 processes on the host node it will start locking up. If each VPS runs 3 processes (absolute minimum, basically just init and two kernel processes) that's already almost 60000.

    2) Even a minimal centos install times 19273 equals 10 TB of data

    :)
     
  16. HalfEatenPie

    HalfEatenPie The Irrational One Retired Staff

    2,890
    1,386
    Mar 25, 2013
    HalfEatenPie
    I'm 100% sure @Fusl knows what he's doing ;)  I mean it was even said that it was for performance testing, so obviously you're going to see some people trying to push the boundaries outside of normal parameters.  
     
  17. dcdan

    dcdan New Member Verified Provider

    171
    54
    Aug 18, 2013
    By no means I implied otherwise. Just genuinely curious.
     
    HalfEatenPie likes this.
  18. MannDude

    MannDude Just a dude vpsBoard Founder Moderator

    5,036
    2,634
    Mar 8, 2013
    MannDude
  19. drmike

    drmike 100% Tier-1 Gogent

    8,573
    2,717
    May 13, 2013
    Shame, what sorry sports.  It was an honesty feature that made at least one piece of data transparent on providers servers.

    Can't have that sort of thing happening :)  Must mask the real values... 

    What's wrong, a bunch of providers ashamed of their load numbers getting out in public?
     
  20. MartinD

    MartinD Retired Staff Retired Staff Verified Provider

    1,410
    1,278
    May 15, 2013
    Could always overcome it with a level of slabbing.