Hi,
On 25. Feb 2020, at 9:40 , Stefan Seyfried
wrote: I recently noticed that this file is quite huge in our installation:
2.8G /srv/obs/events/lastnotifications
Can this file be removed?
Nope.
It looks like a logfile to me with new entries added at the end. Is some component of OBS reading the content of that file?
It's a queue of notifications. The API is supposed to read it, read events are deleted and thus the file shrinks.
A lastnotifications file that big is an indication that the delayed job for notification processing is not running in the API.
https://lists.opensuse.org/opensuse-buildservice/2018-06/msg00029.html https://lists.opensuse.org/opensuse-buildservice/2018-06/msg00030.html
This had happened to me, removing the offending line fixed it.
Looks like my case is slightly different. I see this src_server.log-20200225.xz:2020-02-24 21:20:54: [5776] GET (127.0.0.1) /lastnotifications?block=1&start=15663719 src_server.log-20200225.xz:2020-02-24 21:20:54: [1970] GET (AJAX) /lastnotifications?start=15663719&block=1 approx every 15 minutes in the logs, but there's no 15663719 in my lastnotifications file. I also wonder what's broken now since the system appears to be working fine. -- kind regards, Carsten Hoeger Engineering Services Email: carsten.hoeger@open-xchange.com ------------------------------------------------------------------------------ Open-Xchange AG, Hohenzollernring 72, 50672 Cologne, District Court Cologne HRB 95366 Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Michael Knapstein, Stephan Martin Chairman of the Board: Richard Seibt European Office: Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718 Managing Director: Frank Hoberg US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA ------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org