Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] /srv/obs/events/lastnotifications
Am 25.02.20 um 13:58 schrieb Carsten Höger:

On 25. Feb 2020, at 9:40 , Stefan Seyfried <stefan.seyfried@xxxxxxxxxxxxxx>

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.

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 (
src_server.log-20200225.xz:2020-02-24 21:20:54: [1970] GET (AJAX)

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.

Well, it's missing notifications - but you will only notice if you cared for
'build failed' emails.

What I'd do: `RAILS_ENV=production rails c` on api and `puts
it will be a string containing a backtrace hopefully hinting at the problem.

Greetings, Stephan

Lighten up, just enjoy life, smile more, laugh more, and
don't get so worked up about things.
Kenneth Branagh
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups