I have some more information:
I am running the application on windows, Python 2.6 using the latest ibm_db dirver.
I have tested a bit more and see problems also when running django-application in cherrypy - so it's not apache's fault. running the application with django's builtin webserver, everything works fine. But of course this webserver is not threaded.
I have an alternative driver, which we wanted to get rid off (has also some stability issues and is slower than ibm_db and especially it is not officially from IBM) and this works better than ibm_db.
I can reproduce the problem with a simple multiprocess script with 3 parallel processes, that login to my application and perform a search. ibm_db driver fails almost all the time.
Does anybody have experience running django with ibm_db on windows?
Or can anybody help me, what else I can try except trying everything on linux, which I am going to do next?
best regards,
Mathias