Jean-Baptiste
Well-known member
Hello,
I often have this error in my server error log :
I read this thead : http://stackoverflow.com/questions/...ck-found-when-trying-to-get-lock-try-restarti and one solution would be to :
When this error occur, there isn't any reason, the only thing I know is the more than my board grows, the more often this error occur.
I have a big board with 1K visitors online during the last 15 minutes.
Best regards.
I often have this error in my server error log :
Code:
Deadlock found when trying to get lock; try restarting transaction
I read this thead : http://stackoverflow.com/questions/...ck-found-when-trying-to-get-lock-try-restarti and one solution would be to :
The only way to truly handle deadlocks is to write your code to expect them. This generally isn't very difficult if your database code is well written. Often you can just put a try/catch around the query execution logic and look for a deadlock when errors occur. If you catch one, the normal thing to do is just attempt to execute the failed query again.
When this error occur, there isn't any reason, the only thing I know is the more than my board grows, the more often this error occur.
I have a big board with 1K visitors online during the last 15 minutes.
Best regards.