BTW, also suggest you read: http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
The latter because it has code examples for how to determine if you are actually running in embedded mode or daemon mode. Graham 2009/8/5 Graham Dumpleton <[email protected]>: > 2009/8/5 BrochesterL <[email protected]>: >> >> Could WSGIApplicationGroup effectively join or seperate process' of >> python embedded or am I mistaken, > > That directive only controls which sub interpreter within the specific > process which accepted the request, is used to handle the request. If > the application runs in a multiprocess configuration, such as it would > with embedded mode on UNIX systems, and in daemon mode if configured > for multiple process, then there would be multiple similarly named sub > interpreters, specifically one per process. > > In other words, that directive is not a way of directing all requests > in a multi process configuration to one place. For that you would need > to use daemon mode with single process in the process group, ie., the > default. > > Â WSGIDaemonProcess mysingleprocess > Â WSGIProcessGroup mysingleprocess > > Â WSGIScriptAlias / /some/path/myapp.wsgi > > If you do that and still doesn't all go to same sub interpreter, then > you are possible doing something not right with using > WSGIScriptAliasMatch directive and all URLs of an application are > being served in different sub interpreters. This case though should be > fairly obvious though as for large Python web application, you would > likely run out of memory quite quickly as every distinct URL would > have a full copy of the application. > > Graham > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
