Project

General

Profile

what about "spawn-fcgi: child exited with: 1" meaning?

Added by madwolfcrazy almost 15 years ago

I want do python web develop,so I need a python web environment,I chose The webpy.
As the http://webpy.org/cookbook/fastcgi-nginx I do "Webpy + Nginx with FastCGI"
And all of this done,is ok.No problem.
but when I shut down the spawn-fcgi and start it again.This print
"spawn-fcgi: child exited with: 1" cant start.
And when I restart my os (archlinux) and start spawn-fcgi ,This print
"spawn-fcgi: child spawned successfully: PID: 822" I know it's meaning ok ,but its not .my nginx cant connect it .then I kill 822 shell say " No such process" and start it again .This print
_"spawn-fcgi: child exited with: 1" again.

I was confused.
THX
sorry my english:)

OS:Arch linux 2.6.33 python 2.6.5 spawn-fcgi 1.6.3


Replies (1)

RE: what about "spawn-fcgi: child exited with: 1" meaning? - Added by stbuehler almost 15 years ago

spawn-fcgi waits 100ms and checks if the FastCGI app is still alive.
If it takes longer to crash spawn-fcgi won't notice, that is why you get different results.

It still doesn't work, but that is not a spawn-fcgi problem. Try spawning in foreground (-n) to see error messages, and see how we recommend using it: http://redmine.lighttpd.net/projects/spawn-fcgi/wiki/Basic_Ideas

    (1-1/1)