Bug 53274 - appcenter listener loggs every 5 seconds "Service hold-off time over, scheduling restart."
appcenter listener loggs every 5 seconds "Service hold-off time over, schedul...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-17 17:52 CEST by Daniel Tröder
Modified: 2023-01-08 21:21 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022060121000488
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2021-05-17 17:52:35 CEST
The Appcenter Converter Listener logs every 5s three lines into the systems syslog:

--------------------------------------------------------------------------
May 17 17:33:46 m20 systemd[1]: univention-appcenter-listener-converter@ucsschool-kelvin-rest-api.service: Service hold-off time over, scheduling restart.
May 17 17:33:46 m20 systemd[1]: Stopped Convert listener output and run trigger for the App ucsschool/kelvin/rest/api.
May 17 17:33:46 m20 systemd[1]: Started Convert listener output and run trigger for the App ucsschool/kelvin/rest/api.
--------------------------------------------------------------------------
root@m20:~# grep 'scheduling restart' /var/log/syslog | wc -l
306974
--------------------------------------------------------------------------

This seems to be happening since 18.02.2021, after upgrading to univention-appcenter-docker version 8.0.11-142.

Excessively logging an event that is considered "normal" (I think it is meant to be normal?) is bad for the customer, as it will be more difficult to find relevant information in the log files.

Prevent the excessive logging of unnecessary non-error messages.
Comment 1 Dirk Ahrnke univentionstaff 2021-10-07 14:37:03 CEST
bug type says "cosmetic issue ... but workaround exists"

what would be the workaround to prevent at least the excessive logging?
Comment 2 Daniel Tröder univentionstaff 2021-10-08 07:59:06 CEST
There is an "OR" in the category text. The "True" part is the first one (cosmetic issue), the 2nd part is "False" (missing function but workaround exists).
Comment 3 Daniel Duchon univentionstaff 2022-06-01 14:53:12 CEST
school customer affected
Comment 4 Cornelius Hald 2023-01-08 21:21:18 CET
We are running into this as well but with even more log lines.

[...]
Jan 08 21:18:34 ucs-master-01 systemd[1]: univention-appcenter-listener-converter@ucsschool-kelvin-rest-api.service: Service hold-off time over, scheduling restart.
Jan 08 21:18:34 ucs-master-01 systemd[1]: univention-appcenter-listener-converter@ucsschool-id-connector.service: Service hold-off time over, scheduling restart.
Jan 08 21:18:34 ucs-master-01 systemd[1]: Stopped Convert listener output and run trigger for the App ucsschool/id/connector.
Jan 08 21:18:34 ucs-master-01 systemd[1]: Started Convert listener output and run trigger for the App ucsschool/id/connector.
Jan 08 21:18:34 ucs-master-01 systemd[1]: Stopped Convert listener output and run trigger for the App ucsschool/kelvin/rest/api.
Jan 08 21:18:34 ucs-master-01 systemd[1]: Started Convert listener output and run trigger for the App ucsschool/kelvin/rest/api.

Jan 08 21:18:40 ucs-master-01 systemd[1]: univention-appcenter-listener-converter@ucsschool-id-connector.service: Service hold-off time over, scheduling restart.
Jan 08 21:18:40 ucs-master-01 systemd[1]: univention-appcenter-listener-converter@ucsschool-kelvin-rest-api.service: Service hold-off time over, scheduling restart.
Jan 08 21:18:40 ucs-master-01 systemd[1]: Stopped Convert listener output and run trigger for the App ucsschool/kelvin/rest/api.
Jan 08 21:18:40 ucs-master-01 systemd[1]: Started Convert listener output and run trigger for the App ucsschool/kelvin/rest/api.
Jan 08 21:18:40 ucs-master-01 systemd[1]: Stopped Convert listener output and run trigger for the App ucsschool/id/connector.
Jan 08 21:18:40 ucs-master-01 systemd[1]: Started Convert listener output and run trigger for the App ucsschool/id/connector.
[...]