How to reproduce: put similar file to docroot <?php ..... $randomProduct->load($randomId); $randomProduct->setSku('die'.$randomId); $randomProduct->save(); ?> Than use siege/jmeter/gatling to access this script concurrently. You will get a collection of deadlocks