Re: Sleeping Processes Timeout?

2005-07-28 Thread Juan Pedro Reyes Molina
I had a similar problem while connecting to mysql 4.0.21 throuhg MyODBC 3.51.11. If so you must upgrade mysql to 4.1 or downgrade MyOdbc to 3.51.06 Jason Williard wrote: Hello, Today, I started experiencing some issues on our website with max connections exceeded errors. In looking into th

Re: Sleeping Processes Timeout?

2005-07-28 Thread Devananda
Jason Williard wrote: Hello, Today, I started experiencing some issues on our website with max connections exceeded errors. In looking into this, I found that we had too many sleeping processes. I was not even able to login to the mysql server from a command line. Is there a way to set a time

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: sleeping processes

2005-06-07 Thread Gleb Paharenko
Does this weird behavior remain if you're connecting trough UNIX socket to local instance of MySQL? Ronny Melz <[EMAIL PROTECTED]> wrote: > > Thanks so far for your advice, > >> Is it possible that your application doesn't close connection properly? > that is exactly what also I think

Re: Re: sleeping processes

2005-06-06 Thread Carl
e 06, 2005 3:58 AM Subject: Re: Re: sleeping processes > > 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_re

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 Carl
d for some things, not good for other ones.) But, for the appropriate applications, it is very fast. 2. You have to free the result set after every select. By the way, this code came right out of Googling. Thanks and good luck, Carl - Original Message - From: "Ronny Mel

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

Re: sleeping processes

2005-06-05 Thread Gleb Paharenko
Hello. Is it possible that your application doesn't close connection properly? Check with netstat the states of connections between your application and server. Run netstat on the server. Do you see some sleeping processes with ps utility or 'mysqladmin processlist' command? Ronny Mel

Re: Sleeping Processes

2004-01-06 Thread William R. Mussatto
Mike Morton said: > Dan: > > Thanks for the suggest. I will check it out. The strange thing is that > as I mentioned, the PHP code that I am using is straightforward, and I > have never had any problems with the database not disconnecting properly > with PHP, but that being said, the possibility

Re: Sleeping Processes

2004-01-06 Thread Mike Morton
Dan: Thanks for the suggest. I will check it out. The strange thing is that as I mentioned, the PHP code that I am using is straightforward, and I have never had any problems with the database not disconnecting properly with PHP, but that being said, the possibility that it is a db connector pro

RE: Sleeping Processes

2004-01-06 Thread Dan Greene
Is it possible that some portions of your code do not disconnect thier db connections when they are done? I've seen issues like this with platforms that do not use db pool managers to ensure release of db connections when they are idle for a while. Particularly if there are error scenerios whe

Re: (sleeping) processes of > 90% CPU

2001-06-12 Thread Sinisa Milivojevic
Wouter de Jong writes: > On Tue, Jun 12, 2001 at 02:16:27PM +0300, Sinisa Milivojevic wrote: > We are running 2.4.5-ac4 currently on the server. Could you tell me why your binary >should run better ? Cause I tried it, and it dind't make a lot of difference. > > -- > Met vriendelijke groet/With

Re: (sleeping) processes of > 90% CPU

2001-06-12 Thread Wouter de Jong
On Tue, Jun 12, 2001 at 02:16:27PM +0300, Sinisa Milivojevic wrote: > > To solve SMP problems with Linux, you should use latest kernel 2.4.* > and our binary. We are running 2.4.5-ac4 currently on the server. Could you tell me why your binary should run better ? Cause I tried it, and it dind't

Re: (sleeping) processes of > 90% CPU

2001-06-12 Thread Sinisa Milivojevic
To solve SMP problems with Linux, you should use latest kernel 2.4.* and our binary. -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Larn

Re: (sleeping) processes of > 90% CPU

2001-06-11 Thread Wouter de Jong
On Sun, Jun 10, 2001 at 01:15:38PM +0300, Sinisa Milivojevic wrote: > > Hello, > > > > I'm a database administrator for a hosting provider, and we have currently 2 SMP >MySQL-database servers. The one that is causing me problems, has at least 900 >databases running on it. That's an dual PIII-55

Re: (sleeping) processes of > 90% CPU

2001-06-10 Thread Sinisa Milivojevic
Wouter de Jong writes: > Hello, > > I'm a database administrator for a hosting provider, and we have currently 2 SMP >MySQL-database servers. The one that is causing me problems, has at least 900 >databases running on it. That's an dual PIII-550, with 1024MB memory, running RedHat >6.2, with L