NEWS
Influxdb datengrösse
-
@dp20eic said in Influxdb datengrösse:
/etc/logrotate.conf
cat /etc/logrotate.conf # see "man logrotate" for details # global options do not affect preceding include directives # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 4 # create new (empty) log files after rotating old ones create # use date as a suffix of the rotated file #dateext # uncomment this if you want your log files compressed #compress # packages drop log rotation information into this directory include /etc/logrotate.d # system-specific logs may also be configured here.
/etc/logrotate.d/*
cat /etc/logrotate.conf # see "man logrotate" for details # global options do not affect preceding include directives # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 4 # create new (empty) log files after rotating old ones create # use date as a suffix of the rotated file #dateext # uncomment this if you want your log files compressed #compress # packages drop log rotation information into this directory include /etc/logrotate.d # system-specific logs may also be configured here. root@Daten:~# cat /etc/logrotate.d/* /var/log/alternatives.log { monthly rotate 12 compress delaycompress missingok notifempty create 644 root root } /var/log/apt/term.log { rotate 12 monthly compress missingok notifempty } /var/log/apt/history.log { rotate 12 monthly compress missingok notifempty } # no packages own btmp -- we'll rotate it here /var/log/btmp { missingok monthly create 0660 root utmp rotate 1 } /var/log/dpkg.log { monthly rotate 12 compress delaycompress missingok notifempty create 644 root root } /var/log/influxdb/influxd.log { daily rotate 7 missingok dateext copytruncate compress } /var/log/syslog /var/log/mail.info /var/log/mail.warn /var/log/mail.err /var/log/mail.log /var/log/daemon.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/lpr.log /var/log/cron.log /var/log/debug /var/log/messages { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript } /var/log/unattended-upgrades/unattended-upgrades.log /var/log/unattended-upgrades/unattended-upgrades-dpkg.log /var/log/unattended-upgrades/unattended-upgrades-shutdown.log { rotate 6 monthly compress missingok notifempty } # no packages own wtmp -- we'll rotate it here /var/log/wtmp { missingok monthly create 0664 root utmp minsize 1M rotate 1 } root@Daten:~#
siehst du was da falsch ist?
-
@cainam sagte in Influxdb datengrösse:
/etc/logrotate.conf
Moin,
ist untergegengen, aber nein in der Datei
/etc/logrotate.conf
ist alles ok uns auch bei den Dateien in/etc/logrotate.d/*
sehe ich auf Anhieb auch keinen Fehler.Jetzt mal schauen, ob der Dienst auch läuft
dp20eic@iobroker:~$ systemctl status logrotate.timer * logrotate.timer - Daily rotation of log files Loaded: loaded (/lib/systemd/system/logrotate.timer; enabled; vendor preset: enabled) Active: active (waiting) since Wed 2023-09-20 14:48:42 CEST; 1 day 17h ago Trigger: Sat 2023-09-23 00:00:00 CEST; 15h left Triggers: * logrotate.service Docs: man:logrotate(8) man:logrotate.conf(5) Warning: some journal files were not opened due to insufficient permissions. dp20eic@iobroker:~$ systemctl status logrotate.service * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: inactive (dead) since Fri 2023-09-22 00:00:35 CEST; 8h ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 24906 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=0/SUCCESS) Main PID: 24906 (code=exited, status=0/SUCCESS) CPU: 52ms
VG
Bernd -
scheint ein Teil läuft nicht...?
root@Daten:~# systemctl status logrotate.timer * logrotate.timer - Daily rotation of log files Loaded: loaded (/lib/systemd/system/logrotate.timer; enabled; vendor preset: enabled) Active: active (waiting) since Thu 2023-09-28 18:26:39 CEST; 2h 42min ago Trigger: Fri 2023-09-29 00:00:00 CEST; 2h 50min left Triggers: * logrotate.service Docs: man:logrotate(8) man:logrotate.conf(5) Sep 28 18:26:39 Daten systemd[1]: Started Daily rotation of log files. root@Daten:~# systemctl status logrotate.service * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: failed (Result: exit-code) since Thu 2023-09-28 18:26:40 CEST; 2h 43min ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 110 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=226/NAMESPACE) Main PID: 110 (code=exited, status=226/NAMESPACE) CPU: 31ms Sep 28 18:26:39 Daten systemd[1]: Starting Rotate log files... Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/proc:>Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permissio>Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 28 18:26:40 Daten systemd[1]: Failed to start Rotate log files. lines 1-16/16 (END)...skipping... * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: failed (Result: exit-code) since Thu 2023-09-28 18:26:40 CEST; 2h 43min ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 110 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=226/NAMESPACE) Main PID: 110 (code=exited, status=226/NAMESPACE) CPU: 31ms Sep 28 18:26:39 Daten systemd[1]: Starting Rotate log files... Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/proc:>Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permissio>Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 28 18:26:40 Daten systemd[1]: Failed to start Rotate log files. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: failed (Result: exit-code) since Thu 2023-09-28 18:26:40 CEST; 2h 43min ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 110 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=226/NAMESPACE) Main PID: 110 (code=exited, status=226/NAMESPACE) CPU: 31ms Sep 28 18:26:39 Daten systemd[1]: Starting Rotate log files... Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/proc:>Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permissio>Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 28 18:26:40 Daten systemd[1]: Failed to start Rotate log files. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: failed (Result: exit-code) since Thu 2023-09-28 18:26:40 CEST; 2h 43min ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 110 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=226/NAMESPACE) Main PID: 110 (code=exited, status=226/NAMESPACE) CPU: 31ms Sep 28 18:26:39 Daten systemd[1]: Starting Rotate log files... Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/proc:>Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permissio>Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 28 18:26:40 Daten systemd[1]: Failed to start Rotate log files. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: failed (Result: exit-code) since Thu 2023-09-28 18:26:40 CEST; 2h 43min ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 110 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=226/NAMESPACE) Main PID: 110 (code=exited, status=226/NAMESPACE) CPU: 31ms Sep 28 18:26:39 Daten systemd[1]: Starting Rotate log files... Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/proc:> Sep 28 18:26:40 Daten systemd[110]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permissio> Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 28 18:26:40 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 28 18:26:40 Daten systemd[1]: Failed to start Rotate log files.
journalctl:
root@Daten:~# journalctl -- Journal begins at Fri 2023-09-15 19:07:38 CEST, ends at Thu 2023-09-28 21:10:56 CEST. -- Sep 15 19:07:38 Daten systemd-journald[44]: System Journal (/var/log/journal/c5b67cb2fb4c49678a4fd62f7e4a2b20) is 1.4G,> Sep 15 19:07:55 Daten dbus-daemon[117]: [system] Failed to activate service 'org.freedesktop.login1': timed out (servic> Sep 15 19:07:56 Daten dbus-daemon[117]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='db> Sep 15 19:07:56 Daten systemd[1]: Starting Load Kernel Module drm... Sep 15 19:07:56 Daten systemd[1]: Starting Cleanup of Temporary Directories... Sep 15 19:07:56 Daten systemd[1]: modprobe@drm.service: Succeeded. Sep 15 19:07:56 Daten systemd[1]: Finished Load Kernel Module drm. Sep 15 19:07:56 Daten systemd[1]: Starting User Login Management... Sep 15 19:07:56 Daten systemd[136165]: systemd-logind.service: Failed to set up mount namespacing: /run/systemd/unit-ro> Sep 15 19:07:56 Daten systemd[136165]: systemd-logind.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-l> Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Main process exited, code=exited, status=226/NAMESPACE Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Failed with result 'exit-code'. Sep 15 19:07:56 Daten systemd[1]: Failed to start User Login Management. Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 1. Sep 15 19:07:56 Daten systemd[1]: Stopped User Login Management. Sep 15 19:07:56 Daten systemd[1]: Starting Load Kernel Module drm... Sep 15 19:07:56 Daten systemd[1]: modprobe@drm.service: Succeeded. Sep 15 19:07:56 Daten systemd[1]: Finished Load Kernel Module drm. Sep 15 19:07:56 Daten systemd[1]: Starting User Login Management... Sep 15 19:07:56 Daten systemd[136169]: systemd-logind.service: Failed to set up mount namespacing: /run/systemd/unit-ro> Sep 15 19:07:56 Daten systemd[136169]: systemd-logind.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-l> Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Main process exited, code=exited, status=226/NAMESPACE Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Failed with result 'exit-code'. Sep 15 19:07:56 Daten systemd[1]: Failed to start User Login Management. Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 2. Sep 15 19:07:56 Daten systemd[1]: Stopped User Login Management. Sep 15 19:07:56 Daten systemd[1]: Starting Load Kernel Module drm... Sep 15 19:07:56 Daten systemd[1]: modprobe@drm.service: Succeeded. Sep 15 19:07:56 Daten systemd[1]: Finished Load Kernel Module drm. Sep 15 19:07:56 Daten systemd[1]: Starting User Login Management... Sep 15 19:07:56 Daten systemd[136173]: systemd-logind.service: Failed to set up mount namespacing: /run/systemd/unit-ro> Sep 15 19:07:56 Daten systemd[136173]: systemd-logind.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-l> Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Main process exited, code=exited, status=226/NAMESPACE Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Failed with result 'exit-code'. Sep 15 19:07:56 Daten systemd[1]: Failed to start User Login Management. Sep 15 19:07:56 Daten systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 3.
-
@cainam sagte in Influxdb datengrösse:
scheint ein Teil läuft nicht...?
Moin,
also das sieht beim
logrotate.timer
gut aus, istactive
, so wie bei mir auchdp20eic@iobroker:~$ systemctl status logrotate.timer * logrotate.timer - Daily rotation of log files Loaded: loaded (/lib/systemd/system/logrotate.timer; enabled; vendor preset: enabled) Active: active (waiting) since Sun 2023-09-24 12:08:26 CEST; 4 days ago Trigger: Fri 2023-09-29 00:00:00 CEST; 2h 45min left Triggers: * logrotate.service Docs: man:logrotate(8) man:logrotate.conf(5) Warning: some journal files were not opened due to insufficient permissions.
Aber der Service
logrotate.service
, da stimmt was nicht, der darf nicht geladen sein, der wird vomlogrotate.timer
getriggert, Sollte so aussehendp20eic@iobroker:~$ systemctl status logrotate.service * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: inactive (dead) since Thu 2023-09-28 00:00:14 CEST; 21h ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 60466 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=0/SUCCESS) Main PID: 60466 (code=exited, status=0/SUCCESS) CPU: 56ms
Mach mal
# sudo systemctl stop logrotate.service # sudo systemctl stop logrotate.timer # sudo systemctl start logrotate.timer
Dann noch mal den Status kontrollieren
# sudo systemctl status logrotate.timer # sudo systemctl status logrotate.service
VG
Bernd -
@dp20eic
same same
root@Daten:~# sudo systemctl stop logrotate.timer root@Daten:~# sudo systemctl start logrotate.timer root@Daten:~# sudo systemctl status logrotate.timer * logrotate.timer - Daily rotation of log files Loaded: loaded (/lib/systemd/system/logrotate.timer; enabled; vendor preset: enabled) Active: active (waiting) since Thu 2023-09-28 22:09:27 CEST; 5s ago Trigger: Fri 2023-09-29 00:00:00 CEST; 1h 50min left Triggers: * logrotate.service Docs: man:logrotate(8) man:logrotate.conf(5) Sep 28 22:09:27 Daten systemd[1]: Started Daily rotation of log files. root@Daten:~# sudo systemctl status logrotate.service * logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static) Active: failed (Result: exit-code) since Thu 2023-09-28 21:12:55 CEST; 56min ago TriggeredBy: * logrotate.timer Docs: man:logrotate(8) man:logrotate.conf(5) Process: 8217 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=226/NAMESPACE) Main PID: 8217 (code=exited, status=226/NAMESPACE) CPU: 22ms Warning: journal has been rotated since unit was started, output may be incomplete. root@Daten:~#
-
@cainam sagte in Influxdb datengrösse:
same same
Moin,
da scheint dann doch ein Problem in der Konfiguration von
logrotate
zu sein, was sagtsudo journalctl -g logrotate
Wenn da nichts kommt, dann einmal
logrotate
auf der Kommandozeile von Hand ausführen# sudo logrotate /etc/logrotate.d/*
Und mal den Output von
# sudo systemctl show logrotate.service
VG
BerndP.S.: Habe nicht alles nochmals gelesen, aber auf welchem System läuft das alles?
-
@dp20eic ist ein Debian welches über Proxmox auf im Container läuft:
sudo journalctl -g logrotate -- Journal begins at Thu 2023-09-28 21:21:12 CEST, ends at Fri 2023-09-29 18:38:38 CEST. -- Sep 28 22:09:11 Daten sudo[10976]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl stop logrotate>Sep 28 22:09:20 Daten sudo[10979]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl stop logrotate>Sep 28 22:09:20 Daten systemd[1]: logrotate.timer: Succeeded. Sep 28 22:09:27 Daten sudo[11002]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl start logrotat>Sep 28 22:09:33 Daten sudo[11005]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl status logrota>Sep 28 22:09:42 Daten sudo[11008]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl status logrota>Sep 28 22:10:33 Daten sudo[11052]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl start logrotat>Sep 28 22:10:33 Daten systemd[11055]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/pro>Sep 28 22:10:33 Daten systemd[11055]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permiss>Sep 28 22:10:33 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 28 22:10:33 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 29 00:00:23 Daten systemd[16432]: logrotate.service: Failed to set up mount namespacing: /run/systemd/unit-root/pro>Sep 29 00:00:23 Daten systemd[16432]: logrotate.service: Failed at step NAMESPACE spawning /usr/sbin/logrotate: Permiss>Sep 29 00:00:23 Daten systemd[1]: logrotate.service: Main process exited, code=exited, status=226/NAMESPACE Sep 29 00:00:23 Daten systemd[1]: logrotate.service: Failed with result 'exit-code'. Sep 29 18:38:38 Daten sudo[68704]: root : TTY=pts/3 ; PWD=/root ; USER=root ; COMMAND=/bin/journalctl -g logrotate root@Daten:~# # sudo logrotate /etc/logrotate.d/* root@Daten:~# # sudo systemctl show logrotate.service root@Daten:~# sudo systemctl show logrotate.service Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 lines 1-29...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] lines 1-44...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] lines 1-46...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 lines 1-47...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 IOReadOperations=18446744073709551615 lines 1-48...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 IOReadOperations=18446744073709551615 IOWriteBytes=18446744073709551615 lines 1-49...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 IOReadOperations=18446744073709551615 IOWriteBytes=18446744073709551615 IOWriteOperations=18446744073709551615 lines 1-50...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 IOReadOperations=18446744073709551615 IOWriteBytes=18446744073709551615 IOWriteOperations=18446744073709551615 Delegate=no CPUAccounting=yes CPUWeight=[not set] StartupCPUWeight=[not set] CPUShares=[not set] StartupCPUShares=[not set] CPUQuotaPerSecUSec=infinity CPUQuotaPeriodUSec=infinity AllowedCPUs= AllowedMemoryNodes= IOAccounting=no IOWeight=[not set] StartupIOWeight=[not set] lines 1-63...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[>ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023>Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 IOReadOperations=18446744073709551615 IOWriteBytes=18446744073709551615 IOWriteOperations=18446744073709551615 Delegate=no CPUAccounting=yes CPUWeight=[not set] StartupCPUWeight=[not set] CPUShares=[not set] StartupCPUShares=[not set] CPUQuotaPerSecUSec=infinity CPUQuotaPeriodUSec=infinity AllowedCPUs= AllowedMemoryNodes= IOAccounting=no IOWeight=[not set] StartupIOWeight=[not set] BlockIOAccounting=no BlockIOWeight=[not set] StartupBlockIOWeight=[not set] MemoryAccounting=yes DefaultMemoryLow=0 lines 1-68...skipping... Type=oneshot Restart=no NotifyAccess=none RestartUSec=100ms TimeoutStartUSec=infinity TimeoutStopUSec=1min 30s TimeoutAbortUSec=1min 30s TimeoutStartFailureMode=terminate TimeoutStopFailureMode=terminate RuntimeMaxUSec=infinity WatchdogUSec=0 WatchdogTimestampMonotonic=0 RootDirectoryStartOnly=no RemainAfterExit=no GuessMainPID=yes MainPID=0 ControlPID=0 FileDescriptorStoreMax=0 NFileDescriptorStore=0 StatusErrno=0 Result=exit-code ReloadResult=success CleanResult=success UID=[not set] GID=[not set] NRestarts=0 OOMPolicy=stop ExecMainStartTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainStartTimestampMonotonic=1314514365181 ExecMainExitTimestamp=Fri 2023-09-29 00:00:23 CEST ExecMainExitTimestampMonotonic=1314514587246 ExecMainPID=16432 ExecMainCode=1 ExecMainStatus=226 ExecStart={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; ignore_errors=no ; start_time=[> ExecStartEx={ path=/usr/sbin/logrotate ; argv[]=/usr/sbin/logrotate /etc/logrotate.conf ; flags= ; start_time=[Fri 2023> Slice=system.slice MemoryCurrent=[not set] CPUUsageNSec=32613000 EffectiveCPUs= EffectiveMemoryNodes= TasksCurrent=[not set] IPIngressBytes=[no data] IPIngressPackets=[no data] IPEgressBytes=[no data] IPEgressPackets=[no data] IOReadBytes=18446744073709551615 IOReadOperations=18446744073709551615 IOWriteBytes=18446744073709551615 IOWriteOperations=18446744073709551615 Delegate=no CPUAccounting=yes CPUWeight=[not set] StartupCPUWeight=[not set] CPUShares=[not set] StartupCPUShares=[not set] CPUQuotaPerSecUSec=infinity CPUQuotaPeriodUSec=infinity AllowedCPUs= AllowedMemoryNodes= IOAccounting=no IOWeight=[not set] StartupIOWeight=[not set] BlockIOAccounting=no BlockIOWeight=[not set] StartupBlockIOWeight=[not set] MemoryAccounting=yes DefaultMemoryLow=0 DefaultMemoryMin=0 MemoryMin=0 MemoryLow=0 MemoryHigh=infinity MemoryMax=infinity MemorySwapMax=infinity MemoryLimit=infinity DevicePolicy=closed DeviceAllow=char-rtc r TasksAccounting=yes TasksMax=9263 IPAccounting=no ManagedOOMSwap=auto ManagedOOMMemoryPressure=auto ManagedOOMMemoryPressureLimitPercent=0% UMask=0022 LimitCPU=infinity LimitCPUSoft=infinity LimitFSIZE=infinity LimitFSIZESoft=infinity LimitDATA=infinity LimitDATASoft=infinity LimitSTACK=infinity LimitSTACKSoft=8388608 LimitCORE=infinity LimitCORESoft=0 LimitRSS=infinity LimitRSSSoft=infinity LimitNOFILE=524288 LimitNOFILESoft=1024 LimitAS=infinity LimitASSoft=infinity LimitNPROC=30877 LimitNPROCSoft=30877 LimitMEMLOCK=65536 LimitMEMLOCKSoft=65536 LimitLOCKS=infinity LimitLOCKSSoft=infinity LimitSIGPENDING=30877 LimitSIGPENDINGSoft=30877 LimitMSGQUEUE=819200 LimitMSGQUEUESoft=819200 LimitNICE=0 LimitNICESoft=0 LimitRTPRIO=0 LimitRTPRIOSoft=0 LimitRTTIME=infinity LimitRTTIMESoft=infinity RootHashSignature= OOMScoreAdjust=0 CoredumpFilter=0x33 Nice=19 IOSchedulingClass=2 IOSchedulingPriority=7 CPUSchedulingPolicy=0 CPUSchedulingPriority=0 CPUAffinity= CPUAffinityFromNUMA=no NUMAPolicy=n/a NUMAMask= TimerSlackNSec=50000 CPUSchedulingResetOnFork=no NonBlocking=no StandardInput=null StandardInputData= StandardOutput=journal StandardError=inherit TTYReset=no TTYVHangup=no TTYVTDisallocate=no SyslogPriority=30 SyslogLevelPrefix=yes SyslogLevel=6 SyslogFacility=3 LogLevelMax=-1 LogRateLimitIntervalUSec=0 LogRateLimitBurst=0 SecureBits=0 CapabilityBoundingSet=cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setu> AmbientCapabilities= DynamicUser=no RemoveIPC=no MountFlags= PrivateTmp=yes PrivateDevices=yes ProtectClock=yes ProtectKernelTunables=yes ProtectKernelModules=yes ProtectKernelLogs=yes ProtectControlGroups=yes PrivateNetwork=no PrivateUsers=no PrivateMounts=no ProtectHome=no ProtectSystem=full SameProcessGroup=no UtmpMode=init IgnoreSIGPIPE=yes NoNewPrivileges=no SystemCallErrorNumber=2147483646 LockPersonality=yes RuntimeDirectoryPreserve=no RuntimeDirectoryMode=0755 StateDirectoryMode=0755 CacheDirectoryMode=0755 LogsDirectoryMode=0755 ConfigurationDirectoryMode=0755 TimeoutCleanUSec=infinity MemoryDenyWriteExecute=yes RestrictRealtime=yes RestrictSUIDSGID=no RestrictNamespaces=yes MountAPIVFS=no KeyringMode=private ProtectProc=default ProcSubset=all ProtectHostname=yes KillMode=control-group KillSignal=15 RestartKillSignal=15 FinalKillSignal=9 SendSIGKILL=yes SendSIGHUP=no WatchdogSignal=6 Id=logrotate.service Names=logrotate.service Requires=system.slice sysinit.target Conflicts=shutdown.target Before=shutdown.target After=basic.target systemd-tmpfiles-setup.service system.slice sysinit.target logrotate.timer -.mount systemd-journald.> TriggeredBy=logrotate.timer RequiresMountsFor=/var/tmp /tmp /var/log Documentation="man:logrotate(8)" "man:logrotate.conf(5)" Description=Rotate log files LoadState=loaded ActiveState=failed FreezerState=running SubState=failed FragmentPath=/lib/systemd/system/logrotate.service UnitFileState=static UnitFilePreset=enabled StateChangeTimestamp=Fri 2023-09-29 00:00:23 CEST StateChangeTimestampMonotonic=1314514587707 InactiveExitTimestamp=Fri 2023-09-29 00:00:23 CEST InactiveExitTimestampMonotonic=1314514365709 ActiveEnterTimestampMonotonic=0 ActiveExitTimestampMonotonic=0 InactiveEnterTimestamp=Fri 2023-09-29 00:00:23 CEST InactiveEnterTimestampMonotonic=1314514587707 CanStart=yes CanStop=yes CanReload=no CanIsolate=no CanFreeze=yes StopWhenUnneeded=no RefuseManualStart=no RefuseManualStop=no AllowIsolate=no DefaultDependencies=yes OnFailureJobMode=replace IgnoreOnIsolate=no NeedDaemonReload=no JobTimeoutUSec=infinity JobRunningTimeoutUSec=infinity JobTimeoutAction=none ConditionResult=yes AssertResult=yes ConditionTimestamp=Fri 2023-09-29 00:00:23 CEST ConditionTimestampMonotonic=1314514352209 AssertTimestamp=Fri 2023-09-29 00:00:23 CEST AssertTimestampMonotonic=1314514352277 Transient=no Perpetual=no StartLimitIntervalUSec=10s StartLimitBurst=5 StartLimitAction=none FailureAction=none SuccessAction=none InvocationID=927f6889372c4a79b2c6ab41de217c4e CollectMode=inactive lines 180-248/248 (END)
-
@cainam sagte in Influxdb datengrösse:
@dp20eic ist ein Debian welches über Proxmox auf im Container läuft:
Moin,
zeig mal vom LXC den vergleichbaren Output, hier ein Beispiel
Ich glaube da fehlt
Nesting
bei Deinem Container.VG
Bernd -
@dp20eic
genau so wars... habe das jetzt aktiviert...
Danke Tausend
p.s. hast du viele Influxdb maschinen laufen
-
@cainam sagte in Influxdb datengrösse:
p.s. hast du viele Influxdb maschinen laufen
Moin,
ja, eine alte
influxDB V 1.8
, dann zweiinfluxDB
, eine wird zur Produktiven umgebaut und eine zum Spielen.VG
Bernd