Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    Mar del Plata - Argentina
    Posts
    239

    Default lot of mysql sleep threads.

    Since last weekends i see an excesive ammount of sleep threads on mysql. How can i limit the sleep threads ?
    Cristian

  2. #2
    Member
    Join Date
    Jan 2004
    Location
    Mar del Plata - Argentina
    Posts
    239

    Default

    I looked into that variable, i got 300 there. But the strange thing is that mytop shows me queries with more than 300 secs.

    Now i will see how it works with 60.
    Cristian

  3. #3
    cPanelBilly
    Guest

    Default

    Add the following under [mysqld] in your /etc/my.cnf
    Code:
    wait_timeout = 60
    Change the 60 as you see fit

Similar Threads & Tags
Similar threads

  1. Eximstats sleep appearing in MySQL Process List
    By neil64 in forum E-mail Discussions
    Replies: 1
    Last Post: 10-15-2010, 11:31 AM
  2. MySQL 4.1.19 (no threads !?)
    By cyrus in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-09-2006, 06:11 AM
  3. MySQL Sock Error - Existing threads no help
    By dempsey in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 04-29-2006, 01:15 PM
  4. mysql sock error - don't see this specifically in other threads
    By drhamad in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-12-2006, 02:15 PM
  5. MySQL Sleep Problem!!!
    By Mysteerie in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-30-2004, 11:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube