0
votes
1answer
44 views

Need Server requirement estimates for my application [duplicate]

I am a newbie to Web Development and am trying to estimate the server requirements based on my application configuration. My application will have to perform simple database look-up based on unique ...
0
votes
1answer
110 views

Is it practical to use Google App Engine for a Django app?

I'm currently building a Django app that uses a MySQL backend. Traditionally I've worked with a VirtualEnv where I can install python packages, set folder permissions, etc. From some pages I've found ...
0
votes
0answers
35 views

MySQL response times spiking at regular intervals

I recently set up a windows Hyper-V VPS with a bitnami django stack. I am monitering the website with newrelic. I noticed that my MySQL database response times spike about every 30 min. My first ...
1
vote
2answers
81 views

'mysql' Command not Connecting as used from PATH but Works if Full Path is Used

Not sure how to fix this but here is the description. I can run the command to a Lampstack MySQL installation like this and it works: /opt/lampstack/mysql/bin/mysql -u root -p And my PATH variable ...
1
vote
1answer
303 views

Django - cant connect to local MySQL Server through socket

I’m using Django Bitnami Stack on Amazon EC2. I’m attempting to sync the database for the initial setup but I am having problems. When running the following command I receive an error message: ...
0
votes
4answers
2k views

Python-devel for python 2.7 on CentOS 6.4

Ok, i want to run django web-application on production VPS. Operation system of the VPS is CentOS. Application code written on Python 2.7. I have already installed Python 2.7 with configured virtual ...
0
votes
1answer
415 views

Apache django mysql very slow

I am using Django, wsgi with apache, but the server is really slow when I try to insert data into mysql server. It takes 1 second to insert 200 rows in a table. The strange thing is that only 3% of ...
0
votes
1answer
417 views

Django - Moving database from development to production servers

I am working on a Django project with a MySQL backend. I'm curious about the best way to update a production server's database to reflect the changes made on the development server's database? When ...
0
votes
3answers
270 views

MySQL Not Turning On

I have an amazon ec2 instance running on the Amazon Linux AMI and its a micro instance. I wanted to install Django onto my server so I entered these commands wget ...
2
votes
1answer
701 views

Django syncdb can't connect to MySQL on seperate EC2 Instance

I am trying to deploy a django app on AWS with a setup where I have one EC2 instance that is running nginx/uwsgi and a second EC2 instance where I have MySQL 5.5 installed. Both belong to the default ...
1
vote
1answer
249 views

Apache / mod_wsgi / Django cannot find MySQL shared library

I'm stuck on a case where the MySQL libraries won't be found on a Apache/mod_wsgi/Django deployed server, altough Python alone can import the library correctly. Here's my Apache log errors: [Tue Jul ...
2
votes
1answer
379 views

django, mod_wsgi, MySQL High CPU - Problems

I am having a problem with an OSQA site. It is Django/Apache/mod_wsgi configured site. Every hour, the CPU spikes to 164% (Average) for task HTTPD. After 10 minutes, it frees back up. I have reviewed ...
0
votes
0answers
53 views

Django cleanup blocking Mysql on Debian

A few minutes ago I had a perfectly working site with Django on Debian and Mysql and then decided to run django-admin.py cleanup. The process started but did not do anything for quite some time so I ...
1
vote
1answer
453 views

Database access Problems with Django and MySQL

I've got Apache and mod_wsgi up and running, and am now trying to introduce Django to MySQL. I've created a database named 'django' and a 'django' user; and I've granted all to django on django: ...
1
vote
0answers
266 views

DB encryption for Django web app without storing key on server

We are setting up a virtual private server (not hosted by us), on which we will be user testing our Django-based web application. The user-generated content produced in these tests will be very ...
5
votes
1answer
458 views

MySQL transaction issue with Django and Amazon RDS

I'm having a problem with a MySQL 5.5 database instance running on Amazon RDS. Periodically (once every couple of days) a transaction will fail to complete and appears to leave the tables locked. ...
3
votes
1answer
521 views

Analyze uwsgi strace log to find out why it takes high CPU usage

I'm running a django site with nginx through uwsgi. The problem is uwsgi process take a lot of CPU time when traffic become heavy. The same configuration works fine on test server and siege/ab ...
3
votes
1answer
1k views

virtualenv gcc error MySQL-python

I am trying to install MySQL-python through PuTTY with virtualenv. Specs. *CentOS-6.0 *Python2.6 So I have read many sites and the biggest thing I see is python-dev, and python-devel(btw I don't ...
1
vote
0answers
120 views

Browsers can't handle the real time updates my app is sending, slows everything waay down

Posted this a couple days ago, have made some more progress. Thanks for the help, this is delaying our launch and I'm under a lot of pressure. UPDATE: I don't think it's the server side, I think ...
0
votes
1answer
338 views

Scalability problem (Tornado). Can't figure it out, holding up launch

Thanks guys, any ideas/insight are appreciated b/c this is driving me crazy. Problem: Only about 3 or 4 users can use the server simultaneously before app grinds to a halt. Currently we see massive ...
3
votes
1answer
198 views

Document and best practices for configuration of a dedicated server (Centos) to serve just one website

I have just bought a dedicated server and they provide me a IP address, access info as root and machive with Centos 5. I would like to serve my django app in that machine but because I have no ...
0
votes
1answer
209 views

Distributing a Python/Django app and handling database replication

We have developed a Python/Django app which we would like to distribute to clients, so they can run it locally (on a VM). We are doing this so they can still use the app if their internet connection ...
3
votes
3answers
124 views

We are moving to two servers from one server due to performance issues. How do we monitor the value of this change?

We are moving to two servers from one server due to performance issues. We are moving our MySQL DB to its own dedicated server and will keep the original machine as the front end machine running ...
0
votes
1answer
274 views

mysql config, mysql5, macports, python, django

This is the settings.py file for python. I set mysql up via macports (mysql5 & mysqldb) The problem is that I am unsure if I have the configuration correct before I sync the db. The user name to ...
1
vote
1answer
498 views

MySQLdb on Windows

I'm trying to run the simple django tutorial on my windows 7 machine after having just read the python tutorial. But it complains, "django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb ...