fork: Cannot allocate memory after each command

P

postcd

Guest
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
 


I was adviced to check bean counters because im hitting some of the limits there:
cat /proc/user_beancounters
If yes, if there are fail counts (failcnt), then i need to ask my VPS provider to raise that limit.
 

Members online

No members online now.

Top