Re: [systemd-devel] Limitation on maximum number of systemd timers that can be active

2021-02-04 Thread P.R.Dinesh
impact. I will do a performance testing in raspberry pi 3 and share my observation. Thank you all for your support On Wed, Feb 3, 2021 at 9:35 PM Lennart Poettering wrote: > On Mi, 03.02.21 12:16, P.R.Dinesh (pr.din...@gmail.com) wrote: > > > Do we have any limitation on the maxim

[systemd-devel] Limitation on maximum number of systemd timers that can be active

2021-02-02 Thread P.R.Dinesh
Do we have any limitation on the maximum number of systemd timers / units that can be active in the system? Will it consume high cpu/memory if we configure 1000s of systemd timers? -- With Kind Regards, P R Dinesh ___ systemd-devel mailing list systemd-

[systemd-devel] Configuration option to filter logs sent via systemd-journal-upload

2020-02-27 Thread P.R.Dinesh
I am using systemd-journal-upload and systemd-journal-remote to sync logs between two systems. Do we have any configuration to filter the logs that are sent by systemd-journal-upload? Mainly I am interested in filtering the logs by using message-id. I am using systemd version 243. Thank you --

[systemd-devel] Configuration option to set the ownership of coredump files

2020-02-27 Thread P.R.Dinesh
Do we have a configuration option to change the ownership of core dump files generated by systemd-coredump? Mainly I would like to set the ownership group of the coredumps to a custom group. I am using systemd version 243. -- With Kind Regards, P R Dinesh ___

[systemd-devel] Coredump Truncation problem

2019-08-07 Thread P.R.Dinesh
Hi, One of my daemon got crashed. The coredump is generated and stored in compressed format (.xz) While analyzing the coredump in gdb, I see that the coredump got truncation. I was not able to get any backtrace out of this coredump. BFD: warning: /tmp/60515/data-manager is truncated: expected co

[systemd-devel] Option to restart/start a service using sysrq magic key

2018-06-11 Thread P.R.Dinesh
Is it possible to restart/start a service using sysrq magic key. In my setup we have a getty service which controls the console. For some reason this gets stopped. Once the getty service is stopped the console connection to the device is hung. The only way to recover is to reboot the device. I

[systemd-devel] Journal statistics

2018-02-13 Thread P.R.Dinesh
I am interesting in getting some statistics information from journal, for eg., 1) number of logs 2) number of logs per severity 3) number of logs per daemon 4) time when log rotate happen ... Currently I am generating these data using journalctl and wc (journalctl | wc -l) Is there any other bett

[systemd-devel] Enabling Watchdog for Systemd-Journald Service

2018-01-07 Thread P.R.Dinesh
Is it possible to enable watchdog for Systemd-Journald service. I have once witnessed a hung situation in systemd-journald (may be due to some wrong configuration). I prefer to set the watchdog so that it would be auto recovered whenever it gets hunged. Regards, Dinesh __

[systemd-devel] Extracting logs out of journal in windows 7

2017-12-05 Thread P.R.Dinesh
I have a systemd.journal file copied to windows machine. I want to extract the logs out of the journal file. Do we have a equivalent to journalctl in windows os or is it possible to cross compile journalctl in windows platform? Regards, Dinesh ___ syst

[systemd-devel] Preventing custom Journal Log Corruption

2017-09-20 Thread P.R.Dinesh
I use a service to extract few interesting logs from journal and store seperately by using a service. ExecStart=/lib/systemd/systemd-journal-remote --output=/var/log/critical/critical.journal --getter="journalctl -f PRIORITY=3 -o export" this service stores the journal file in /var/log/critica

[systemd-devel] Store journal logs to different journals(location) based on Filters

2017-09-19 Thread P.R.Dinesh
Is it possible to store journal logs matching specific filters to different journal files in addition to the main journal using some journald configurations? For eg., All journal logs of severity critical and above should be stored in /var/log/critical/critial.journal in addition to the main jou

[systemd-devel] Does Journal conf Max Use configs applies to remote journal as well

