User Tools

Site Tools


f06-hpc_new_api

Diggi, there is a long-lost-running api in frontend06-hpc (The name is “new_api”), that the logs are not rotating. So, from time to time, the partition /mnt/storage if full. This document, tries to explain the procedure to solve that. Basically, the person needs just to rm the log, on /home/picalike/logs, and than restart the uwsgi aplication.

BEFORE: dokuwiki_lib_exe_fetch.php

AFTER: dokuwiki_lib_exe_fetch.php

LOG FILE: dokuwiki_lib_exe_fetch.php

So:

  • rm ~/logs/new_api.log
  • echo 'q' > /run/shm/new_api.ctrl
  • uwsgi –ini /mnt/storage/var/etc/new_api.ini &
  • ## Check if is running
  • less ~/logs/new_api.log
f06-hpc_new_api.txt · Last modified: 2024/04/11 14:23 by 127.0.0.1