I have some scripts running as daemons. They are using SOAP::Lite and subsequently LWP for HTTP transport of the SOAP requests.
These daemons are monitored. Each server process has an itimer set to 60 seconds. The signal handler {ALRM} has a small routine, which touches a file. These files are stat(ed) by another process and if now - mtime is bigger than 180 secs, the corresponding server is restarted.
LWP uses alarm() for the connection timeout. For long running operations/connections I get a
in the intervals of the itimer. Somehow the ALRM signal from setititmer seems to influence LWP as well. (Proof: without itimer set, the connection timeout doesnt occur.) How can I prevent that?