-
Notifications
You must be signed in to change notification settings - Fork 19
I've upgraded the script to the 1.6 version you have on your own website and added a bugfix #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Why does a fork help? You run the code in a child process and wait for that child to finish. The original code execs the child process, which exits when it finishes. Seems to me it's the same effect without the extra process. Please explain the subtlety I am missing. |
I use your script on many of my servers but it failed on one server and I couldn't find out why. it happens in another process which starts something with solo. when this process ends, it also ends the solo process and because of that other command with solo and the same port are executed again. this only happens on one server, which has the same base image and puppet scripts as the other servers i have. This little tweak solved the problem. I hope my explaination is clear. |
I don't think I understand. You said that you are running identical My big issue is that I don't see how fork/wait would change the behavior, ...Tim On Fri, Apr 11, 2014 at 7:32 AM, sanderheijselaar
Tim Kay |
I have a php process that does a exec. This exec has the solo script in front so it will only run once. But when the php process stops, the solo scripts also stops and closes the bound socket. |
I missed something in your explanation. You said "I run multiple processes.... This only happens on one server." What you said before "This" does not indicate a problem. My read is that On Mon, Apr 14, 2014 at 4:54 AM, sanderheijselaar
Tim Kay |
No description provided.