Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 591 in cherokee: Random segfaults spawning fastcgi server, cherokee 0.99.24

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Oct 2, 2009, 7:07 PM

Post #1 of 1 (66 views)
Permalink
Issue 591 in cherokee: Random segfaults spawning fastcgi server, cherokee 0.99.24

Status: New
Owner: ----

New issue 591 by jjamor: Random segfaults spawning fastcgi server, cherokee
0.99.24
http://code.google.com/p/cherokee/issues/detail?id=591

What steps will reproduce the problem?
1. (may be relevant: arch Ultrasparc-T1 (64 bit), Opensolaris 2009.06,
cherokee 0.99.24 and spawn-fcgi v1.6.3 compiled from sources with gcc
3.4.3).

2. Following configuration causes cherokee panic (segfault) when cherokee
tries to launch the spawner:

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:
1. I have tested the timeout limit (by testing higher and lower limits
than 3 seconds, the default), and it does not affect the result.
2. In all cases, I can manually launch the spawfn-fcgi server from the
shell (with UX socket, TCP socket and/or -F option) and it always works
fine.
3. I had a similar problem by using php-cgi as launcher for PHP fastcgi
configuration. In this case, the problem was solved by using TCP socket
instead of Unix socket.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.