Mailinglist Archive: opensuse-buildservice (170 mails)

< Previous Next >
Re: [opensuse-buildservice] /monitor page shows wrong info about workers
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 20 Mar 2012 13:35:52 +0100
  • Message-id: <2934722.HSy13LRVtJ@scherben>
Am Dienstag, 20. März 2012, 12:35:36 schrieb Ed Bartosh:

I found the same problem when I upgraded my local OBS instance from
2.0.5 to 2.3. The /monitor page would show that builds were running for
more than 32+ hrs, whereas, on the backend, no real jobs were running -
/srv/obs/jobs/<arch>/ was empty.

I later found out that in
/srv/www/obs/api/app/controllers/status_controller.rb, "workerstatus"
is written to cache without any expiry timeout.

To solve this, in my local instance I changed the following code:

I think your problem is as well the not running delayed job. It feeds
the cache, so it is not necessary for the webui to do it. Which can create
some load if many people do it in parallel.

If monitor can possible show incorrect info without delayed job why it's not
running in default obs installation then?

It should run in our appliances by default.

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

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

< Previous Next >