Django ORM and multiprocessing

Posted by Ankur Gupta on Stack Overflow See other posts from Stack Overflow or by Ankur Gupta
Published on 2010-04-25T09:59:50Z Indexed on 2010/04/25 10:03 UTC
Read the original article Hit count: 446

Hi,

I am using Django ORM in my python script in a decoupled fashion i.e. it's not running in context of a normal Django Project.

I am also using the multi processing module. And different process in turn are making queries.

The process ran successfully for an hr and exited with this message

"IOError: [Errno 32] Broken pipe"

Upon futhur diagnosis and debugging this error pops up when I call save() on the model instance.

I am wondering

Is Django ORM Process save ?

Why would this error arise else ?

Cheers Ankur

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models