Tuesday 29 January 2013

Newznab PHP Memory Errors

Since the last big update have started to have Newznab crash out with the old "Allowed memory size exhausted" error so have edited the following scripts:


sudo nano /etc/php/cli/php.ini

Look for memory_limit, and either set it to 256MB, or -1 for no limit:
memory_limit = -1

(I had it set to 256M but now trying -1...systems has 1GB in total ram on the virtual)

Also

apache php.ini
sudo nano /etc/php5/apache2/php.ini

and find memory_limit and set it so
memory_limit = -1

No comments:

Post a Comment