Michal Arbet 6790f702fa Fix queue_manager in a containerized environment
This patch fixes the operation of queue_manager in a
containerized environment by adding an additional check
on the start_time in ticks since boot.
This way, we can detect a restart even when the PID remains
unchanged as it is ussual in containers, but the start_time is
different.

[1] https://www.man7.org/linux/man-pages//man5/proc_pid_stat.5.html

From man page above:

(22) starttime  %llu
    The time the process started after system boot.
    Before Linux 2.6, this value was expressed in
    jiffies.  Since Linux 2.6, the value is expressed
    in clock ticks (divide by sysconf(_SC_CLK_TCK)).

Closes-Bug: #2078935
Change-Id: I9e22433ec039ad6783593d9cb7fbe22c9090534e
2024-09-17 22:30:21 +09:00
2024-05-01 11:35:50 +09:00
2015-09-24 18:11:22 +08:00
2019-04-19 19:31:51 +00:00
2024-01-26 01:10:57 +09:00
2018-07-04 08:33:49 +07:00
2024-01-23 13:01:18 +09:00
2024-05-01 11:35:50 +09:00
2020-02-10 18:33:15 +01:00
2024-05-01 11:35:50 +09:00
2024-02-07 12:17:40 +09:00

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

Description
OpenStack library for messaging
Readme 36 MiB
Languages
Python 99.8%
Shell 0.2%