Open danielniccoli opened 11 years ago
From alobbs on November 26, 2009 09:03:10 FTR,
While investigating the cause of the bug 504, I found that the command line you pasted for launching a FastCGI server listening to a local TCP port did not work for me. Instead, I've had to use the following command (it's a MacOS X 10.6 + macports command, you'll have to adapt it to OpenSolaris):
spawn-fcgi -n -a 127.0.0.1 -p 25000 -- /opt/local/bin/python2.5 server/moin.fcg
The main things I read in the bugs are UltraSparc (thus big-endian). My guess is we should start testing similar behavior on ARM, and most likely we can spot where badness occurs.
Original author: jja...@gmail.com (October 03, 2009 02:06:14)
What steps will reproduce the problem?
source!2!host = 127.0.0.1:25000 source!2!interpreter = /opt/cherokee/bin/spawn-fcgi -f /var/www/moin-root/server/moin.fcg -a 127.0.0.1 -p 25000 source!2!nick = Moin FCGI source!2!type = interpreter
By using Unix socket instead of TCP, process is launched without problems:
source!2!host = /tmp/moin-fcg.sock source!2!interpreter = /opt/cherokee/bin/spawn-fcgi -f /var/www/moin-root/server/moin.fcg -s /tmp/moin-fcg.sock source!2!nick = Moin FCGI source!2!type = interpreter
But with this last configuration, if I try to request 5 childs (-F 5 option passed to spawn-fcgi) it segfaults again.
Notes:
Original issue: http://code.google.com/p/cherokee/issues/detail?id=591