Should make a test as the following steps: 1. set max_active_session=10 2. do `insert`, `update`, `delete` concurrently Then there should not has exceed max session error.