Opened 12 years ago

Closed 10 years ago

#1149 closed task (fixed)

WSGI Apps preferred conf

Reported by: darkblueb Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive8.5
Component: OSGeoLive Keywords: WSGI python
Cc:

Description

Python WSGI apps have to share resources on the Live. This ticket is just a reminder for best practices while things are tuned. At the time of writing, EOxServer has the following settings, which appear to be appropriate for the Live:

    processes=5 threads=1

Change History (6)

comment:1 by schpidi, 11 years ago

Don't forget to set a unique daemon process group (see https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process) e.g.:

WSGIDaemonProcess eoxserver processes=5 threads=1
WSGIProcessGroup eoxserver

comment:2 by darkblueb, 11 years ago

add reference to #1161 here A general best-practices question is: what directories are being exposed to be web visible.

/etc/apache2/conf.d/sahana defines

sahana:  #WSGIScriptAlias /eden/ /usr/local/lib/web2py/wsgihandler.py 

comment:3 by kalxas, 11 years ago

Milestone: OSGeoLive7.0OSGeoLive7.5

All WSGI applications for 7.0 work as expected. Reminder for future versions.

comment:4 by kalxas, 11 years ago

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:5 by kalxas, 10 years ago

Milestone: OSGeoLive8.0OSGeoLive8.5

comment:6 by kalxas, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.