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:

[pid: 2599|app: 0|req: 15/15] IP_ADDRESS () {60 vars in 1447 bytes} [Tue Jan 25 
18:39:32 2011] 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)
[pid: 2599|app: 0|req: 16/16] IP_ADDRESS () {56 vars in 1336 bytes} [Tue Jan 25 
18:40:03 2011] 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)
[pid: 2599|app: 0|req: 17/17] IP_ADDRESS () {60 vars in 1447 bytes} [Tue Jan 25 
18:40:05 2011] 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)
[pid: 2599|app: 0|req: 18/18] IP_ADDRESS () {60 vars in 1447 bytes} [Tue Jan 25 
18:40:29 2011] 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)
[pid: 2599|app: 0|req: 19/19] 85.179.70.75 () {56 vars in 1336 bytes} [Tue Jan 
25 18:43:22 2011] 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 at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to