Opened 6 years ago

Closed 5 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 Changed 6 years ago by schpidi

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 Changed 6 years ago by darkblueb

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 Changed 6 years ago by kalxas

Milestone: OSGeoLive7.0OSGeoLive7.5

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

comment:4 Changed 6 years ago by kalxas

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:5 Changed 5 years ago by kalxas

Milestone: OSGeoLive8.0OSGeoLive8.5

comment:6 Changed 5 years ago by kalxas

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