====== UWSGI PCI ====== this service lives on pci01.picalike.corpex-kunden.de Its representing the interface (endpoints) for visualytics. ===== Operations ===== * uwsgi is designed to keep running and to keep the configured number of subprocesses running (configs are in /mnt/storage/var/etc) * communication with the master process is possible through “Pipe” files in /run/shm (see configs) * if “pipe files” are missing, restart the services ( e.g. kill -9 $(pgrep -f uwsgi) ) * for (re)starting follow instructions in TODO_restart.txt ===== Known Issues ===== The log file grows and fills the hard drive. To trigger a logrotate:
    * manually rename the current log file (the service will still write to that renamed file) * trigger a logrotate and restart all the child processes: echo lr > /run/shm/.ctrl * check that the renamed file does not receive any more entries * remove the renamed file
===== keywords ===== pci upci log rotate