With mod_wsgi and delegating the Django application to a separate set
of daemon processes I now receive 6 req/sec.More important memory
consumption is much lower now.
Here is my apache config for satchmo shop, hope someone will find it
useful:
WSGISocketPrefix /tmp/wsgi
<VirtualHost *:80>
ServerName mydomain.example.com
DocumentRoot "/home/user1/djangoapp"
WSGIDaemonProcess mydomain.example.com user=user1 group=user1
processes=1 threads=1
WSGIProcessGroup mydomain.example.com
WSGIScriptAlias / /home/user1/djangoapp/django.wsgi
Alias /static/ /home/user1/djangoapp/static/
<Directory /home/user1/djangoapp/static/>
Order deny,allow
Allow from all
Options Indexes
IndexOptions FancyIndexing
</Directory>
Alias /admin_media/ /home/user1/djangoapp/admin_media/
<Directory /home/user1/djangoapp/admin_media/>
Order deny,allow
Allow from all
Options Indexes
IndexOptions FancyIndexing
</Directory>
<Directory "/home/user1/djangoapp">
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo users" 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---