Thanks a lot Graham for advice
I tried the settings
WSGIScriptAlias / /opt/hosts/pyws.test/pyws/pyws/wsgi.py process-group=pyws.st
application-group=%{GLOBAL}
WSGIImportScript /opt/hosts/pyws.test/pyws/pyws/wsgi_monitor.py
process-group=pyws.st application-group=%{GLOBAL}
but I still got the
Deadlock shows that application hangs trying to load modules (from django
or built-in etc.). Normally it should be done only once at start-up, but in
our case it's after many requests (*Why)*. So possible explanations:
* python process/interpreter is killed/restarted from outside (e.g. by
>
> Thank you Graham for answering while on vacations !!
>
Unfortunately this didn't help same problem with same stack trace.
Does it make any difference that I have in Apache conf
WSGISocketPrefix ../../var/run/wsgi
WSGIPythonHome /opt/python_envs/pyframe
and in virtual host configuration
/oracle still consider to be open.
>
> Forcing round robin connection pooling plus keep alive traffic may then
> help. (We think that we've seen this..)
>
> On Mon, Sep 28, 2015 at 9:36 AM, 'Lukasz Szajkowski' via modwsgi <
> mod...@googlegroups.com > wrote:
>
>>
Thanks, for suggestion.
Could you please suggest somebody in the London UK area
who could advise on mod_wsgi (ideally with Oracle)
Thanks,
Lukasz
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving
Hi ,
I have a problem with mod_wsgi (3.4-14) / Apache 2.4.12 / cx_oracle 5.2 /
Oracle 12 / Django 1.8.2 hanging under bigger load.
The configuration was used for the last several month in dev / testing.
Now when deployed to production environment Apache hangs after couple of
minutes under
I am not sure if it matters but there is one more python demon on the same
Apache
here is the config
#LogLevel warn
ErrorLog "/opt/logs/pyframe/vhost_epa_prod_error.log"
CustomLog "/opt/logs/pyframe/vhost_epa_prod_access.log" combined
WSGIDaemonProcess epa.prod processes=1 threads=25 user=pnc
below is Python code level stack traces and one more pstack
for the following configuration
ErrorLog "/opt/logs/pyws/vhost_pyws_prod_error.log"
CustomLog "/opt/logs/pyws/vhost_pyws_prod_access.log" combined
WSGIDaemonProcess pyws.prod processes=1 threads=25