[Thu Dec 29 22:27:29.937943 2016] [wsgi:info] [pid 72223:tid 140735160061952] mod_wsgi (pid=72223): Starting process 'trunk.delphicloud.io' with uid=502, gid=20 and threads=15.
[Thu Dec 29 22:27:29.938345 2016] [wsgi:info] [pid 72224:tid 140735160061952] mod_wsgi (pid=72224): Starting process 'prod-branch.delphicloud.io' with uid=502, gid=20 and threads=15.
[Thu Dec 29 22:27:29.938665 2016] [mpm_event:notice] [pid 69988:tid 140735160061
952] AH00489: Apache/2.4.18 (Unix) mod_wsgi/4.5.11 Python/2.7 configured -- resuming normal operations
[Thu Dec 29 22:27:29.938692 2016] [mpm_event:info] [pid 69988:tid 140735160061952] AH00490: Server built: Aug 9 2016 00:09:14
[Thu Dec 29 22:27:29.938716 2016] [core:notice] [pid 69988:tid 140735160061952] AH00094: Command line: '/usr/local/apache2/bin/httpd -f /Users/erik/web/apache2/httpd.conf'
[Thu Dec 29 22:27:29.939548 2016] [wsgi:info] [pid 72223:tid 140735160061952] mod_wsgi (pid=72223): Initializing Python.
[Thu Dec 29 22:27:29.939875 2016] [wsgi:info] [pid 72224:tid 140735160061952] mod_wsgi (pid=72224): Initializing Python.
[Thu Dec 29 22:27:29.940361 2016] [wsgi:info] [pid 72225:tid 140735160061952] mod_wsgi (pid=72225): Initializing Python.
[Thu Dec 29 22:27:29.990508 2016] [wsgi:info] [pid 72223:tid 140735160061952] mod_wsgi (pid=72223): Attach interpreter ''.
[Thu Dec 29 22:27:29.990567 2016] [wsgi:info] [pid 72224:tid 140735160061952] mod_wsgi (pid=72224): Attach interpreter ''.
[Thu Dec 29 22:27:29.990572 2016] [wsgi:info] [pid 72225:tid 140735160061952] mod_wsgi (pid=72225): Attach interpreter ''.
[Thu Dec 29 22:28:08.373654 2016] [wsgi:info] [pid 72223:tid 123145303912448] [remote 127.0.0.1:60088] mod_wsgi (pid=72223, process='trunk.delphicloud.io', application=''): Loading WSGI script '/Users/erik/web/delphicloud.io/dc-django-app/trunk/delphi_cloud/delphicloud/wsgi.py'.
[Thu Dec 29 22:28:08.975756 2016] [wsgi:info] [pid 72230:tid 140735160061952] mod_wsgi (pid=72230): Initializing Python.
[Thu Dec 29 22:28:09.007544 2016] [wsgi:info] [pid 72230:tid 140735160061952] mod_wsgi (pid=72230): Attach interpreter ''.
[Thu Dec 29 22:28:17.599267 2016] [wsgi:error] [pid 72230:tid 123145312497664] [client 127.0.0.1:60094] Truncated or oversized response headers received from daemon process 'trunk.delphicloud.io': /Users/erik/web/delphicloud.io/dc-django-app/trunk/delphi_cloud/delphicloud/wsgi.py, referer: http://aias.delphicloud/question/1
[Thu Dec 29 22:28:17.977361 2016] [core:notice] [pid 69988:tid 140735160061952] AH00052: child pid 72223 exit signal Illegal instruction (4)
[Thu Dec 29 22:28:17.977527 2016] [wsgi:info] [pid 69988:tid 140735160061952] mod_wsgi (pid=72223): Process 'trunk.delphicloud.io' has died, deregister and restart it.
[Thu Dec 29 22:28:17.977540 2016] [wsgi:info] [pid 69988:tid 140735160061952] mod_wsgi (pid=72223): Process 'trunk.delphicloud.io' terminated by signal 4
[Thu Dec 29 22:28:17.977548 2016] [wsgi:info] [pid 69988:tid 140735160061952] mod_wsgi (pid=72223): Process 'trunk.delphicloud.io' has been deregistered and will no longer be monitored.
[Thu Dec 29 22:28:17.978275 2016] [wsgi:info] [pid 72266:tid 140735160061952] mod_wsgi (pid=72266): Starting process 'trunk.delphicloud.io' with uid=502, gid=20 and threads=15.
[Thu Dec 29 22:28:17.979449 2016] [wsgi:info] [pid 72266:tid 140735160061952] mod_wsgi (pid=72266): Initializing Python.
[Thu Dec 29 22:28:18.011622 2016] [wsgi:info] [pid 72266:tid 140735160061952] mod_wsgi (pid=72266): Attach interpreter ''.
--
You received this message because you are subscribed to the Google Groups "modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.
import os, sys
# make path to the project root the first entry in sys.path, so we can# import params.pysys.path.insert(0, os.path.dirname( os.path.dirname(os.path.abspath(__file__))))# this adds everything else to sys.path defined by the current# profile, sets up os.environimport params
from django.core.wsgi import get_wsgi_applicationapplication = get_wsgi_application()
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-python=/opt/local/bin/python
LoadModule wsgi_module /usr/local/apache2/modules/mod_wsgi.so
WSGIApplicationGroup %{GLOBAL} # WSGIDaemonProcess trunk.delphicloud.io user=erik group=staff processes=1 display-name=%{GROUP} header-buffer-size=65536 WSGIDaemonProcess trunk.delphicloud.io user=erik group=staff processes=1 display-name=%{GROUP} WSGIProcessGroup trunk.delphicloud.io WSGIScriptAlias / /Users/erik/web/delphicloud.io/dc-django-app/trunk/delphi_cloud/delphicloud/wsgi.py
$ otool -L mod_wsgi.so
mod_wsgi.so:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1259.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)