Database issues when using persistent storage
Lallassu opened this issue · 1 comments
Lallassu commented
When configuring the container to mount /var/lib/openvas/mgr it starts to get a lot of database issues when fetching reports through OMP.
Running docker with:
-v $(pwd)/openvas_data:/var/lib/openvas/mgr/
Produces the following when executing "<get_reports />" through the OMP protocol.
md manage:WARNING:2018-10-18 11h22.08 UTC:5047: sql_exec_internal: sqlite3_step failed: interrupted
md manage:WARNING:2018-10-18 11h22.08 UTC:5047: sql_x_internal: sql_exec_internal failed
md manage:WARNING:2018-10-18 11h22.08 UTC:5047: sql_close: attempt to close db with open statement(s)
The directory is filled with the tasks.db etc.
Works fine when not mounting the persistent storage.
Lallassu commented
Was due to a timeout where connection was closed before fully fetched reports.