Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 25, 2011 17:52:25

Ivo B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Login view takes very long to load


I am running Django with uwsgi and Cherokee,

the pages load fine, even those with database access.

As you can see, they usually render with like 100 msec but when I go to the
Login view which is provided by Django, It takes 10 seconds an more to load.

I have only one uwsgi process and I am using sqlite. But I will switch to mysql
because of concurrency. Still I am wondering what this is. It is not happening
on my dev machine with runserver. I suppose it is some kind of lock on the DB?


uwsgi output:

IP_ADDRESS () {60 vars in 1447 bytes} GET /accounts/login/ => generated 39240 bytes in 12896 msecs
(HTTP/1.1 200) 9 headers in 469 bytes (0 async switches on async core 0)
IP_ADDRESS () {56 vars in 1336 bytes} GET /pages/about_us/ => generated 43730 bytes in 72 msecs
(HTTP/1.1 200) 4 headers in 195 bytes (0 async switches on async core 0)
IP_ADDRESS () {60 vars in 1447 bytes} GET /accounts/login/ => generated 39240 bytes in 10472 msecs
(HTTP/1.1 200) 9 headers in 469 bytes (0 async switches on async core 0)
IP_ADDRESS () {60 vars in 1447 bytes} GET /accounts/login/ => generated 39240 bytes in 15092 msecs
(HTTP/1.1 200) 9 headers in 469 bytes (0 async switches on async core 0)
85.179.70.75 () {56 vars in 1336 bytes} GET /courses/summer/ => generated 44054 bytes in 104 msecs
(HTTP/1.1 200) 4 headers in 195 bytes (0 async switches on async core 0)


--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 12th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support