Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Forcing modperl processes to restart after N requests

by flexvault (Monsignor)
on Oct 12, 2012 at 15:29 UTC ( #998723=note: print w/replies, xml ) Need Help??

in reply to Forcing modperl processes to restart after N requests


Have you tested how long it takes to refresh the web-server?

We have a "slow time" when we refresh all of our high usage servers. We have some persistent Perl applications that we could refresh and the clients waited for the server to respond. Unfortunately with Apache2, mod-perl would go crazy trying to re-connect to the persistent Perl application, which created errors trying to refresh the socket. For us, the downtime could be measured in seconds. Refresh didn't work correctly, but we just did a 'stop' followed by a 'start', which worked fine.

Just a suggestion.

Good Luck

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re: Forcing modperl processes to restart after N requests

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2016-10-24 01:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.