Re: sleeping processes

2005-06-07 Thread Ronny Melz
On Monday 06 June 2005 10:58, Gleb Paharenko wrote: > Does this weird behavior remain if you're connecting trough UNIX socket > to local instance of MySQL? it does. At the moment, I try to approach the problem Carl proposed and starting from scratch. It works fine - hence the problem is not mysql

Re: Re: sleeping processes

2005-06-06 Thread Ronny Melz
Hi Carl, thank you for your reply. did you have a look at my original posting where I included the code? your code (omitting the error routines) is essentially like this: sock=mysql_init(0)) mysql_real_connect(sock,ipNumber,userName,password,gvDatabase,3306,NULL,0) mysql_select_db(sock,g

Re: sleeping processes

2005-06-05 Thread Ronny Melz
Thanks so far for your advice, > Is it possible that your application doesn't close connection properly? that is exactly what also I think is the problem's cause, but I am unable to locate the place where it actually does happen. My code seems straightforward and I had looked over it some other

sleeping processes

2005-06-05 Thread Ronny Melz
Dear all, I have a problem with the mysql interface for c, which after a couple of hours thinking about bad or faulty programming are eliminated with probability almost 100%. within a loop, I do a mysql_query(), which is executed and I poll the result and everything is fine. Up to when

Too many connections

2005-06-05 Thread Ronny Melz
Dear all, I have a problem with the mysql interface for c, which after a couple of hours thinking about bad or faulty programming are eliminated with probability almost 100%. within a loop, I do a mysql_query(), which is executed and I poll the result and everything is fine. Up to when m

Too many connections

2005-06-05 Thread Ronny Melz
Dear all, I have a problem with the mysql interface for c, which after a couple of hours thinking about bad or faulty programming are eliminated with probability almost 100%. within a loop, I do a mysql_query(), which is executed and I poll the result and everything is fine. Up to when