Hi guys,
I have Seafile running in a docker container, on Unraid, and it has been running very smoothly for the past couple of months. However, a couple of weeks ago I noticed that the CPU has started to spike very 5 minutes, precisely. After a bit of investigation, and looking at the running processes, the culprit seems to be the send_file_updates
script, as can be seen in the screenshot below.
Checking the logs also confirms that it is running precisely every 5 minutes, as is evident in the file_updates_sender.log
.
[2024-07-05 20:39:55.854150] Start sending file updates emails...
[2024-07-05 20:39:55.855415] Finish sending file updates emails.
[2024-07-05 20:44:56.981069] Start sending file updates emails...
[2024-07-05 20:44:56.982195] Finish sending file updates emails.
[2024-07-05 20:49:58.108328] Start sending file updates emails...
[2024-07-05 20:49:58.109705] Finish sending file updates emails.
[2024-07-05 20:54:59.230314] Start sending file updates emails...
[2024-07-05 20:54:59.231392] Finish sending file updates emails.
[2024-07-05 21:00:00.356757] Start sending file updates emails...
[2024-07-05 21:00:00.357850] Finish sending file updates emails.
The earliest entry in these logs are from a couple of weeks ago, which also confirms that this only recently started happening.
Checking the seafevents.log
after stopping and starting the container, now also has an entry for starting the service at an interval of 300
seconds, i.e. 5 minutes.
[2024-07-05 20:34:54,885] [INFO] Start file updates sender, interval = 300 sec
I had not made any changes to the server prior to this occurring, and was left running perfectly fine for a couple of months. Any idea as to why this suddenly has started happening, and is there a way to disable it?
Things I’ve tried
- Upgraded from CE to PE
- Disabled all forms of e-mail notifications
- Enabled notification server
- Clearing the
UserActivity
table as was suggested in another post (can’t seem to insert links)
Another user seems to have a similar issue, but was never able to fix it, and no solution was proposed (again, can’t seem to insert links to the post).
So I’m hoping with a bit more documentation, that we will be able to get to the bottom of this.
Thanks guys.