All Questions
26
questions
26
votes
7
answers
46k
views
How to set up Mod_WSGI for Python on Ubuntu
I am trying to setup MOD_WSGI on my Ubuntu box. I have found steps that said I needed to do the following steps I found at http://ubuntuforums.org/showthread.php?t=833766
sudo apt-get install ...
3
votes
1
answer
5k
views
Installing mod_wsgi with python 2.7 on ubuntu
I tried to install mod_wsgi on my ubuntu server using the package manager, but noticed it depends on python 2.6. I'm using python 2.7, and would rather avoid installing 2.6...
Does mod_wsgi really ...
2
votes
1
answer
506
views
Find site of apache from linux process table
I am using Ubuntu server and when I run ps aux I get the following process table http://pastebin.com/NJsASBek as we can see apache proceess are shown like this:
www-data 26487 0.0 0.9 245476 14920 ?...
2
votes
7
answers
413
views
I'm DOSing my own Apache server, and I can't stop immediately. What can I do to make things better in the short term?
We've got a BUNCH of distributed clients that, among other things, upload log files to our Apache server.
We messed up log rotation on some logs, so we're now uploading relatively large files from ...
2
votes
1
answer
4k
views
apache pointing to the wrong version of python on ubuntu how do I change?
I am setting up a flask application on and Ubuntu 12.04.3 LTS EC2 instance and everything seemed to be working well (i.e. I could get to the webpage via the publicly available url) until I tried to ...
2
votes
3
answers
11k
views
WSGI says "permissions denied" on my Ubuntu server, no WSGISocketPrefix setting works
I am trying to run Apache2 with mod_wsgi supporting daemon processes on Ubuntu 10.04.3 LTS (lucid).
The problem is, I am not able to find out a working configuration for WSGISocketPrefix directive. ...
1
vote
3
answers
801
views
Why, when everything is working properly, an apache restart writes into error.log?
This is just a minor nitpic, but I wonder if anyone can tell me the reason - when I restart apache, these lines get written into /var/log/apache2/error.log
[Thu Mar 24 10:20:56 2011] [warn] mod_wsgi: ...
1
vote
2
answers
359
views
How may I know the amount of memory used by each one of my apache sites?
When I run ps aux I get the following process table http://pastebin.com/NJsASBek that shows how much memory is being used by each one of the subprocess. We can see apache proceess are shown like this:
...
1
vote
2
answers
400
views
Too many sites on apache
I have a server with too many virtual hosts, about 500 virtual hosts, half of this with SSL.
All this hosts are served with mod_wsgi for Django applications.
I notice that after a certain number of ...
1
vote
2
answers
5k
views
Tuning django based site deployed using apache wsgi for better performance
I'm running django application using apache+mod_wsgi, I have setup 6 medium ubuntu servers on Amazon ec2 in which 2 for mongo and 4 for django and apache, using ebs for postgresql and configured a ...
1
vote
1
answer
354
views
django, mod_wsig , KeyError Threading ignored
I am getting this error from mod_wsgi:
[Thu Feb 24 23:31:33 2011] [error] Exception KeyError: KeyError(140115471374144,) in <module 'threading'from '/usr/lib/python2.6/threading.pyc'> ignored
...
1
vote
0
answers
477
views
How to debug my config file for wsgi
I am trying to install a server for inginious (a program for automatic grading). One step in the installation is configuring Apache2 to use mod_wsgi. Here is the configuration file inginious.conf:
<...
1
vote
2
answers
891
views
Intermittent slow response & timeouts - Apache + mod_wsgi + Web2py
I've Ubuntu 14.04.5 LTS (i686) on a Digital Ocean droplet with 2x2.4GHzCPU & 4gb physical memory. I am running a web2py application on it with Apache and mod_wsgi. There are a few additional ...
1
vote
0
answers
158
views
Unable to diagnose downtime / memory issues with Apache and mod_wsgi
I have an Ubuntu EC2 instance (t1.micro, 600mb of RAM) running mod_wsgi on Apache, to serve a Django app. This is all behind a load balancer.
The problem I keep running into is that I can only seem ...
1
vote
0
answers
660
views
Apache bloodhound installation, AWS host not serving site
Following the installation instructions here I went through the entire process on an AWS instance. Everything seems to be setup correctly, I can even run BH off the development server using:
tracd ./...
1
vote
0
answers
611
views
Apache will not start with mod_wsgi enabled
I'm trying to run Apache with mod_wsgi to run Python scripts. The server is running Ubuntu 12.04 with Zend Server installed, but when I enable the wsgi module Apache will not start. I get an error ...
1
vote
1
answer
719
views
How to install mod_wsgi 3.1 on Ubuntu 9.10
I have a Python 3 web app so mod_wsgi < 3.1 doesn't cut it for me. However, on my Ubuntu 9.10 installation there doesn't seem to be a package for mod_wsgi 3.1.
Is there an alternative repository ...
0
votes
2
answers
708
views
ubuntu linode server 404 error with django mod_wsgi [closed]
I have configured a linode server with apache2 and mod_wsgi..
the server is running
wsgi is running
postgre is running and syncdb was successful
what I am having trouble finishing is actually ...
0
votes
1
answer
828
views
apache2: two virtual hosts interfere
I am a developer, not a sys-admin :)
I always have been running multiple vhosts in parallel on different ports,
but this time something is interfering.
I have one vhost which runs a python-based ...
0
votes
1
answer
2k
views
Using wsgi with python 2.6 on ubuntu
I'm using libapache2-mod-wsgi 2.5-1 on ubuntu. Python 2.4 and 2.6 also installed. On server start i get the following warns in the error log:
[Sun Nov 29 14:23:47 2009] [warn] mod_wsgi: Compiled for ...
0
votes
1
answer
2k
views
Apache Processes in top more than MaxClients
We have Apache running with the worker MPM and have MaxClients set to 6, yet when I open up top I can see more than 6 Apache processes running. 13 visible in the screen dump below. Can someone explain ...
0
votes
1
answer
578
views
Running two wsgi applications on the same server gdal org exception with apache2/modwsgi
I'm trying to run two wsgi applications, one django and the other tilestache using the same server.
The tilestache server accesses the db via django to query the db.
In the process of serving tiles ...
0
votes
1
answer
149
views
How can I build mod_wsgi 3.3 on Ubuntu 8.04?
How can I build mod_wsgi 3.3 on Ubuntu 8.04?
0
votes
1
answer
416
views
How to point Ubuntu 14.10 Apache2 (mod-wsgi) server to a specific virtual environment (Python 3.4 / Flask)?
I am running apache2 (mod-wsgi) on Ubuntu 14.10. I am getting 500 Internal Server Error when serving my web-site. I am also using Flask and Python 3.4, and virtual environment. It appears that Ubuntu ...
0
votes
1
answer
880
views
Configuring Apache with Django
I'm trying to configure Apache with Django. Everything is working except the admin panel. It's static files are not loading. The documentation talks about different ways of doing it but none are ...
0
votes
1
answer
2k
views
How to have PHP and mod_wsgi python app on the same domain?
I am using apache with mod_wsgi (python3) on ubuntu 12.04.
I have a python app (bottle) which is at www.mysite.com/
In my python app I have routes like www.mysite.com/abbb?q=blab
I would like a ...