Dane,

I have set up mod_wsgi on apache and I trying to access the ogcserver
and I get the following error within apache error log:
[Sun Mar 14 09:20:46 2010] [error] [client 127.0.0.1] C:/Program Files
(x86)/Apache Software Foundation/Apache2.2/wms/wmsWSGI_4326_apache.py
is not executable; ensure interpreted scripts have "#!" first line
[Sun Mar 14 09:20:46 2010] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process: C:/Program Files
(x86)/Apache Software Foundation/Apache2.2/wms/wmsWSGI_4326_apache.py

John


On 3/13/10, Dane Springmeyer <[email protected]> wrote:
> The ogcserver does fine deployed in a multithreaded environment. Look
> in apache+mod_wsgi.
>
> Running the server "standalone" uses the wsgiref module built into
> python, which is really only intended for testing. Running multiple
> instances of it does not make sense.
>
> --- \o/ ---
> Sent from my phone
>
> On Mar 13, 2010, at 11:16 AM, John Mitchell <[email protected]>
> wrote:
>
>> I realize that the WMS OGCServer that sits on top of Mapnik is only a
>> single threaded application but if I did the following to simulate a
>> multi-threaded application would this be feasible?
>>
>> Have 10 command windows running a different wms_WSGI_4326.py script
>> (1-10) as a WSGI standalone server with the only difference being that
>> each script refers to a different port number (8001-8008).  On top of
>> all these servers is geowebcache which processes the WMS requests to
>> it from the client back to each of these WSGI standalone servers in
>> round robin format.
>>
>> Does this make sense?
>>
>> Thanks,
>>
>> John
>>
>> --
>> John J. Mitchell
>> _______________________________________________
>> Mapnik-users mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>


-- 
John J. Mitchell
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to