I'm still having this problem with MySQL (both 4.1 and 5.0), SA
(tested with both 0.2.8 and 0.3.1) and TurboGears 1.0b1.

I've gone over the TG connection code a number of times and I can't
see anything wrong with it.  This isn't after a long idle time either.
 Sometimes I can start the app and have the "MySQL server has gone
away" exception after 2 or 3 requests.

To reproduce this is simple.  Quickstart a new turbogears project with
SA and identity:

tg-admin quickstart -i --sqlalchemy

Change the dburi in dev.cfg to a mysql db.  Then use ab to pound on
the server.  The magic numbers that *always* causes the app to fail at
some point during the process is as follows:

ab -n 500 -c 10 http://localhost:8080/

I'm pretty sure that this isn't a TG problem (although I don't have an
issue with being proven wrong :) so is this an SA issue or a MySQLdb
issue?

Thanks,

Lee

-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com
skype: fireflisystems

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to