Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Win32::Daemon installed service fails to start

by bibo (Pilgrim)
on Dec 28, 2004 at 18:11 UTC ( [id://417809]=note: print w/replies, xml ) Need Help??


in reply to Win32::Daemon installed service fails to start

I feel your pain. I have no experience with the module mentioned, so this may all be worthless...

In the services which I have written (in C/C++), I have always observed that the ServiceMangler API needs to be reassured that your service is doing something. I believe your service will startup better if you send lots of SERVICE_START_PENDING messages using the appropriate plumbing. Send them when you first begin to start up. Send them in your startup loop and b etween calls to other subs or functions. Pepper them liberally during the time-consuming parts of your code.

Then the SM feels like you are making progress and actually not dead in the water. Best of luck.

--bibo

  • Comment on Re: Win32::Daemon installed service fails to start

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found