tools@secmgrprd04:~/ $ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
running on Unbuntu 20.04.
I have a ruby program that extracts logs from Palo Alto’s panorama
. It sits in a loop which makes an API call to pull logs since the last time stamp and then calls sleep for an interval (currently 900 seconds).
The program runs fine for a few hours and then fails to return from sleep, effectively hanging.
It does this whether or not I use Proc.daemon to detach from the terminal.
Any ideas what is going on?