Yes, a restart does help. I think I'm properly closing connections when they are done, I also automatically close active connections if there is no activity between them in about 10 minutes. It says something about .... is longer than the server configured value of 'wait_timeout'. I'm not sure where this is defined though, it's not in my application. Anyway, would setting 'wait_timeout' to a Ridiculously large number fix the problem (or at least allow the program to last longer without a reboot)? Oh yes, I know it isn't too many connections, I'm still in the testing phase, and I have only 2 computers (so only 2 connections max to the server).
Main Topics
Browse All Topics





by: VenabiliPosted on 2009-04-28 at 10:00:55ID: 24252719
How do you get your connections? Some type of pool?
Looks to me that either you keep reuisng the same object and never check if it is correct or you have issues in your pool... or you simply leave a lot of connections to hang out and you cannot do any more...
Does a restart help?