I have designed a web service as Paypal listener with HandleURL which works fine most of the time, but when the app has quit, it seems to take too long to start, and misses the Paypal post.
So, I need a way to keep the app alive all the time. How can I manage that ? I vaguely remember Greg mentioning that references can prevent an app to quit but can’t locate that.
Maybe you could try adding the --maxSockets to your startup statement?[/quote]
Just FYI, you don’t need to set the --securePort property if you’re setting --maxsecuresockets to zero. In fact, when you do this you’re having your app spin up a second serversocket and then not using it. They do consume memory and CPU cycles so you might want to leave these completely off.
There was a reason I left that in but can’t remember now, I do have something in my email from 2013r4 talking about this. IIRC, something didn’t work right without that left in but it was a LONG time ago…
I thought we were talking standalone?
I don’t use CGI but I didn’t know that - thanks Maybe the docs could be updated to reflect that for the Daemonize property