Re: mysqldb issue

2005-03-11 Thread fedor
'127.0.0.1' (99)") ''' Does anybody know how to solve this issue? Off hand, I suspect you've run out of unused TCP sockets. Each connect results in your task allocating a port, and possibly MySQL allocating a fresh socket to handle the connection that it finds on its assigned port. That was it

Re: mysqldb issue

2005-03-10 Thread Steve Holden
fedor wrote: Hi all, I have a problem with mysql connections. After about 28000-29000 connections, I get a "Can't connect to MySQL server on '127.0.0.1'" error. I have made a small program which generates the error """ import MySQLdb for i in range(3): if not i % 100:

mysqldb issue

2005-03-10 Thread fedor
Hi all, I have a problem with mysql connections. After about 28000-29000 connections, I get a "Can't connect to MySQL server on '127.0.0.1'" error. I have made a small program which generates the error """ import MySQLdb for i in range(3): if not i % 100: print i