Howdy, Stranger!

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


In this Discussion

fork: Cannot allocate memory after each command
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.

fork: Cannot allocate memory after each command

postcdpostcd Member
edited July 2016 in Help

Hello, this is an OpenVZ VPS with Debian Linux.

it is 128MB RAM and 256MB with burst. But after each command i see fork error. Can you please help to discover where the issue lies and how i can remove this error without upgrading RAM which seems to be alot of free? Thank You

root@uanmoqfh # w

08:11:21 up 11:54, 0 users, load average: 0.01, 0.01, 0.00

USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

-bash: fork: Cannot allocate memory

root@uanmoqfh # free -mt

total used free shared buffers cached

Mem: 256 68 187 0 0 34

-/+ buffers/cache: 34 221

Swap: 256 8 247

Total: 512 76 435

-bash: fork: Cannot allocate memory

root@uanmoqfh # df -h

Filesystem Size Used Avail Use% Mounted on

/dev/simfs 4.9G 540M 4.4G 11% /

tmpfs 128M 0 128M 0% /lib/init/rw

tmpfs 128M 0 128M 0% /dev/shm

-bash: fork: Cannot allocate memory

Comments

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    cat /proc/user_beancounters , you're hitting a limit there.

    Francisco

    Thanked by 1postcd
Sign In or Register to comment.