Bug 45489 - Cron job for univention-sa-learn without locking
Cron job for univention-sa-learn without locking
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks: 39824
  Show dependency treegraph
 
Reported: 2017-10-05 15:20 CEST by Sönke Schwardt-Krummrich
Modified: 2022-03-14 13:39 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few 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.091
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Large environments
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2017-10-05 15:20:28 CEST
The cron job "univention-spamassassin" in /etc/cron.daily/, that calls 
univention-sa-learn on a daily basis, does not perform locking. Therefore customers with large mail spools will run into the problem, that the next instance of the daily learn job is started before the current one has finished its job (overlapping cron jobs).

There should be some kind of locking.
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:56:28 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 2 Dirk Ahrnke univentionstaff 2020-07-27 12:38:48 CEST
The behaviour hasnt changed in UCS 4.4.
A customer has noticed that univention-sa-learn is causing a significant daily load even in the early stage of a project where mailboxes have been deployed but the amount of messages and especially the not mentionable usage os Spam/Ham folders should not cause a load peak for over 8 hours. 
Beside the more generic question if a training based on spam/ham classification is still appropriate nowadays we should look if there is a better and scalable solution.
Comment 3 Ingo Steuwer univentionstaff 2021-05-14 16:38:16 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 4 Dirk Ahrnke univentionstaff 2021-05-14 17:01:20 CEST
reopen because of my remark in comment 2 regarding UCS 4.4