SOAPpy server shutting down?

S

sberry

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top