Steps to clear unprocessed temporary files in the backend.
Disk space is full due to the *.atf and *.mysql files.
Watch4Net/M&R - 7.x
When the backend hangs or is busy due to multiple simultaneous database tasks, the temporary file count will accumulate.
/opt/APG/Backends/APG-Backend/<INSTANCE>/tmp/
folder (.atf
or .mysql
) are normally processed quickly without accumulating.Steps to force the backend to process temporary files that have not been cleared.
du -h /opt/APG |sort -k1nr |head -n 10
ls -1 | wc -l
.mysql
and .atf
files contain the time series data for Watch4net reports and thus should not be deleted./opt/APG/bin/
and attempt to stop the backend in question. If the backend fails to stop, kill the process:/opt/APG/Backends/APG-Backend/<INSTANCE>/logs/apg-backend-<INSTANCE>.pid
kill -9 <PID>
/opt/APG/bin/manage-modules.sh service start mysql Default
/opt/APG/bin/manage-modules.sh service start backend <INSTANCE>
/opt/APG/Backends/APG-Backend/<INSTANCE>/tmp/
directory is actively reducing: ls -1 | wc -l
/opt/APG/Tools/Webservice-Gateway/Default/logs/gateway-*-*.log
) pertaining to the backend service that was restarted. Delete the .webservice
file and restart the backend service:.webservice
file under /opt/APG/Backends/APG-Backend/<INSTANCE>/
(Note: This file may be hidden; please use the ls -la
command to check for it's existence). /opt/APG/bin/manage-modules.sh service restart backend <INSTANCE>
.webservice
file will be regenerated by the backend service.