You really need to give us a better idea of what you are doing. In this case, since you don't appear to be forking off children, I'd suggest giving us some idea of the environment setup, how you are starting up your script, any strange things you might be doing such as backgrounding (as mentioned above). Also, are you using any modules that might be forking under the hood? You're doing the equivalent of asking us to fix your car without telling us the make, model, or circumstances surrounding the breakdown.