Thank you very much for a quick reply:
I cannot copy the logs/configs from my firm but I will try my best to re-create(manual copy paste) it here
Apache Configuration:
LoadModule log_config_module <...../mod_log_config.so>
LoadModule wsgi_module <...../mod_wsgi.so>
LoadModule authz_host_module <..../mod_authz_host.so>
Listen 8080
PidFile <...path to pid file>
LogLevel Info
ErroLog /local/scratch/apache.err
TransferLog /local/scratch/apache.out
WSGIApplicationGroup %{GLOBAL}
WSGIRestrictEmbedded On
WSGISocketPrefix /local/scratch/run/wsgi
<VirtualHost *:8080>
ServerName
xyz.com WSGIDaemonProcess myapp processes=5 threads=5 display-name=%{GROUP} deadlock-timeout=60
WSGIApplicationGroup %{GLOBAL}
WSGIProcessGroup myapp
WSGIScriptAlias / /local/scratch/....../bin/webapp-1.0.wsgi
<Directory /local/scratch/....../bin>
Order allow, deny
Allow from all
</Directory>
</VirtualHost>
Logs:
[info] mod_wsgi (pid=5038): Starting process 'myapp' with threads=5
[info] mod_wsgi (pid=5038): Initializing Python.
[notice] Apache/2.2.24 (Unix) mod_wsgi/4.3.2 Python/2.7.1 configured -- resuming normal operations
[info] Server built: Aug 2 2013 13.51.41
[info] mod_wsgi (pid=5040): Starting process 'myapp' with threads=5
[info] mod_wsgi (pid=5041): Starting process 'myapp' with threads=5
[info] mod_wsgi (pid=5040): Initializing Python.
[info] mod_wsgi (pid=5039): Starting process 'myapp' with threads=5
[info] mod_wsgi (pid=5039): Initializing Python.
[info] mod_wsgi (pid=5042): Starting process 'myapp' with threads=5
[info] mod_wsgi (pid=5041): Initializing Python.
[info] mod_wsgi (pid=5042): Initializing Python.
[info] mod_wsgi (pid=5038): Attaching interpreter ''.
[info] mod_wsgi (pid=5042): Attaching interpreter ''.
[info] mod_wsgi (pid=5041): Attaching interpreter ''.
[info] mod_wsgi (pid=5040): Attaching interpreter ''.
[info] mod_wsgi (pid=5039): Attaching interpreter ''.
[info] [client 10.79.29.2] mod_wsgi (pid=5038, process='myapp', application=''): Loading WSGI script '/local/scratch/....../bin/webapp-1.0.wsgi'
[info] [client 10.79.29.2] mod_wsgi (pid=5042, process='myapp', application=''): Loading WSGI script '/local/scratch/....../bin/webapp-1.0.wsgi'
[info] [client 10.79.29.2] mod_wsgi (pid=5040, process='myapp', application=''): Loading WSGI script '/local/scratch/....../bin/webapp-1.0.wsgi'
[info] [client 10.79.29.2] mod_wsgi (pid=5039, process='myapp', application=''): Loading WSGI script '/local/scratch/....../bin/webapp-1.0.wsgi'
[info] [client 10.79.29.2] mod_wsgi (pid=5041, process='myapp', application=''): Loading WSGI script '/local/scratch/....../bin/webapp-1.0.wsgi'
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] server seems busy, (you many need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 0 idle, and 12 total children
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] server seems busy, (you many need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 0 idle, and 20 total children
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] server seems busy, (you many need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 0 idle, and 36 total children
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] server seems busy, (you many need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 0 idle, and 68 total children
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] mod_wsgi (pid=5038): Daemon process deadlock timer expired, stopping process 'myapp'
[info] mod_wsgi (pid=5038): Shutdown requested 'myapp'
[info] mod_wsgi (pid=5041): Daemon process deadlock timer expired, stopping process 'myapp'
[info] mod_wsgi (pid=5041): Shutdown requested 'myapp'
[info] mod_wsgi (pid=5042): Daemon process deadlock timer expired, stopping process 'myapp'
[info] mod_wsgi (pid=5042): Shutdown requested 'myapp'
[info] mod_wsgi (pid=5038): Aborting process 'myapp'
[info] mod_wsgi (pid=5038): Exiting process 'myapp'
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] mod_wsgi (pid=5038): Process 'myapp' had died, deregister and restart it
[info] mod_wsgi (pid=5038): Process 'myapp' has been deregistered and will no longer be monitored
[info] mod_wsgi (pid=5405): Starting process 'myapp' with threads=5
[info] mod_wsgi (pid=5405): Initializing Python.
[info] mod_wsgi (pid=5405): Attaching interpreter ''.
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] mod_wsgi (pid=5041): Aborting process 'myapp'
[info] mod_wsgi (pid=5041): Exiting process 'myapp'
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] [client 10.79.29.2] mod_wsgi (pid=5405, process='myapp', application=''): Loading WSGI script '/local/scratch/....../bin/webapp-1.0.wsgi'
[info] mod_wsgi (pid=5042): Aborting process 'myapp'
[info] mod_wsgi (pid=5042): Exiting process 'myapp'
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
[error] [client 10.79.29.2] Truncated or oversized response headers received from daemon process 'myapp': /local/scratch/....../bin/webapp-1.0.wsgi
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
[info] mod_wsgi (pid=5041): Process 'myapp' had died, deregister and restart it
[info] mod_wsgi (pid=5041): Process 'myapp' has been deregistered and will no longer be monitored
[info] mod_wsgi (pid=5042): Process 'myapp' had died, deregister and restart it
[info] mod_wsgi (pid=5042): Process 'myapp' has been deregistered and will no longer be monitored
................
................
[error] <All the print statements from python app is getting logged here as an error>
................
................
Please let me know if there is any more info required