joshua stein wrote: > Is anyone else seeing mysqld using 100% CPU on -current (amd64) > while doing nothing? There are no connections to it and it seems to > go into this mode on its own right after startup. > > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > _mysql 15013 99.1 0.5 176252 40988 p3- R 2:47PM 119:22.66 > /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/mysql > --plugin-dir=/usr/local/lib/mysql/plugin --user=_mysql [...] > > ktrace shows it calling gettimeofday() over and over.
same thing that firefox tends to do. but i don't see any gettimeofday() calls in librthread. coincidence? at least mysql is small enough to debug. can you find the loop that calls gettimeofday?
