Mailinglist Archive: opensuse-buildservice (88 mails)

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

On 24. Feb 2020, at 13:17 , Michael Schroeder <mls@xxxxxxx> wrote:

On Mon, Feb 24, 2020 at 01:04:04PM +0100, Carsten Höger wrote:
I recently noticed that this file is quite huge in our installation:

2.8G /srv/obs/events/lastnotifications

Can this file be removed?


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.

How to verify that?

Are you talking about this?

Checking for service delayed OBS api jobs
● obsapidelayed.service - LSB: OBS api delayed jobs
Loaded: loaded (/etc/init.d/obsapidelayed; bad; vendor preset: disabled)
Active: active (running) since Fri 2019-11-29 14:44:42 CET; 2 months 26 days
Docs: man:systemd-sysv-generator(8)
Tasks: 32 (limit: 512)
CGroup: /system.slice/obsapidelayed.service
├─2072 delayed_job.0
├─2078 delayed_job.1
├─2084 delayed_job.2
├─2247 delayed_job.1000
├─2263 delayed_job.1010
├─2276 delayed_job.1020
├─2294 delayed_job.1030
├─2319 delayed_job.1040
├─2333 delayed_job.1050
├─2594 /usr/bin/searchd --pidfile --config
├─2595 /usr/bin/searchd --pidfile --config
└─2611 clockworkd.ruby2.5.clock


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