Comments (3)
@rkomandu please check the logrotation when it hits the size limit in your node, Last time when you did the upgrade log size was already larger than configured value and I believe logrotate failed because of that. If logrotate successful when noobaa.log
size reaches 105M then this issue should be invalid otherwise we need to fix this issue.
from noobaa-core.
Ran IO workload onto the app2 node serving the IP, logrotate didn't happen
[root@c83f1-app2 ~]# ls -lh /var/log/noobaa*
-rw-r--r--. 1 root root 18M Jun 18 10:14 /var/log/noobaa_events.log
-rw-r--r--. 1 root root 100M Jun 18 23:46 /var/log/noobaa.log
-rw-r--r--. 1 root root 6.1M Jun 14 06:44 /var/log/noobaa.log.1.gz
[root@c83f1-app2 ~]# date
Tue Jun 18 11:46:38 PM EDT 2024
Every 30.0s: ls -lh /var/log/noobaa* c83f1-app2: Wed Jun 19 00:04:49 2024
-rw-r--r--. 1 root root 18M Jun 18 23:46 /var/log/noobaa_events.log
-rw-r--r--. 1 root root 105M Jun 19 00:04 /var/log/noobaa.log
-rw-r--r--. 1 root root 6.1M Jun 14 06:44 /var/log/noobaa.log.1.gz
Every 30.0s: ls -lh /var/log/noobaa* c83f1-app2: Wed Jun 19 00:14:19 2024
-rw-r--r--. 1 root root 18M Jun 18 23:46 /var/log/noobaa_events.log
-rw-r--r--. 1 root root 106M Jun 19 00:13 /var/log/noobaa.log
-rw-r--r--. 1 root root 6.1M Jun 14 06:44 /var/log/noobaa.log.1.gz
from noobaa-core.
rsyslog on the node
systemctl status rsyslog
● rsyslog.service - System Logging Service
Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-06-14 06:44:09 EDT; 4 days ago
Docs: man:rsyslogd(8)
https://www.rsyslog.com/doc/
Main PID: 1517556 (rsyslogd)
Tasks: 3 (limit: 3297520)
Memory: 267.3M
CPU: 5min 57.981s
CGroup: /system.slice/rsyslog.service
└─1517556 /usr/sbin/rsyslogd -n
Jun 18 23:52:47 c83f1-app2 rsyslogd[1517556]: imjournal: 29754 messages lost due to rate-limiting (20000 allowed within 600 seconds)
Jun 18 23:54:15 c83f1-app2 rsyslogd[1517556]: imjournal: journal files changed, reloading... [v8.2102.0-117.el9 try https://www.rsyslog.com/e/0 ]
Jun 18 23:55:16 c83f1-app2 rsyslogd[1517556]: imjournal from <c83f1-app2:node>: begin to drop messages due to rate-limiting
Jun 19 00:02:48 c83f1-app2 rsyslogd[1517556]: imjournal: 60938 messages lost due to rate-limiting (20000 allowed within 600 seconds)
Jun 19 00:05:15 c83f1-app2 rsyslogd[1517556]: imjournal: journal files changed, reloading... [v8.2102.0-117.el9 try https://www.rsyslog.com/e/0 ]
Jun 19 00:05:17 c83f1-app2 rsyslogd[1517556]: imjournal from <c83f1-app2:->: begin to drop messages due to rate-limiting
Jun 19 00:12:49 c83f1-app2 rsyslogd[1517556]: imjournal: 60688 messages lost due to rate-limiting (20000 allowed within 600 seconds)
Jun 19 00:13:00 c83f1-app2 rsyslogd[1517556]: file size limit cmd for file '/var/log/noobaa.log' did no resolve situation [v8.2102.0-117.el9]
Jun 19 00:15:16 c83f1-app2 rsyslogd[1517556]: imjournal from <c83f1-app2:node>: begin to drop messages due to rate-limiting
Jun 19 00:16:12 c83f1-app2 rsyslogd[1517556]: imjournal: journal files changed, reloading... [v8.2102.0-117.el9 try https://www.rsyslog.com/e/0 ]
from noobaa-core.
Related Issues (20)
- NC | Support multiple RPM versions on a single cluster (different nodes)
- NSFS on syscall error should log the operation info and not just the error code (even if debug level is low) HOT 3
- CI | Actions updates
- After account update with new access keys, old access keys are valid for next 5min ~ HOT 9
- account update with --user is throwing schema validation failure HOT 3
- Encrytion enablement with CCR is not working as expected HOT 13
- CI | Ceph Tests Update - Failing Tests
- Account update with account name is not updating bucket_name.json file automatically HOT 15
- Account delete is not allowing when master keys gets updated/changed HOT 1
- Account status with show_secrets is not working when master_keys gets updated/changed HOT 1
- Enhance logrotate function to support syslog-ng if it used HOT 1
- NC | Make list accounts and update account tolerant to missing master key
- Encryption: Avoid frequent calls to CCR to get master key. HOT 6
- Noobaa command to list bucket/account giving trimmed output in pipe HOT 21
- noobaa-cli account update is allowing to update the Accesskey alone, however secret key should be updated along with access key HOT 1
- Account creation process is chopping 2 chars from the account name if the account name contains $ char in it HOT 1
- Support Noobaa rpm build for ppc for staging branches
- New feature - Auto expose contents inside Archive Objects (Tar,Zip,7z) through normal S3 API
- NSFS | unable to do aws s3 cp with obj larger than 1T HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noobaa-core.