2017-07-12 Thread P.R.Dinesh
Does the journal configurations like "SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=, SystemMaxFiles=, RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize=, RuntimeMaxFiles=" applies to the remote journal files (created by systemd-journal-remote in the /var/log/journal/remote or /run/log/journ

[systemd-devel] Does systemd compression makes use of multi core

2017-01-12 Thread P.R.Dinesh
Hi, We are using systemd version 229. Our processor is x86 octa core. I have configured systemd coredump (coredump.conf) for storage:external and compression:yes. One of our daemon consumes lots of ram memory (Around 10Gb). When it got crashed, systemd-coredump utility took almost three hours(

Re: [systemd-devel] Skipping temporary coredump file during coredump generation

2016-12-03 Thread P.R.Dinesh
f( backtrace_enabled || ( compression_not_enabled || compress_not_supported)) { generate and store uncompressed coredump } else { skip uncompressed coredump file, compress the STDIN COREFILE. } On Sat, 3 Dec 2016 at 23:46 Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Dec 02, 2016 at 05:53:59PM +, P.R.D

[systemd-devel] Skipping temporary coredump file during coredump generation

2016-12-02 Thread P.R.Dinesh
During coredump generation I could find a temporary uncompressed file getting generated from the corefile and written to the harddisk, later this file is getting compressed (if compression was enabled) and then the file coredump file is stored and this temporary file is removed. I have a process w

[systemd-devel] Queries on Journal usage for High Available Systems

2016-09-26 Thread P.R.Dinesh
Hi, I am working on a High Availability System. we have two servers in which one will serve the active request whereas the other remains in standby mode. When the active server goes down, the standby server becomes active and starts serving the request. We want the journals of the active server

[systemd-devel] Error : cannot fork for core dump: Cannot allocate memory

2016-07-30 Thread P.R.Dinesh
My system was running for 2 days continuously and suddenly I started getting the following error Broadcast message from systemd-journald@Acce-01--5712 (Thu 2016-07-28 > 19:02:14 UTC): > systemd[1]: Caught , cannot fork for core dump: Cannot allocate > memory > Message from syslogd@Acce-01--5712

Re: [systemd-devel] Can coredumpctl work independent of journald?

2016-05-13 Thread P.R.Dinesh
e pointers on designing this feature. On Thu, May 12, 2016 at 11:21 PM, Lennart Poettering wrote: > On Thu, 12.05.16 08:15, P.R.Dinesh (pr.din...@gmail.com) wrote: > > > Thank you Lennart, > > I would like to explain my system scenario. > > > > We are using sys

Re: [systemd-devel] Internals of journald

2016-05-12 Thread P.R.Dinesh
ournalctl-to-view-and-manipulate-systemd-logs > > 12.05.2016 15:19, P.R.Dinesh пишет: > > I would like to understand the internals of journald, how does journal > works, could you please share some links on this subject. > Thank you > Regards > Dinesh > > >

[systemd-devel] Internals of journald

2016-05-12 Thread P.R.Dinesh
I would like to understand the internals of journald, how does journal works, could you please share some links on this subject. Thank you Regards Dinesh ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mai

Re: [systemd-devel] Can coredumpctl work independent of journald?

2016-05-11 Thread P.R.Dinesh
Additionally can we improve the journal log rotate system to keep the higher severity messages (like coredump) for longer duration and remove lower priority messages to get spaces. On Thu, May 12, 2016 at 8:15 AM, P.R.Dinesh wrote: > Thank you Lennart, > I would like to explain my

Re: [systemd-devel] Can coredumpctl work independent of journald?

2016-05-11 Thread P.R.Dinesh
easible?) Thank you Regards, Dinesh On Wed, May 11, 2016 at 10:25 PM, Lennart Poettering wrote: > On Wed, 11.05.16 20:31, P.R.Dinesh (pr.din...@gmail.com) wrote: > > > I have set the journald to be persistant and limit its size to 40MB. > > I had a process coredumped and the

[systemd-devel] Can coredumpctl work independent of journald?

2016-05-11 Thread P.R.Dinesh
I have set the journald to be persistant and limit its size to 40MB. I had a process coredumped and the coredump file is found in /var/log/systemd/coredump When I run coredumpctl this coredump is not shown. Later I found that the core dump log is missing from the Journal ( the journal got wrapped

[systemd-devel] Callback or Event Notification from journald in case of crash

2016-04-05 Thread P.R.Dinesh
I am using systemd, journald and systemd-coredump in my system. When a process crashes the systemd-coredump util handles the core dump and logs a message in the journal with MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1 Now I want to add a routine which will do post crash activities, For eg., blink

Re: [systemd-devel] Global Configuration to Restart all Daemons on Failure/Crash

2015-11-30 Thread P.R.Dinesh
you please share me on how to achieve this feature. Thank you On Mon, Nov 30, 2015 at 6:37 PM, P.R.Dinesh wrote: > > > I want to restart any of my daemons (controlled by systemd) on > Failure/Crash. > > I can do this individually by setting the Restart=on-failure in the daemon