First of all, best wishes for the new year.
Since Monday, following a 15-day holiday, our Wapt server has crashed, saturating the hard drive with PostgreSQL files in /var/lib/postgresql/9.6/main/base/16385/
with files reaching a size of 1048576 Kb until the HD is saturated.
Below is the configuration of our virtual server:
- Wapt version 1.7.4.6165
- OS Debian 4.9
- 4 GB RAM
- 40GB HD
When the console is started, the following error message is displayed:
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',)
Below is the result of waptserver service 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
Jan 07 20:40:36 srv-wapt15 python[664]: conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
Jan 07 20:40:36 srv-wapt15 python[664]: OperationalError: could not connect to server: No such file or directory
Jan 07 20:40:36 srv-wapt15 python[664]: Is the server running locally and accepting
Jan 07 20:40:36 srv-wapt15 python[664]: connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Jan 07 20:40:36 srv-wapt15 python[664]: , instance:
Jan 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
Jan 07 20:40:36 srv-wapt15 python[664]: File "/opt/wapt/waptserver/server_socketio.py", line 278, in on_wapt_pong
Jan 07 20:40:36 srv-wapt15 python[664]: with wapt_db.atomic() as trans:
Jan 07 20:40:36 srv-wapt15 python[664]: File "/opt/wapt/lib/python2.7/site-packages/peewee.py", line 3533, in __enter__
Jan 07 20:40:36 srv-wapt15 python[664]: return self._helper.__enter__()
Restoring this VM to a previous state does not solve the problem: after a few minutes the phenomenon recurs.
Any ideas, please?
Thank you for your feedback
