VPS Issue /proc/user_beancounters

Discussion in 'Site & Server Administration' started by jsamdirect, Jun 5, 2009.

  1. #1
    I am having issues with a VPS server. I think I am running into memory limits and am trying to verify that I have the amount of memory allocated to the VPS that my plan says I should. It should be 786MB. Seems to me that kmemsize is set lower, maybe 256MB. Am I reading the beancounters correctly?

    cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    3161: kmemsize 5805712 5824013 23040000 25600000 982728
    lockedpages 0 0 4096 4096 0
    privvmpages 87850 87932 315000 350000 0
    shmpages 1647 1647 131072 131072 0
    dummy 0 0 0 0 0
    numproc 58 58 400 400 0
    physpages 26601 26666 0 2147483647 0
    vmguarpages 0 0 23000 2147483647 0
    oomguarpages 26601 26666 9000 2147483647 0
    numtcpsock 30 31 500 500 0
    numflock 11 12 180 200 0
    numpty 2 2 16 16 0
    numsiginfo 0 1 512 512 0
    tcpsndbuf 295152 313040 6441984 10737664 0
    tcprcvbuf 478104 478104 6441984 10737664 0
    othersockbuf 39804 48184 1622016 4160512 0
    dgramrcvbuf 0 0 1536000 1536000 0
    numothersock 32 34 500 500 0
    dcachesize 607259 615505 3979468 4421632 0
    numfile 2224 2240 8192 8192 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    numiptent 56 56 200 200 0
     
    jsamdirect, Jun 5, 2009 IP
  2. gary4gar

    gary4gar Peon

    Messages:
    496
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    failcnt=25600000

    the value ideally should be less than 100, hence clearly you are running out of memory. talk to your host about this.

    And Please provide the output of these commands

    free -m
    ipcs -s
     
    gary4gar, Jun 5, 2009 IP
  3. jsamdirect

    jsamdirect Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Actually, failcnt=982728. This is still to high though. I had the host increase the memory so lets see if it helps. The biggest this is I want to make sure I am getting the 786MB that I should be but I cannot make heads or tails of the kmemsize. Does 25600000 mean 256MB?
     
    jsamdirect, Jun 5, 2009 IP