hanging queries from wp_itsec_temp
-
Hello,
I am having a few httpd downtimes per day due to hanging queries from your script. Below is a snapshot of these hanging queries from the loadwatch logs:
Command: Query
Time: 1860
State: Waiting for table level lock
Info: INSERT INTOwp_itsec_temp
(temp_type
,temp_date
,temp_date_gmt
,temp_host
) VALUES (‘brute_
Progress: 0.000Command: Query
Time: 1747
State: Waiting for table level lock
Info: DELETE FROM wp_itsec_opaque_tokens WHERE token_created_at < ‘2023-12-06 13:42:51’
Progress: 0.000When these took place, the queries were piling up on the server, which had caused the Mysql connection slots to fill up, at which point Apache was stuck waiting for processes to clear so it can fulfill its requests, which is when those connections start to pile up, causing Apache to not be reachable. At which point, chkservd sees that Apache is not reachable and restarts it, which then clears out the connections, which clears out the hung queries, which then causes the server to return to normal.
What are these tables responsible for and what can you do to fix this? Latest version, 9.2, started happening around a month ago
- The topic ‘hanging queries from wp_itsec_temp’ is closed to new replies.