Solved

Why do processes sleep when doing show processlist

Posted on 2006-07-11
2
1,293 Views
Last Modified: 2009-09-04
Hello,

When querying "SHOW PROCESSLIST" we always have some processes sleeping for 400-600 seconds. What can possible couse that? We are using MySQL 4.1 mixed MyISAM and InnoDB environment.

Thanks
0
Comment
Question by:ditkis
  • 2
2 Comments
 
LVL 30

Expert Comment

by:todd_farmer
ID: 17086360
#

Sleeping

The thread is waiting for the client to send a new statement to it.

From http://dev.mysql.com/doc/refman/5.0/en/show-processlist.html
0
 
LVL 30

Accepted Solution

by:
todd_farmer earned 250 total points
ID: 17086367
Basically, you have a client connection that has been opened and not yet closed, but has not submitted a query or statement in the past 400-600 seconds.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A lot of articles have been written on splitting mysqldump and grabbing the required tables. A long while back, when Shlomi (http://code.openark.org/blog/mysql/on-restoring-a-single-table-from-mysqldump) had suggested a “sed” way, I actually shell …
Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now