468,249 Members | 1,512 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

SOAPpy server shutting down?

I have a soap server I am running on an OS X Server using SOAPpy. To
start the server I am running
server = SOAPpy.SOAPServer(('IPADDRESS", PORT), namespace=NAMESPACE)
server.serve_forever()

I am starting the server manually in the background by running from
the command line as follows:
../mySOAPServer.py &

However, when I log out of my ssh session, the server often stops
working. I have not been able to find a consistent amount of time it
will stay up, however it always seems to go down after an hour or so.

Any ideas on how to prevent this or take care of the problem. So far
all I could come up with is running a cron job to check for the
process, then start it if it is not running. However, in the
production environment I need this to be running 24/7 so I can't
really afford any down time. I would need to run my cron job every
minute or so to get the most up-time possible and would like to avoid
this.

Any ideas? Thanks.
Dec 10 '07 #1
0 847

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Vivek | last post: by
reply views Thread by Harry George | last post: by
reply views Thread by elsarfhem | last post: by
9 posts views Thread by Sean Shanny | last post: by
reply views Thread by benboals | last post: by
1 post views Thread by icius | last post: by
4 posts views Thread by Maurice LING | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.