Sql Status Locked
Right now I am trying to tackle a problem where certain queries are run in this Forum and it locks everything up. When locked you get a blank page for about 30 seconds until the script frees everything. Problem is I cannot pin down exactly what is causing it save for this process "Copying to tmp table" which always appears during the lock up.
Offtopic but, The irony in this is that I moved to a VPS in order to increase more connections (max_connections error) only to be landed with a lock issue. |
CODE |
[mysqld] set-variable = max_connections=500 safe-show-database max_user_connections = 500 key_buffer = 8M myisam_sort_buffer_size = 16M join_buffer_size = 500K read_buffer_size = 500K sort_buffer_size = 1M table_cache = 1024 thread_cache_size = 286 interactive_timeout = 25 wait_timeout = 800 connect_timeout = 10 max_allowed_packet = 1M max_connect_errors = 999999 query_cache_limit = 1M query_cache_size = 16M query_cache_type = 1 tmp_table_size = 16M |
Offtopic but, Editing the my.cnf file and then uploading it to the server can cause a "Unactivated License File' to be displayed in Cpanel or WHM. The cure is to simply restart the server. |