upci
Table of Contents
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:
<HTML><ol></HTML>
- 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/<pipe file>.ctrl
- check that the renamed file does not receive any more entries
- remove the renamed file<HTML></ol></HTML>
keywords
pci upci log rotate
upci.txt · Last modified: 2024/04/11 14:23 by 127.0.0.1