mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[PR #2556] [MERGED] Maintenance: Add missing log parse parts plus hint #2608
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2608
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/2556
Author: @MrGeneration
Created: 7/6/2022
Status: ✅ Merged
Merged: 7/22/2022
Merged by: @tonioo
Base:
master← Head:patch-1📝 Commits (1)
6386440Maintenance: Add missing log parse parts plus hint📊 Changes
1 file changed (+12 additions, -0 deletions)
View changed files
📝
doc/manual_installation/modoboa.rst(+12 -0)📄 Description
Description of the issue/feature this PR addresses:
Our environment sends over 50,000 emails per day. Even with dividing dovecots and postfix log and daily rotate, you'll still end up in 80MB log files easily. This causes huge CPU spikes the bigger the log file gets. Eventually this will cause all of your system cores to be under extremely high load causing the whole system to be slow.
This is also shown in this discussion:
https://github.com/modoboa/modoboa/discussions/2031
and this isuse:
https://github.com/modoboa/modoboa/issues/1187
For context, here's the systems load over 30 days - you can clearly see when we switched to once per day which is why I believe the hint I've added is very useful for others.
Current behavior before PR:
Logparsing was entirely missing from the crontab. No hint of possible performance issues.
Desired behavior after PR is merged:
Modoboa also offers log parsing which was not yet reflected in the cron job sample of the manual installation part.
As log parsing can be fairly CPU intensive there's also a hint for that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.