Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] /srv/obs/events/lastnotifications
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Mon, 24 Feb 2020 13:38:21 +0100
  • Message-id: <9654695.nUPlyArG6x@linux-ywca>
On Montag, 24. Februar 2020, 13:39:25 CET Carsten Höger wrote:
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.

And you have checked that your delayed jobs are running?

--

Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer




--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups