ClearFoundation Tracker - ClearOS
View Issue Details
0022021ClearOSapp-openldap - OpenLDAP Driverpublic2018-10-28 05:082020-04-30 09:10
NickH 
NickH 
normalminoralways
closedfixed 
7.5.0 Updates 
7.6.0 Updates 
0022021: loglevel is too high
Sometime, possibly back in September, the loglevel was changed in the deploy/upgrade script from 0 to 256, probably for the certificate bug hunting. This is now leading to massive logs (logrotate is getting confused as every other log is 0B - probably another bug due to the maxsize parameter) and rsyslog is often hitting rate limiting (negating the usefulness of the logs):

Oct 28 10:18:33 server journal: Suppressed 121 messages from /system.slice/slapd.service
Oct 28 10:19:04 server journal: Suppressed 165 messages from /system.slice/slapd.service
Oct 28 10:27:08 server journal: Suppressed 83 messages from /system.slice/slapd.service
Oct 28 10:29:08 server journal: Suppressed 23 messages from /system.slice/slapd.service
Oct 28 10:30:09 server journal: Suppressed 37 messages from /system.slice/slapd.service
Oct 28 10:30:39 server journal: Suppressed 269 messages from /system.slice/slapd.service
Oct 28 10:31:10 server journal: Suppressed 291 messages from /system.slice/slapd.service
Oct 28 10:31:40 server journal: Suppressed 165 messages from /system.slice/slapd.service
Oct 28 10:32:13 server journal: Suppressed 180 messages from /system.slice/slapd.service
Oct 28 10:33:35 server journal: Suppressed 410 messages from /system.slice/slapd.service
Oct 28 10:34:05 server journal: Suppressed 343 messages from /system.slice/slapd.service
Oct 28 10:34:36 server journal: Suppressed 292 messages from /system.slice/slapd.service
Oct 28 10:36:38 server journal: Suppressed 215 messages from /system.slice/slapd.service
Oct 28 10:37:08 server journal: Suppressed 292 messages from /system.slice/slapd.service
Oct 28 10:41:09 server journal: Suppressed 500 messages from /system.slice/slapd.service

Please reduce it back to a sensible level?
No tags attached.
related to 0021181closed user2 Improve LDAP logging 
txt openldap.txt (185,215) 2018-11-11 10:12
https://tracker.clearos.com/file_download.php?file_id=571&type=bug
Issue History
2018-10-28 05:08NickHNew Issue
2018-10-28 12:26user2Note Added: 0008301
2018-10-28 12:26user2Statusnew => feedback
2018-10-28 12:28user2Relationship addedrelated to 0021181
2018-11-11 10:10NickHFile Added: openldap.txt
2018-11-11 10:12NickHFile Deleted: openldap.txt
2018-11-11 10:12NickHFile Added: openldap.txt
2018-11-11 10:14NickHNote Added: 0008611
2018-11-11 10:14NickHStatusfeedback => new
2018-11-11 10:17NickHNote Edited: 0008611bug_revision_view_page.php?bugnote_id=8611#r2351
2018-11-13 07:43user2Statusnew => acknowledged
2019-02-23 22:25dloperTarget Version => 7.6.0 Updates
2020-04-30 09:10NickHStatusacknowledged => closed
2020-04-30 09:10NickHAssigned To => NickH
2020-04-30 09:10NickHResolutionopen => fixed

Notes
(0008301)
user2   
2018-10-28 12:26   
256 is the recommended level. What message is getting suppressed?
(0008611)
NickH   
2018-11-11 10:14   
(edited on: 2018-11-11 10:17)
The attachment is an extract from the logs with 50 lines before each rate limiting incident and 100 lines after.

Note to get this I redirected the rate-limiting messages into the openldap log with an rsyslog filter.

The massages are sporadic and I did not get any for the preceding 3 days at all.