Steps to clear unprocessed temporary files in the backend. Disk space is full due to the *.atf and *.mysql files.
Watch4Net/MnR - 7.x
When the backend hangs or is busy due to multiple simultaneous database tasks, the temporary file count will accumulate.
<APG_BASE>/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 <APG_BASE> |sort -k1nr |head -n 10
ls -1 | wc -l
.mysql
and .atf
files contain the time series data for Watch4net/MnR reports and thus should not be deleted.<APG_BASE>/bin/
and attempt to stop the backend in question. If the backend fails to stop, kill the process:<APG_BASE>/Backends/APG-Backend/<INSTANCE>/logs/apg-backend-<INSTANCE>.pid
kill -9 <PID>
<APG_BASE>/bin/manage-modules.sh service start mysql Default
<APG_BASE>/
bin/manage-modules.sh service start backend <INSTANCE>
<APG_BASE>/B
ackends/APG-Backend/<INSTANCE>/tmp/
directory is actively reducing: ls -1 | wc -l
<APG_BASE>/T
ools/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 <APG_BASE>/B
ackends/APG-Backend/<INSTANCE>/
(Note: This file may be hidden; please use the ls -la
command to check for it's existence). <APG_BASE>/bin/manage-modules.sh service restart backend <INSTANCE>
.webservice
file will be regenerated by the backend service.