jchonig / docker-mmonit

A container to run M/Monit
Creative Commons Zero v1.0 Universal
10 stars 4 forks source link

Mmonit 4.02 crashes regularly ? #17

Closed roe1974 closed 7 months ago

roe1974 commented 7 months ago

Hi Since 4.02 my Mmonit Docker crashes regularly. Here is the error log. Is there anything to recognise? br Richard

2024-01-18 10:04:18 mmonit 4.0.2 is shutting down.. (please wait) 2024-01-18 10:04:38 mmonit 4.0.2 started 2024-01-18 10:28:44 [client 172.17.0.1] could not read request body -- read timed out 2024-01-18 10:35:49 [client 172.17.0.1] HTTP 408 Request Timeout 2024-01-18 11:16:00 [client 172.17.0.1] HTTP 408 Request Timeout 2024-01-18 13:18:02 [client 172.17.0.1] HTTP 408 Request Timeout 2024-01-18 14:27:57 [client 172.17.0.1] HTTP 408 Request Timeout 2024-01-19 03:00:05 SQLException: database is locked when storing hostid 8 statistics 2024-01-19 03:00:05 SQLException: database is locked when storing hostid 8 statistics 2024-01-19 03:00:05 SQLException: database is locked when storing hostid 1114 statistics 2024-01-19 03:00:05 SQLException: database is locked when storing hostid 94 statistics 2024-01-19 03:00:05 SQLException: database is locked when storing hostid 1114 statistics 2024-01-19 03:00:05 SQLException: database is locked when storing hostid 733 statistics 2024-01-19 04:00:00 Scheduler: task StatisticsManager cleanup: SQLException: database is locked 2024-01-19 04:00:00 StatisticsManager events aggregation: SQLException: database is locked 2024-01-19 08:54:51 [client 172.17.0.1] HTTP 408 Request Timeout 2024-01-19 08:55:49 [client 172.17.0.1] HTTP 408 Request Timeout 2024-01-19 09:10:31 mmonit 4.0.2 is shutting down.. (please wait) 2024-01-19 09:10:57 mmonit 4.0.2 started

sseide commented 7 months ago

MMonit 4.0.2 runs smoothly since 6 weeks on our side. No problems so far. We are using an external MariaDB database. What do you use? Looks more like a database problem or table corruption than MMonit problem.

roe1974 commented 7 months ago

I use the internal sqlite database. The container is running on a synolgy NAS.

sseide commented 7 months ago

Have no clue about SQLite. But its an support issue for Tildeslash, not here i think. The docker image itself is running fine. Its MMonit not being able to cope with the locking and exits.

roe1974 commented 7 months ago

OK, will rise a ticket there ... thx !