perl signal processing only works once when sighandler calls subroutine
问题 Setup: kernel: 4.1.16-v7+ OS: armv7l GNU/Linux (mostly debian) This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabihf-thread-multi-64int A larger perl code has a part of external process which sometimes does not respond within a certain timelimit. When this error occurs the "main" subroutine gets restarted via signal_handler command "restartservice" During debugging this issue i found numerous descriptions about signal handling and especially reinitialising a signal