Mailinglist Archive: opensuse-buildservice (88 mails)
< Previous | Next > |
Re: [opensuse-buildservice] /srv/obs/events/lastnotifications
- From: Stephan Kulow <coolo@xxxxxxx>
- Date: Wed, 26 Feb 2020 08:15:14 +0100
- Message-id: <f279d071-a408-81f4-d996-591d95210478@suse.de>
Am 25.02.20 um 13:58 schrieb Carsten Höger:
Well, it's missing notifications - but you will only notice if you cared for
e.g.
'build failed' emails.
What I'd do: `RAILS_ENV=production rails c` on api and `puts
Delayed::Job.first.last_error`
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
Hi,
On 25. Feb 2020, at 9:40 , Stefan Seyfried <stefan.seyfried@xxxxxxxxxxxxxx>
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.
Well, it's missing notifications - but you will only notice if you cared for
e.g.
'build failed' emails.
What I'd do: `RAILS_ENV=production rails c` on api and `puts
Delayed::Job.first.last_error`
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 > |