List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:December 3 2002 5:27pm
Subject:Re: sleeping threads problem
View as plain text  
In the last episode (Dec 03), cristian ditoiu said:
> Hello , i  use MySql 3.23.49-log with Php 4.2.1on RH 7.2 .
> The problem is that i got many many (16-30) sleeping threads almost all the
> time . The code is pretty clean , and i suspect
> that those threads are sleaping beacuse of some strange ascii characters
> (like CR) .
> Is any intelegent way to find out WHY are those threads sleeping ?

They are sleeping because you have not given them a query to process. 
Sleeping threads are idle connections.

	Dan Nelson
sample "c" code wantedTom Roos3 Dec
  • sleeping threads problemcristian ditoiu3 Dec
    • Re: sleeping threads problemDan Nelson3 Dec
  • Re: sleeping threads problemcristian ditoiu4 Dec
  • Re: sleeping threads problemJocelyn Fournier4 Dec