Log file rapidly filling up drive

NethServer Version: 7.8.2003
Module: Nextcloud CODE

I’m getting an error logged with Nextcloud several times a second and it’s causing the drive to fill up in a matter of a week or two. I have to periodically delete that log file to clear the used up space.

The log is at /var/opt/rh/rh-php73/log/php-fpm/error-nextcloud.log
Here is the message repeating for 10s of gigabytes:

[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:28 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:29 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253
[03-Sep-2020 01:51:29 UTC] PHP Warning:  fsockopen(): unable to connect to localhost:9982 (Connection refused) in /usr/share/nextcloud/apps/richdocumentscode/proxy.php on line 253

Any help would be greatly appreciated. Thanks!

Same problem was solved at the following thread:

1 Like

What is the content of that line in proxy.php?