Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Not real memory in VPS
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Not real memory in VPS

Hi, I have my 3th DNSONLY server in Host1plus.com VPS with 512MB of RAM and I get memory errors when it should have most of the memory available.

Look here: http://snag.gy/17vpX.jpg

And here: http://snag.gy/a7ODN.jpg

I should say that's an overselling issue, there's no real memory for the VPS instances, right ?

Comments

  • Looks like cache is eating your RAM, run this to clear it -

    free && sync && echo 3 > /proc/sys/vm/drop_caches && free

  • @linuxthefish - I'll check

    @rmlhhd I get error:

    root@wns3 [/]# free && sync && echo 3 > /proc/sys/vm/drop_caches && free
                 total       used       free     shared    buffers     cached
    Mem:        524288     522376       1912          0          0     475232
    -/+ buffers/cache:      47144     477144
    Swap:       262144     111856     150288
    -bash: /proc/sys/vm/drop_caches: Permission denied
    
  • What is output of free -m ?

  • Ah, got that.

    You've 477144 MB RAM free. Check http://www.linuxatemyram.com for reference.

  • Can you tell me that which SSH client are you using ?

    Seems better than putty.

  • StephenIzzy said: Can you tell me that which SSH client are you using ?

    MobaXterm --> mobaxterm.mobatek.net

  • root@wns3 [/]# free -m
                 total       used       free     shared    buffers     cached
    Mem:           512        491         20          0          0        422
    -/+ buffers/cache:         68        443
    Swap:          256         85        170
    root@wns3 [/]#
    
  • AlbaHostAlbaHost Member, Host Rep

    @KeyJey said:
    linuxthefish - I'll check

    rmlhhd I get error:

    root@wns3 [/]# free && sync && echo 3 > /proc/sys/vm/drop_caches && free
    total used free shared buffers cached
    Mem: 524288 522376 1912 0 0 475232
    -/+ buffers/cache: 47144 477144
    Swap: 262144 111856 150288
    -bash: /proc/sys/vm/drop_caches: Permission denied

    Permission denied because i assume your vps are openvz, and not xen/kvm. To perform drop caches are available in xen/kvm but not in openvz.

  • hostnoobhostnoob Member
    edited October 2014

    @StephenIzzy said:
    Ah, got that.

    You've 477144 MB RAM free. Check http://www.linuxatemyram.com for reference.

    KB :P

  • jarjar Patron Provider, Top Host, Veteran
    edited October 2014

    cat /proc/user_beancounters

    No buffer space available sounds like you're hitting tcpsndbuf, tcprcvbuf, or othersockbuf. You may also be hitting the limit for iptables rules in the container configuration. You're running CSF, I'm willing to bet you've opted to ban countries in the firewall. That's usually the reason I see people hitting that limit with iptables on VZ.

    For memory, the value of physpages (what is reflected in free command) is not your sole memory limitation. You should see what limit you are hitting from the same output as above.

    Thanked by 1netomx
  • HSNHSN Member

    What plattform are they using for vps servers? Is that based on openvz?

Sign In or Register to comment.