Juan José Amor | 2 Oct 2009 20:05
Picon

Cherokee 0.99.24 segfaults when using fastcgi servers ...


Hello all,

Last weeks I tested with 0.99.22 that, if I try to use php-cgi with unix
socket as FastCGI server, cherokee segfaulted when it tried to launch
it. But not when using IP:port instead UX socket... some messages here
confirmed that by using tcp sockets is more stable.

Now, testing spawn-fcgi to launch Moinmoin fastcgi server (moin.fcg),
the behaviour is more strange: if I try to launch with IP:port pair it
faults. Example:

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

But, changing to UX socket, it works!:

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 more more strange: if I try to specify another parameter (-F 5, for
five child) it segfaults again:

source!2!host = /tmp/moin-fcg.sock
(Continue reading)

Alvaro Lopez Ortega | 3 Oct 2009 02:48
Favicon
Gravatar

Re: Cherokee 0.99.24 segfaults when using fastcgi servers ...

2009/10/3 Juan José Amor jjamor <at> gmail.com
 

But more more strange: if I try to specify another parameter (-F 5, for
five child) it segfaults again:

source!2!host = /tmp/moin-fcg.sock
source!2!interpreter = /opt/cherokee/bin/spawn-fcgi -F 5 -f
/var/www/moin-root/server/moin.fcg -s /tmp/moin-fcg.sock
source!2!nick = Moin FCGI
source!2!type = interpreter
 
Sounds like a bug. Could you please log a bug for this?
 

Cherokee 0.99.24 and spawn-fcgi v1.6.3 are running on Opensolaris
2009.06 Sparc64 (running on Sun Fire T2000 server), and were compiled
with gcc 3.4.3.

Any ideas?
 
Dunno whether it has something to do, but.. have you tried to increase the spawning timeout limit?
 
--
Greetings, alo
http://www.alobbs.com/
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee

Gmane