[modwsgi] Re: (9)Bad file descriptor: core_output_filter: writing data to the network

2009-02-10 Thread Graham Dumpleton
2009/2/10 Porcari Giovanni giovanni.porc...@softwell.it: Il giorno 10/feb/09, alle ore 01:05, Graham Dumpleton ha scritto: Giovanni, if you are still reading, would it be possible for you to try with Apache 2.2.9 and Python 2.5.2 that ship with MacOS X (Leopard) instead of your separate

[modwsgi] Re: (9)Bad file descriptor: core_output_filter: writing data to the network

2009-02-10 Thread Graham Dumpleton
2009/2/10 Graham Dumpleton graham.dumple...@gmail.com: 2009/2/10 Graham Dumpleton graham.dumple...@gmail.com: 2009/2/10 Porcari Giovanni giovanni.porc...@softwell.it: Il giorno 10/feb/09, alle ore 01:05, Graham Dumpleton ha scritto: Giovanni, if you are still reading, would it be possible

[modwsgi] Re: (9)Bad file descriptor: core_output_filter: writing data to the network

2009-02-10 Thread Graham Dumpleton
2009/2/10 Graham Dumpleton graham.dumple...@gmail.com: 2009/2/10 Graham Dumpleton graham.dumple...@gmail.com: 2009/2/10 Graham Dumpleton graham.dumple...@gmail.com: 2009/2/10 Porcari Giovanni giovanni.porc...@softwell.it: Il giorno 10/feb/09, alle ore 01:05, Graham Dumpleton ha scritto:

[modwsgi] mod_wsgi template for pinax

2009-02-10 Thread pablo.pl...@gmail.com
Hi, I'm studying pinax and trying to create a 'best practice' to setup pinax on ubuntu 8.10 with Apache/mod_wsgi and MySQL. When I'm done I'll submit it to the pinax team and hopefully they'll add it to the docs. I'm not looking for custom high performance settings just for settings that will

[modwsgi] Re: Server slow for first requests, snapy afterwards.

2009-02-10 Thread Lukasz Szybalski
On Feb 9, 8:49 pm, Ariel Mauricio Nunez Gomez ingenieroar...@gmail.com wrote: Thanks a lot Graham. I applied all your suggestions to one of the servers and my template mod_wsgi config. What was recommended in turbogears2 when deploying was to add: import paste.fixture app =

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Ariel Mauricio Nunez Gomez
WSGIDaemonProcess pinax threads=1 processes=25 python-path=/home/user/ pinax-env/lib/python2.5/site- packages WSGIProcessGroup pinax Just so Graham does not hate me for giving bad advice: If you are not using any 'thread unsafe' python lib outside the Pinax dependencies (like GeoDjango)

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Graham Dumpleton
For reference, further detail on aspects of this question at: http://groups.google.com/group/pinax-users/browse_frm/thread/8cbc9857c1b9c4b2?q=mod_wsgi I'll respond later in more detail. Graham 2009/2/11 pablo.pl...@gmail.com pablo.pl...@gmail.com: Hi, I'm studying pinax and trying to

[modwsgi] Re: (9)Bad file descriptor: core_output_filter: writing data to the network

2009-02-10 Thread gert
On Feb 10, 11:01 am, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/2/10 Graham Dumpleton graham.dumple...@gmail.com: 2009/2/10 Porcari Giovanni giovanni.porc...@softwell.it: Il giorno 10/feb/09, alle ore 01:05, Graham Dumpleton ha scritto: Giovanni, if you are still reading,

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Graham Dumpleton
2009/2/11 Graham Dumpleton graham.dumple...@gmail.com: For reference, further detail on aspects of this question at: http://groups.google.com/group/pinax-users/browse_frm/thread/8cbc9857c1b9c4b2?q=mod_wsgi I'll respond later in more detail. It may take me a bit longer to get to this than

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Ariel Mauricio Nunez Gomez
It may take me a bit longer to get to this than had hoped. Daddy day care today and baby demanding a lot of attention and hasn't adjusted to timezone after getting back form holidays which is making it all the more fun. Sounds like fun! For someone who does not know pinax except that it

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Ariel Mauricio Nunez Gomez
What is GeoDango and how does that come into it? What are the multithreading issues in GeoDango? GeoDjango is django.contrib.gis This could be part of your problem -- it should be `threads=1`. This is because GEOS is not a thread safe library, and the serialization to WKT code in particular

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Graham Dumpleton
2009/2/11 Ariel Mauricio Nunez Gomez ingenieroar...@gmail.com: What is GeoDango and how does that come into it? What are the multithreading issues in GeoDango? GeoDjango is django.contrib.gis This could be part of your problem -- it should be `threads=1`. This is because GEOS is not a

[modwsgi] Re: mod_wsgi template for pinax

2009-02-10 Thread Ariel Mauricio Nunez Gomez
The prefork MPM is only relevant if you are running in embedded mode. If using mod_wsgi daemon mode for WSGI application, where you are separately controlling number of processes/threads for the daemon process group, doesn't really matter. If have separate requirement to also run mod_php,