On 2/26/06, edgar mortiz <[EMAIL PROTECTED]> wrote:
> thanks for the reply nick! :)
>
> anyways I've tried to run httpd under gdb and i came up with this
>
> gdb /usr/sbin/httpd
>
> (gdb) run -t
> Starting program: /usr/sbin/httpd -t
> Syntax OK
> [New process 9600]
>
> Program received signal SIGSEGV, Segmentation fault.
> _thread_kern_lock (which=-2067247604)
> at /usr/src/lib/libpthread/uthread/uthread_kern.c:960
> 960 {
Ah, threads. Sounds like it's related to what David Higgs said:
"Additionally, mod_python requires a separate python installation
without thread support".
>
> I'll try lighttpd and FastCGI
Yeah, that would be fun.
Remember, too, that if your server is going to be essentially just
serving python scripts you can get away with using a hacked
SimpleHTTPServer from the python standard lib. That means you need
only invoke python one time, and let it's own internal threading
module handle the rest.
-Nick