Re: mysqld shows high cpu usage over extended time, restart = normal

2003-07-17 Thread Jeremy Zawodny
On Wed, Jul 09, 2003 at 01:08:56PM -0400, Dave [Hawk-Systems] wrote:
  load).  Is there a known issue (running on FreeBSD 4.8,
  MySQL 3.23.55 MyISAM)?
 
 its been a known issue for quite a long time
 use linuxthreaded version and it should work fine.
 
 although much of work has been done on threads implementation,
 there are still such problems with mysql. it happens even on freebsd 5.0
 
 Thanks Terry...  gave me enough information to google the following which went
 into further detail regarding this issue specifically on FreeBSD
 
 http://jeremy.zawodny.com/blog/archives/000203.html

Yes.

LinuxThreads + MySQL + FreeBSD 4.x == Good
-- 
Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, Yahoo!
[EMAIL PROTECTED]  |  http://jeremy.zawodny.com/

MySQL 4.0.13: up 7 days, processed 217,907,314 queries (348/sec. avg)

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



mysqld shows high cpu usage over extended time, restart = normal

2003-07-09 Thread Dave [Hawk-Systems]
Occasionally in checking one of the servers, I noticed that mysql shows 85% + of
cpu usage essentially leaving the server at 0% idle.  After monitoring it for a
few hours, the status did not change.  After a stop and start of mysql, things
progessed normally.  Checking back a few days later I noticed it was once again
sitting up there at 95% (or thereabouts) and doing nothing of value from what i
could tell.

Have restarted MySQL during peak usage times for that server and its database,
and it has showed normal loads and CPU usage (approx 20% CPU with .1 to .3
load).  Is there a known issue (running on FreeBSD 4.8, MySQL 3.23.55 MyISAM)?
Is there something I should check when next I notice the high CPU usage?

Thanks

Dave



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: mysqld shows high cpu usage over extended time, restart = normal

2003-07-09 Thread Terry
hi,
 load).  Is there a known issue (running on FreeBSD 4.8, 
 MySQL 3.23.55 MyISAM)?

its been a known issue for quite a long time
use linuxthreaded version and it should work fine.

although much of work has been done on threads implementation,
there are still such problems with mysql. it happens even on freebsd 5.0

regards,
terry



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysqld shows high cpu usage over extended time, restart = normal

2003-07-09 Thread Peter L. Berghold
On Wed, 2003-07-09 at 10:31, Dave [Hawk-Systems] wrote:
  Is there a known issue (running on FreeBSD 4.8, MySQL 3.23.55 MyISAM)?
 Is there something I should check when next I notice the high CPU usage?
 

I used to see the same kind of behavior a while back with a MySQL
installation I did for a client. It turned out that what was happening
was a poorly designed client/server app was touching off this really
huge query (lots of rows and lots of columns across multiple tables) and
then disconnecting before the result could be returned. 

They fixed their app and the problem went away. Drove me nuts
troubleshooting it. 

Anyway. Make sure you don't have something similar going on. 

-- 

Peter L. Berghold[EMAIL PROTECTED]
Dog event enthusiast, brewer of Belgian (style) Ales.  Happiness is
having your contented dog at your side and a Belgian Ale in your glass.




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: mysqld shows high cpu usage over extended time, restart = normal

2003-07-09 Thread Dave [Hawk-Systems]
 load).  Is there a known issue (running on FreeBSD 4.8,
 MySQL 3.23.55 MyISAM)?

its been a known issue for quite a long time
use linuxthreaded version and it should work fine.

although much of work has been done on threads implementation,
there are still such problems with mysql. it happens even on freebsd 5.0

Thanks Terry...  gave me enough information to google the following which went
into further detail regarding this issue specifically on FreeBSD

http://jeremy.zawodny.com/blog/archives/000203.html

Cheers,

Dave



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: mysqld shows high cpu usage over extended time, restart = normal

2003-07-09 Thread Dave [Hawk-Systems]
  Is there a known issue (running on FreeBSD 4.8, MySQL 3.23.55 MyISAM)?
 Is there something I should check when next I notice the high CPU usage?


I used to see the same kind of behavior a while back with a MySQL
installation I did for a client. It turned out that what was happening
was a poorly designed client/server app was touching off this really
huge query (lots of rows and lots of columns across multiple tables) and
then disconnecting before the result could be returned.

They fixed their app and the problem went away. Drove me nuts
troubleshooting it.

Anyway. Make sure you don't have something similar going on.

Will check again next time it occurs, but I don't recall seeing any other
processes running at the time via mysqladmin -u root -p processlist

After reading terry's post, I did come across the following resource though;

http://jeremy.zawodny.com/blog/archives/000203.html

thanks

Dave



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]