sbrad

Well-Known Member
Aug 14, 2001
113
0
316
I've been getting really high server loads with mySql, using 90+% of the CPU. How do I find out which user is doing this?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
mysqladmin -p processlist

(will show you current processes, and threads that are hanging in memory and more than likely abusing your sql server's resources)

You'll need the mysql root pass here of course.
 

DHL

Well-Known Member
Mar 8, 2002
87
0
306
How do you then kill that process? Just restart?

Newbie :)

Steve
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
164
0
316
Logged in as root you can also type mysql then at the mysql prompt type show processlist;

You will get the same output but without having to put in the root pass each time. ;)
 

big

Well-Known Member
Aug 12, 2001
224
0
316
Earth
what about if both processlist via mysqladmin and by mysql says all connection in use , what to do? this happened to me several times.