Re: Interesting Django or Python Issue

2010-04-28 Thread Brian Morton
Can we see some code? The description of what you're doing sounds just fine, so that leaves open the possibility of a technical error. On Apr 28, 7:42 am, Sam Lai wrote: > Maybe database connections aren't closing properly? Don't know where > to start looking though. > > A few weeks ago, I saw s

Re: Interesting Django or Python Issue

2010-04-28 Thread Sam Lai
Maybe database connections aren't closing properly? Don't know where to start looking though. A few weeks ago, I saw something similar (more Django and postgresql processes than usual, not doing anything special), but it hasn't happened since. Thinking about it, it happened when I was reindexing/u

Re: Interesting Django or Python Issue

2010-04-27 Thread Kenneth Loafman
Ping. Anyone? Kenneth Loafman wrote: > Folks, > > I have a user command that runs, via cron, twice hourly with multiple > threads and queues. At the end of the run, I wait for all of the queues > to empty and join all of the threads. I close Xapian, print some log > info, and delete the pid fi

Interesting Django or Python Issue

2010-04-25 Thread Kenneth Loafman
Folks, I have a user command that runs, via cron, twice hourly with multiple threads and queues. At the end of the run, I wait for all of the queues to empty and join all of the threads. I close Xapian, print some log info, and delete the pid file so another instance can run. All of this is com