Re: [modwsgi] Reference for FreeBSD binary packages for mod_wsgi?

2010-07-27 Thread Hanne Moa
On 27 July 2010 06:31, Douglas Thrift douglas...@gmail.com wrote: = If Threads are disabled = Make sure APR isn't installed without threads; its package name will include nothr if threads are disabled: This was the case with me, apr was a nothr-version. I recompiled these in the order apr,

[modwsgi] mod_wsgi + apache not multithreaded, why?

2010-07-27 Thread lega
WSGI application -- # coding: utf-8 import time def application(environ, start_response): status = '200 OK' output = str(time.time()) time.sleep(5) output += ' - ' + str(time.time()) response_headers = [('Content-type', 'text/html;

Re: [modwsgi] mod_wsgi + apache not multithreaded, why?

2010-07-27 Thread Graham Dumpleton
As asked on StackOverflow, what Apache MPM are you using? Plus, have you modified the MPM settings? Also try: import cStringIO import os def application(environ, start_response):     headers = []     headers.append(('Content-Type', 'text/plain'))     write = start_response('200 OK', headers)  

[modwsgi] Re: mod_wsgi + apache not multithreaded, why?

2010-07-27 Thread lega
This is one of the browser page back on line, from different - in parallel. Thank you. On 27 июл, 19:01, lega lega...@gmail.com wrote: Result: PID: 3509 UID: 33 GID: 33 DOCUMENT_ROOT: '/htdocs' GATEWAY_INTERFACE: 'CGI/1.1' HTTP_ACCEPT: 'application/xml,application/xhtml+xml,text/