Re: Fast respawning jobs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lennart,


the desciption for StartLimitIntervalSec && Startlimitburst:

"more than burst times within an interval time span are not permitted to start any more"


But i need: A Job that returns after 4 Seconds with StatusCode 0 have to be started again. Of cource i can raise the StartLimit...but this is not a "really" solution in my eyes 😊


Best regards,

  Kai.



At Lürssen, we are dedicated to protecting the world’s oceans and work hard every day to improve our impact on the environment. Please support our mission and reconsider before you print this email in order to save both energy and paper.


Rechtsform: Kommanditgesellschaft
Firma: Fr. Lürssen Werft GmbH & Co. KG
Sitz: Bremen, Amtsgericht Bremen HRA 10066 HB
Umsatzsteuer-Identifikationsnummer: DE114659458
Steuernummer: 60 100 09012

Geschäftsführer: Peter Lürßen, Dr. Klaus Borgschulte, Tim Wagner, Dirk Malgowski, Dr. Justus Reinke, Lena Ströbele, Sebastian Rheineck, York Ilgner

Unsere E-Mail-Nachrichten und Korrespondenz mit der Lürssen Gruppe per E-Mail sind weder rechtsverbindliche Erklärungen noch Geschäftsbriefe. Die Veränderung des ursprünglichen Inhalts dieser E-Mail im Laufe der Datenübertragung kann nicht ausgeschlossen werden. Der Inhalt dieser E-Mail (einschließlich beigefügter Anhänge) ist vertraulich und u.U. rechtlich geschützt und nur für den beabsichtigten Empfänger bestimmt. Sollten Sie nicht der bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Jegliches unbefugte Vervielfältigen, Veröffentlichen oder Weitergabe des Inhaltes dieser E-Mail ist nicht gestattet.
Our e-mail messages and any correspondence with the Luerssen group via e-mail are neither legally binding nor business letters. The falsification of the original content of this message in the course data transmission cannot be excluded. The contents of this e-mail (including any attachments) are confidential and may be privileged and are addressed to the intended recipient only. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited.



Von: Lennart Poettering <lennart@xxxxxxxxxxxxxx>
Gesendet: Freitag, 25. Juni 2021 12:48:56
An: Szymanski, Kai
Cc: systemd-devel@xxxxxxxxxxxxxxxxxxxxx
Betreff: Re: [systemd-devel] Fast respawning jobs
 
On Fr, 25.06.21 09:32, Szymanski, Kai (Kai.Szymanski@xxxxxxxxxxx) wrote:

> Hi,

Please always mention the systemd version you are operating with. (And
distro would be good too).

> i have a job that is very fast respawning if there ist nothing todo. The Servicefile looks like this:
>
>
> [Unit]
> Description=job1
> StartLimitIntervalSec=100
> StartLimitBurst=5

With these two lines you declare that starting the unit shall fail
when attempted more than 5 times in 100s.

> Problem is that after several retries the job goes to failed state (but it exits after 1 Seconds with resultcode 0).

Raise the start limit?

Lennart

--
Lennart Poettering, Berlin

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux