Tp looked at the log and found that many requests were received at the same point in time, and all of them were processed, resulting in a number of new data.

RT, checks the log and finds that at the same time, accurate to seconds, there are multiple requests for the same method, and the parameters are the same, and all are executed, resulting in multiple messages being inserted into the database. The server is configured with 2-core 4G memory, using the tp5 framework, debugging mode is turned on, and the solution is solved. Some protective measures have been taken, but they are ineffective, but this does not happen very often. I have a headache. I would like to trouble you here to give us some advice. thank you!

Mar.09,2021

should be a front-end problem. All the requests sent are normal, so you can see if there is a duplicate submission at the front end.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d4e1-446ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d4e1-446ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?