Reputation
4,167
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 8 13
Newest
 django
Impact
~206k people reached

1d
comment mod_wsgi End of script output before headers
Can you provide greater context from the log so it is possible to see messages before and after that point then related to that event in time?
2d
comment mod_wsgi End of script output before headers
Set 'LogLevel info' in the Apache configuration. This will cause mod_wsgi to log messages about why daemon processes are being restarted. This ail show whether the kill -9 is coming about because of a restart somehow triggered by mod_wsgi, or some external monitoring service. So change the Apache log level and then capture mod_wsgi log messages leading up to and after the messages you originally quoted.
Apr
16
comment mod_wsgi End of script output before headers
What version of mod_wsgi are you using? Does your system run a monitor which will kill processes if they use too much memory? Have you monitored the memory usage of the processes to see if they are growing to a very large value? Can you upgrade to the latest mod_wsgi version and try again?
Apr
14
comment python django venv ImportError: No module named site
Generally because of version mismatch of some sort, as note in the documentation. code.google.com/p/modwsgi/wiki/…
Apr
4
comment Is it possible to run two instances of mod_wsgi?
Topic on Google Groups is groups.google.com/forum/#!topic/modwsgi/tq2TI76-q3g I will respond. This week hasn't been a normal week and haven't had a chance yet, plus about to be travelling for a week as well. So please be a little patient with me.
Mar
31
comment Is it possible to run two instances of mod_wsgi?
Yes there is an indirect way of doing but don't have time to provide details right now. You are also better off asking on the mod_wsgi mailing list as it will involve some discussion and ServerFault is not a discussion forum. So go go ask on the mod_wsgi mailing list and I will explain.
Feb
27
comment Apache doesnt start after mod_wsgi re compile
Not by chance trying to load mod_python into the same Apache? Ensure you aren't as mod_python may be using a different Python version and so will crash on startup.
Feb
27
comment How to serve static files with apache on openshift official python cartridge?
If you wanted to escape from the short comings of the OpenShift mod_wsgi setup, you could always consider doing what is described in blog.dscpl.com.au/2015/01/… This uses mod_wsgi-express and it is trivial to have it also host static files.
Feb
16
comment Multiple python versions under apache+mod_wsgi
It is an operating system limitation. You can't load two different versions of the Python library into the one process.
Feb
14
comment Do I have 2 different Apache installations on my VPS
So use operating system packages may seem attractive, but in practice it is pretty stupid unless you want to be stuck with very old versions for which there is no support because developers will not support such old versions. Linux distributions don't support the packages either, even though it has been their choice to keep users on old versions. So that using a package from from the Linux distributions means it is supported is nonsense.
Feb
14
comment Do I have 2 different Apache installations on my VPS
A problem with Ubuntu is that it ships an old outdated mod_wsgi version that has various known issues that have since been addressed. With Linux distributions being so far behind on versions, in some cases for mod_wsgi over 20 versions behind, you can't blame people for wanting to use packages from source code. Linux distributions are slowly killing the incentive for working on open source projects as there is no point improving packages when, because of the Linux distributions, users are stuck with 2 year old versions.
Feb
13
comment Does apache have a way to change the process name for a generic vhost?
For Apache child worker processes there is no way to split the role they serve. This is because all Apache child worker processes will wait on the HTTP server listener port (80) and there isn't a way for a specific process to know in advance for what virtual host a inbound connection may be for. The only way get separation would be to run multiple Apache instances with a front end Apache. That still doesn't help in as much as you can't override name of Apache child worker processes.
Feb
12
comment Does apache have a way to change the process name for a generic vhost?
When you say workers, are you now talking about the Apache child worker processes as opposed to the mod_wsgi daemon processes? Note that the only reason mod_wsgi can do this is because it is setting up the creation of the daemon processes it uses. They are entirely separate to the Apache child worker processes. The Apache child worker process actually proxy requests to the mod_wsgi daemon processes when needed.
Feb
11
revised Apache WSGIScriptAlias - skip a certain prefix
added 168 characters in body
Feb
11
comment Apache WSGIScriptAlias - skip a certain prefix
The recipe using AddHandler/RewriteRule in that doc should be able to be used then. Also read blog post have added link for above.
Feb
10
answered Ubuntu upgrade broke django mod_wsgi
Feb
10
comment strange strace output of httpd process of apache running django with mod_wsgi
Some related reading blog.dscpl.com.au/2012/10/…
Feb
10
answered How to point Ubuntu 14.10 Apache2 (mod-wsgi) server to a specific virtual environment (Python 3.4 / Flask)?
Feb
10
answered Apache WSGIScriptAlias - skip a certain prefix
Jan
8
awarded  django