I can now isolate the problems with the appearing "lock" of some queries.

I updated MySQL from 4.1 to 5beta (mysql-standard-5.0.10-beta-linux-x86_64-glibc23) to test if the problem still appears in the newer version. I made a full sqldump on the old server and import it successfully on the new server.

If I start MySQL5 manually (bin/mysqld_safe --user=mysql &) I have absolutely no troubles.

Then I addepted the debian mysql init start script to the needings of the new MySQL5 installation. The Debian-Script makes a
mysqlcheck of every table after the MySQL-Server is up and running.

After mysqlcheck finished (irrelevant if storage engine is MyISAM or InnoDB) the "lock" problem comes back again. I guess that the index of these tables getting corrupted some how. I can also reproduce this with CHECK TABLE, ANALYZE TABLE,
REPAIR TABLE and OPTIMIZE TABLE.

I can fix the problem, if I restart the server to get away these unkillable queries and make a
   ALTER TABLE tablename TYPE=innodb
or
   ALTER TABLE tablename TYPE=myisam
- but this helps only till next time I run a table check or optimizer on these tables....

Cheers,
Andreas





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

Reply via email to