Objet: Re: [pve-devel] systemd notify/watchdog
I don't have found anything... :(
Isn't it possible with perl XS, to create a perl module which use the systemd
c++ class ?
I found a php/hhvm module which is doing something like this
https://github.com/shish/hhvm-sd-notify/blob/master
: [pve-devel] systemd notify/watchdog
OK, so that seems to be something different, so we can us it.
(We need to implemented in perl sd_notify to tell to systemd at regular
interval that the service is running)
Are there really no perl bindings for systemd
Are there really no perl bindings for systemd?
I don't have found anything... :(
- Mail original -
De: dietmar diet...@proxmox.com
À: aderumier aderum...@odiso.com
Cc: pve-devel pve-devel@pve.proxmox.com
Envoyé: Mercredi 4 Mars 2015 15:51:33
Objet: Re: [pve-devel] systemd notify
Isn't it possible with perl XS, to create a perl module which use the systemd
c++ class ?
Sure, that is no problem. Or can we use the Net:DBUS module somehow?
___
pve-devel mailing list
pve-devel@pve.proxmox.com
Or can we use the Net:DBUS module somehow?
Sorry, I really don't known.
- Mail original -
De: dietmar diet...@proxmox.com
À: aderumier aderum...@odiso.com
Cc: pve-devel pve-devel@pve.proxmox.com
Envoyé: Jeudi 5 Mars 2015 06:56:02
Objet: Re: [pve-devel] systemd notify/watchdog
Isn't
work without opening /dev/watchdog?
I think it's different than hardware watchdog (in case of system hang).
Here it's more software watchdog, services tell to systemd that they are
running.
(for pvestatd, between each loop for example)
and if systemd don't receive the notify, it's
OK, so that seems to be something different, so we can us it.
(We need to implemented in perl sd_notify to tell to systemd at regular
interval that the service is running)
Are there really no perl bindings for systemd?
___
pve-devel mailing list
Objet: Re: [pve-devel] systemd notify/watchdog
work without opening /dev/watchdog?
I think it's different than hardware watchdog (in case of system hang).
Here it's more software watchdog, services tell to systemd that they are
running.
(for pvestatd, between each loop for example
2015 06:39:53
Objet: Re: [pve-devel] systemd notify/watchdog
systemd have a watchdog feature
http://man7.org/linux/man-pages/man3/sd_watchdog_enabled.3.html
which could be great for some services, like pvestatd. (which sometimes can
freeze which slow/bad storage stats)
Unfortunately
systemd have a watchdog feature
http://man7.org/linux/man-pages/man3/sd_watchdog_enabled.3.html
which could be great for some services, like pvestatd. (which sometimes can
freeze which slow/bad storage stats)
The idea is that the application need to send notifify at regular interval to
which could be great for some services, like pvestatd. (which sometimes can
freeze which slow/bad storage stats)
If you want, I can upload the jessie packages today - those already include
.service definition files.
Then you can test those features directly ;-)
systemd have a watchdog feature
http://man7.org/linux/man-pages/man3/sd_watchdog_enabled.3.html
which could be great for some services, like pvestatd. (which sometimes can
freeze which slow/bad storage stats)
Unfortunately, a restart does not help in that case?
The idea is that the
12 matches
Mail list logo