More on MySQL and Django problems

Post Info

Author

Eugene Lazutkin

Date

Posted: Monday, September 5, 2005

Categories

Development::DB::MySQL (4)
Development::Python::Django (45)

I complained about instability of this site in my previous post. Now, after intensive googling, it looks like it may be related to multiple threads or forked processes using the same connection to MySQL. Apparently it can confuse MySQL. Children should create their own connections after spawning.

If Django does reuse connections, it may be possible to fix it. Otherwise, CGI is the way to go. The latter solution would be slow.

Save/recommend this post:  del.icio.us  Digg  Reddit  StumbleUpon  Facebook    Subscribe to this blog:  Bloglines  Netvibes

Most recent related documents:

Documents published at about the same time:

Made with Django.