[modwsgi] Re: mod_wsgi (3.4-14) / Apache 2.4.12 / cx_oracle 5.2 / Oracle 12 / Red Hat (6.7) / Django 1.8.2 hanging under load

2015-10-08 Thread 'Lukasz Szajkowski' via modwsgi
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 error. Bellow is the stack

I can now reproduce the problem on all our environments (5). They all use the 
same technology stack.


[Thu Oct 08 14:18:25.997539 2015] [:error] [pid 1827] django.setup()
[Thu Oct 08 14:18:25.997546 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/__init__.py", line 
17, in setup
[Thu Oct 08 14:18:25.997553 2015] [:error] [pid 1827] 
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Thu Oct 08 14:18:25.997560 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/utils/log.py", line 
86, in configure_logging
[Thu Oct 08 14:18:25.997567 2015] [:error] [pid 1827] 
logging_config_func(logging_settings)
[Thu Oct 08 14:18:25.997574 2015] [:error] [pid 1827]   File 
"/opt/rh/python33/root/usr/lib64/python3.3/logging/config.py", line 795, in 
dictConfig
[Thu Oct 08 14:18:25.997581 2015] [:error] [pid 1827] 
dictConfigClass(config).configure()
[Thu Oct 08 14:18:25.997588 2015] [:error] [pid 1827]   File 
"/opt/rh/python33/root/usr/lib64/python3.3/logging/config.py", line 555, in 
configure
[Thu Oct 08 14:18:25.997595 2015] [:error] [pid 1827] filters[name] = 
self.configure_filter(filters[name])
[Thu Oct 08 14:18:25.997601 2015] [:error] [pid 1827]   File 
"/opt/rh/python33/root/usr/lib64/python3.3/logging/config.py", line 679, in 
configure_filter
[Thu Oct 08 14:18:25.997609 2015] [:error] [pid 1827] result = 
self.configure_custom(config)
[Thu Oct 08 14:18:25.997615 2015] [:error] [pid 1827]   File 
"/opt/rh/python33/root/usr/lib64/python3.3/logging/config.py", line 472, in 
configure_custom
[Thu Oct 08 14:18:25.997622 2015] [:error] [pid 1827] c = self.resolve(c)
[Thu Oct 08 14:18:25.997629 2015] [:error] [pid 1827]   File 
"/opt/rh/python33/root/usr/lib64/python3.3/logging/config.py", line 387, in 
resolve
[Thu Oct 08 14:18:25.997635 2015] [:error] [pid 1827] found = 
self.importer(used)
[Thu Oct 08 14:18:25.997649 2015] [:error] [pid 1827] 
[Thu Oct 08 14:18:25.997658 2015] [:error] [pid 1827] # ProcessId: 1827
[Thu Oct 08 14:18:25.997674 2015] [:error] [pid 1827] # ThreadID: 
140423838201600  File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/raven/middleware.py", line 
35, in __call__
[Thu Oct 08 14:18:25.997684 2015] [:error] [pid 1827] iterable = 
self.application(environ, start_response)
[Thu Oct 08 14:18:25.997692 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/handlers/wsgi.py",
 line 189, in __call__
[Thu Oct 08 14:18:25.997699 2015] [:error] [pid 1827] response = 
self.get_response(request)
[Thu Oct 08 14:18:25.997706 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/handlers/base.py",
 line 108, in get_response
[Thu Oct 08 14:18:25.997713 2015] [:error] [pid 1827] response = 
middleware_method(request)
[Thu Oct 08 14:18:25.997720 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/middleware/common.py",
 line 74, in process_request
[Thu Oct 08 14:18:25.997727 2015] [:error] [pid 1827] if (not 
urlresolvers.is_valid_path(request.path_info, urlconf) and
[Thu Oct 08 14:18:25.997734 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/urlresolvers.py",
 line 647, in is_valid_path
[Thu Oct 08 14:18:25.997748 2015] [:error] [pid 1827] resolve(path, urlconf)
[Thu Oct 08 14:18:25.997755 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/urlresolvers.py",
 line 522, in resolve
[Thu Oct 08 14:18:25.997762 2015] [:error] [pid 1827] return 
get_resolver(urlconf).resolve(path)
[Thu Oct 08 14:18:25.997769 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/urlresolvers.py",
 line 368, in resolve
[Thu Oct 08 14:18:25.997776 2015] [:error] [pid 1827] sub_match = 
pattern.resolve(new_path)
[Thu Oct 08 14:18:25.997783 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/urlresolvers.py",
 line 368, in resolve
[Thu Oct 08 14:18:25.997790 2015] [:error] [pid 1827] sub_match = 
pattern.resolve(new_path)
[Thu Oct 08 14:18:25.997797 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/urlresolvers.py",
 line 240, in resolve
[Thu Oct 08 14:18:25.997804 2015] [:error] [pid 1827] return 
ResolverMatch(self.callback, args, kwargs, self.name)
[Thu Oct 08 14:18:25.997810 2015] [:error] [pid 1827]   File 
"/opt/python_envs/pyws/lib/python3.3/site-packages/django/core/urlresolvers.py",
 line 

[modwsgi] Multiple Pythons 2.7,3.4 modwsgi

2015-10-08 Thread bherman

Is it possible to run multiple python instances with modwsgi.
For example, I have one webapp in 2.7 and one webapp coded in 3.4 is it 
possible to run both simultaneously?

--

Thanks,
Brian Herman
IT
O: (773)299-7557
F: (773)299-7505

Unique Insurance Company 

We value your input, please click here to provide feedback on Unique 
Insurance. 


--
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+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.