2009/3/25 Szymon <szy...@mwg.pl>:
>
> Hello Django users,
>
> I have big problem. For a few days my site isn't working properly. We
> have two interfaces. First connected to Apache, second is cron job
> running every 10 minutes (using Django ORM etc.). The problem is when
> that job is running, there is some ExclusiveLock on postgres and web
> interface have some lags, big lags. It's just like site stops working
> for 1-2 minutes when there is cron job running. Any hints?
>

The obvious one: check your cron job .. Log your queries in postgres
to see which querie consumes more time, it should be the cron job one.

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

--~--~---------~--~----~------------~-------~--~----~
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