I often have this error in my server error log :
Deadlock found when trying to get lock; try restarting transaction
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.
I have a big board with 1K visitors online during the last 15 minutes.