Closed lapete closed 4 years ago
How are you running cliupdate.php
? For php_value
in .htaccess
to work you would need to enable it in Apache config and that would not even apply when running the script from command line. ini_set
might work better but the surest is changing it in php.ini
.
But 512 MB should be more than enough for everything except pathologically big feeds.
Since it runs out of memory when trying to load data from cache, I would try to delete the contents of data/cache
directory. Weirdly, it seems to be missing from your directory listing.
If you increase the logger_level=DEBUG
in your config.ini
, you should see start fetching source …
in the logs that could point you to the last source being fetched.
I simply run php cliupdate.php
.
Deleting the cache worked, thank you!
Selfoss Version 2.18 PHP Version 7.2.33
Every time I run cliupdate.php I do get the following error:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) [vendor/simplepie/simplepie/library/SimplePie/Cache/File.php:126] an error occured%
I tried to increase the limit as suggested here and here, both via the.htaccess
and thecliupdate.php
file, which didn't work or even lead to server errors. The update still seems to work, I do get new articles, but I don't know if it's all of them or if some are missing. Size of the folders in selfoss/data: