Hi all, i did get trac running with fcgid on apache in gentoo without thread and mpm_prefork which works but was pretty slow on an pIII. same was with mod_pyton. So I tested with compiling apache with mpm_worker and get this message when trying fcgid again (mod_python works here too but also slow):
> Oops... > > Trac detected an internal error: > > (22, 'Invalid argument') > > Traceback (most recent call last): > File "/var/www/localhost/cgi-bin/trac.fcgi", line 23, in <module> > fcgi_frontend.run() > File > "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6306-py2.5.egg/trac/web/fcgi_frontend.py", > line 26, in run > _fcgi.WSGIServer(dispatch_request).run() > File > "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6306-py2.5.egg/trac/web/_fcgi.py", > line 1077, in run > clientSock, addr = sock.accept() > error: (22, 'Invalid argument') To run this configuration theres a script delivered in tracs svn: --- import os os.environ['TRAC_ENV']="/var/trac/master" os.environ['PYTHON_EGG_CACHE']="var/tmp" try: from trac.web import fcgi_frontend fcgi_frontend.run() except SystemExit: raise except Exception, e: print 'Content-Type: text/plain\r\n\r\n', print 'Oops...' print print 'Trac detected an internal error:' print print e print import traceback import StringIO tb = StringIO.StringIO() traceback.print_exc(file=tb) print tb.getvalue() --- Has it something to do with threads? I don't know if iam right here on this list. Perhaps better on trac's ? my config: fcgi-2.2 apache-2.2.6-r2 Trac-0.11dev_r6306-py2.5.egg Python-2.5.1-r4 Regards, Gunnar ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users