Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] /srv/obs/events/lastnotifications
Hi,



On 24. Feb 2020, at 13:23 , Carsten Höger <choeger@xxxxxxxxxxxxxxxx> 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.

Btw.: Just checked on a fresh 2.10 testinstallation. Even though there's just
two workers and almost nothing to build, those files are there and
growing:

buildservice:~ # ls -al /srv/obs/events/
total 392
drwxr-xr-x 8 obsrun obsrun 4096 Jan 30 14:07 .
drwxr-xr-x 17 obsrun obsrun 4096 Jan 30 14:35 ..
drwxr-xr-x 2 obsrun obsrun 4096 Jan 30 13:06 deltastore
drwxr-xr-x 2 obsrun obsrun 4096 Feb 24 13:35 i586
-rw-r--r-- 1 obsrun obsrun 33236 Feb 24 13:35 lastevents
-rw-r--r-- 1 obsrun obsrun 319815 Feb 24 13:35 lastnotifications
drwxr-xr-x 2 obsrun obsrun 4096 Feb 8 17:38 publish
drwxr-xr-x 2 obsrun obsrun 4096 Feb 24 09:55 repository
drwxr-xr-x 2 obsrun obsrun 4096 Feb 8 17:37 signer
drwxr-xr-x 2 obsrun obsrun 4096 Feb 24 13:35 x86_64

Nothing seems to consume anything within these files.

--

kind regards,
Carsten Hoeger
Engineering Services



Email: carsten.hoeger@xxxxxxxxxxxxxxxx


------------------------------------------------------------------------------
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups