Tout d'abord meilleurs vœux pour cette nouvelle année.
Depuis lundi, suite à 15 jours de vacances, notre serveur wapt tombe en carafe en saturant le HD de fichiers postgresql dans /var/lib/postgresql/9.6/main/base/16385/
avec des fichiers atteignant la taille de 1048576 Kb jusqu'à saturation du HD.
Ci-après la configuration de notre serveur virtuel :
- Version wapt 1.7.4.6165
- OS Debian 4.9
- 4 Go RAM
- 40 Go HD
Lors du démarrage de la console, le message d'erreur ci-après s'affiche :
Unable to get hosts list : Error on server:
OperationalError('could not connect to the server: No such file or directory\n\tls the server running locally and accepting \n\tconnections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432."?\n',)
Ci après le résultat de service waptserver status
waptserver.service - WAPT Server startup script
Loaded: loaded (/usr/lib/systemd/system/waptserver.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-01-07 12:17:02 CET; 8h ago
Main PID: 664 (python)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/waptserver.service
└─664 /opt/wapt/bin/python /opt/wapt/waptserver/server.py
janv. 07 20:40:36 srv-wapt15 python[664]: conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
janv. 07 20:40:36 srv-wapt15 python[664]: OperationalError: could not connect to server: No such file or directory
janv. 07 20:40:36 srv-wapt15 python[664]: Is the server running locally and accepting
janv. 07 20:40:36 srv-wapt15 python[664]: connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
janv. 07 20:40:36 srv-wapt15 python[664]: , instance:
janv. 07 20:40:36 srv-wapt15 python[664]: 2020-01-07 20:40:36,449 CRITICAL SocketIO pong error for uuid 4C4C4544-004B-3710-8059-B1C04F4D3632 and sid b270e
janv. 07 20:40:36 srv-wapt15 python[664]: File "/opt/wapt/waptserver/server_socketio.py", line 278, in on_wapt_pong
janv. 07 20:40:36 srv-wapt15 python[664]: with wapt_db.atomic() as trans:
janv. 07 20:40:36 srv-wapt15 python[664]: File "/opt/wapt/lib/python2.7/site-packages/peewee.py", line 3533, in __enter__
janv. 07 20:40:36 srv-wapt15 python[664]: return self._helper.__enter__()
La restauration de cette VM à un état antérieur ne résout pas le problème : au bout de quelques minutes le phénomène se reproduit.
Des idées svp ?
Merci de vos retours