Bug #114238 | MYSQL Salve Semaphore wait has lasted > 600 seconds | ||
---|---|---|---|
Submitted: | 6 Mar 2024 6:58 | Modified: | 7 Mar 2024 11:45 |
Reporter: | leo luo | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.26 | OS: | CentOS |
Assigned to: | CPU Architecture: | x86 | |
Tags: | semaphore wait has lasted > 600 seconds |
[6 Mar 2024 6:58]
leo luo
[6 Mar 2024 13:16]
MySQL Verification Team
Hi Mr. luo, Thank you for your bug report. Your problem is not related to the replication. Your problem is strictly related to the InnoDB storage engine. The error that you get "semaphore wait has lasted > 600 seconds", indicates that a problem is not in InnoDB storage engine. The problem is in your application or in the OS or in the hardware. That means that, for example, your transaction does not have a series of DML statements that are not waiting on anything else, but are just executing immediately one after another. That means not waiting on user's input, network traffic or latency problems (like between master and slave), some third process, hardware and / or software overloaded or anything third other then transaction itself. This is not a bug.
[7 Mar 2024 1:06]
leo luo
Hi,Master and slave have the same hardware and Mysql configuration. We did not find any problem about the hardware.
[7 Mar 2024 1:08]
leo luo
Thank you for your reply.And cloud you explain why the free buffers dropped from 8192 to 7 within a few minutes.
[7 Mar 2024 10:57]
MySQL Verification Team
Hi, 99 % of the hardware problems are not due to some permanent error in the hardware. 99 % of the errors come from the transient errors that happen in millisecond and then they disappear. Hence, you can not diagnose those problems at all. But, this is a problem with all commodity hardware. That is why we recommend the usage of ECC parity-checking RAM modules and RAID hard disks. Regarding the change of free buffers, that is expected behaviour. Number of connections raises and falls ... each SQL statement dynamically allocates and release memory. Hence, MySQL server memory is never constant .......
[7 Mar 2024 11:45]
leo luo
I got it, thank you.
[7 Mar 2024 11:51]
MySQL Verification Team
You are truly welcome !!!