Closed linuxitux closed 8 years ago
Solved increasing memory_limit to 1024M in php.ini
;memory_limit = 128M
memory_limit = 1024M
Maybe it makes sense to use inline code such as:
ini_set("memory_limit", "1024M");
Out of curiosity: how big is your ssl_access.log
? is it really big or has LORG a memory leak somewere? Using the -n
flag sould also work for low-mem systems as line-for-line is processed without generation of large datasets in memory.
Kind of, it size is 630 MB:
emi@hal9000:~/scripts/lorg % ll -h ~/ssl_access.log
-rw-r----- 1 emi wheel 630M Jul 11 13:29 /home/emi/ssl_access.log
I had this error running lorg (LORG v0.41 | Sat Jun 15 20:20:22 CEST 2013):
./lorg -d phpids -u -g ~/ssl_access.log