Re: connection lost with concurrent transactions

2011-05-16 Thread otto.vazquez
I just installed RabbitMQ in my local machine (ubuntu 10.10, postgres 8.4.8 and rabbitmq 1.8.0, other stuff is the same version) and everything worked fine (great!). So I tried to do the same with the dev environment (centos 5.0 final, rabbitmq 1.7.2 from epel repo). We have 6 machines: 2 cds (wher

Re: connection lost with concurrent transactions

2011-05-13 Thread Shawn Milochik
Are you using RabbitMQ as a backend? We're using both Celery and django-celery successfully with Django + Postgres and I've never seen the issue you describe. We do all our Celery stuff asynchronously, since the main point (for us) is to have the user's page load time as short as possible. Sh

connection lost with concurrent transactions

2011-05-13 Thread otto.vazquez
Hi all, We are using django (1.3) with django-celery (2.2.4), database in postgres (9.0.1) with psycopg2 (2.2.2) connector for a large project (also large company). Executing celery tasks one by one works fine. When requested, django inserts a new row in db (django starts a transaction) and two t