Hello,
I'm trying to recompile php 5.3.2 with fileinfo enabled but without any success - always getting error about insufficient memory... I know it may require up to 1GB so I changed the limitations using ulimit and I've put in both .bashrc and .bash_profile:
Vesko Kenashkov
I'm trying to recompile php 5.3.2 with fileinfo enabled but without any success - always getting error about insufficient memory... I know it may require up to 1GB so I changed the limitations using ulimit and I've put in both .bashrc and .bash_profile:
Additionally the setting "The maximum memory a cPanel process can use before it is killed off (in megabytes)" is set to 1024MB. Here is the output from ulimit -a:ulimit -v unlimited
ulimit -m unlimited
Still when I start /scripts/easyapache from command line it always prints:ulimit -a said:root@server1 [~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 16126
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 16126
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Why virtual memory and max memory size are still 512MB ? I couldn't find any way around this and I always get out of memory error when the compile process reaches fileinfo extension. Any help would be greatly appreciated./bin/sh -c "ulimit -a" said:Ouput from '/bin/sh -c "ulimit -a"':
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 16126
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) 524288
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 16126
virtual memory (kbytes, -v) 524288
file locks (-x) unlimited
Vesko Kenashkov