free -m output
free -m
total used free shared buffers cached
Mem: 12288 10790 1497 0 1773 6903
-/+ buffers/cache: 2113 10174
Swap: 10207 0 10207
Server is CentOS release 5.11.
Seems like the issue is the user account doesnt have enough memory allocation allowed.
ulimit -a
core file size (blocks, -c) 200000
data seg size (kbytes, -d) 200000
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 98304
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) 200000
open files (-n) 100
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 35
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
I am trying to find an option to increase this just for this user in cpanel. Also found that the Shell fork bomb protection could also be the reason for this issue. Still working on it