Hi,
ich habe auf einem 4.10er FreeBSD Apache 2.0.54 mit php4.10 und einkompiliertem memory_limit laufen.
Setze ich in der php.ini memory_limit auf -1 ( oder andere Werte ), bricht ein Script von mir immer bei 170MB Speicherverbrauch ab.
Die Fehlermeldung dazu: FATAL: erealloc(): Unable to allocate 177459201 bytes
Habe das Script auch per cli aufgerufen, dass selbe Ergebnis. Also dürfte der Apache schonmal nicht der Verursacher sein. Woher kommt dieses Limit? Hat jemand einen Tipp für mich?
Danke und Gruß
Kai
Im Anhang noch 2 Ausgaben --->
-bash-2.05b#ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 524288
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 11095
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 65536
cpu time (seconds, -t) unlimited
max user processes (-u) 5547
virtual memory (kbytes, -v) unlimited
-bash-2.05b# uname
FreeBSD 4.10-RELEASE
ich habe auf einem 4.10er FreeBSD Apache 2.0.54 mit php4.10 und einkompiliertem memory_limit laufen.
Setze ich in der php.ini memory_limit auf -1 ( oder andere Werte ), bricht ein Script von mir immer bei 170MB Speicherverbrauch ab.
Die Fehlermeldung dazu: FATAL: erealloc(): Unable to allocate 177459201 bytes
Habe das Script auch per cli aufgerufen, dass selbe Ergebnis. Also dürfte der Apache schonmal nicht der Verursacher sein. Woher kommt dieses Limit? Hat jemand einen Tipp für mich?
Danke und Gruß
Kai
Im Anhang noch 2 Ausgaben --->
-bash-2.05b#ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 524288
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 11095
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 65536
cpu time (seconds, -t) unlimited
max user processes (-u) 5547
virtual memory (kbytes, -v) unlimited
-bash-2.05b# uname
FreeBSD 4.10-RELEASE