Quantcast
Channel: ActiveState Community Site - Installation Support for ActivePerl
Viewing all articles
Browse latest Browse all 125

Running more than one Perl as a Windows service causes problems

$
0
0

I have been using Perl as a Windows service since Perl 5.10 and it was good & stable for my purposes with a tick that ran every couple of seconds and would call back a routine within my Perl script.
Then there was a need for a second Perl service to independently do other scheduled tasks, so a 2nd Perl service installer and runtime code was developed. Similar tick timings were involved.
During testing, I found that after a variable amount of time, but generally within 7 hours, one of the two Perl service 'ticks' would revert to exactly every 15 minutes (instead of every couple of seconds). This would be inficted on the 1st or 2nd Perl service, but never both together.
I tried versions from 5.10 to 5.14 and on different Windows OS platforms but they all exhibited the same behaviour.

Has anyone had experience at running > 1 Perl service with callback timers ?

PeteS


Viewing all articles
Browse latest Browse all 125

Latest Images



Latest Images