Log file execute.log, located at /share/Rdownload/logs is constantly growing in size.
File will grow until my machine runs out of space on Volume.
I would like to know if there is setting that can cap the file size or not create the log file at all.
Below is an example of the file size after only 20 mins
95% of the log is filled with repeated entries of:
Inspecting limits.php shows the function on line 278
But i am no knowledgeable enough in PHP to fix it.
The same log picture plays out in the crash report folders /share/Rdownload/reports/crash*
Things I have attempted so far:
Let me know if there is additional settings I can try / debug I can provide that can assist in finding a solution.
Not sure if I inadvertently edited a setting, but I thought I had done a clean install of the package on my NAS.
Firmware version: 4.4.1.1146 2019/12/06
Model name: QNAP TVS-473
rtorrent-Pro 0.9.7-0912
File will grow until my machine runs out of space on Volume.
I would like to know if there is setting that can cap the file size or not create the log file at all.
Below is an example of the file size after only 20 mins
95% of the log is filled with repeated entries of:
Kod:
PHP Warning: stristr(): Empty needle in /share/CACHEDEV1_DATA/.qpkg/rtorrent/var/www/ui/rtorrent/plugins/plimits/limits.php on line 278
PHP:
public function checkPublic( $trackers )
{
foreach( $this->trackers as $trk )
if( stristr( $trackers, $trk )!==false )
return(true);
return(false);
}
The same log picture plays out in the crash report folders /share/Rdownload/reports/crash*
Things I have attempted so far:
- Launching rtorrent-Pro and then deleting execute.log as admin via the shell
Pros: execute.log is not regenerated
Cons: ruTorrent web console complains that RSS Feeds cannot be loaded.
RSS Rules not honored / torrents that match rules in RSS manager are not fetched.
- Create a crontab entry to constantly null out the log file every minute
Edit /etc/config/crontab and add entry
Kod:* * * * * >/share/Rdownload/logs/execute.log
Kod:crontab /etc/config/crontab && /etc/init.d/crond.sh restart
Cons: Log is still writing to disk constantly.
Let me know if there is additional settings I can try / debug I can provide that can assist in finding a solution.
Not sure if I inadvertently edited a setting, but I thought I had done a clean install of the package on my NAS.
Firmware version: 4.4.1.1146 2019/12/06
Model name: QNAP TVS-473
rtorrent-Pro 0.9.7-0912