function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chirayu.bansal1.3892593529263923E12chirayu.bansal1.3892593529263923E12 

Unable to Process RequestConcurrent requests limit exceeded

Hi,
I am getting error "Concurrent requests limit exceeded". After investigation I have found "Salesforce allows you to have a limit of 10 long running requests per ORG, where long running requests are defined as processes taking over 5 seconds". 
But I want to avoid this error so what could be the solution?
Is there any thing in APEX to check this limit?

Thanks,
Best Answer chosen by thisisnotapril
Sonam_SFDCSonam_SFDC
Unfortunately, there is currently no direct way to count the long running requests across ORG as of now. 

All Answers

Sonam_SFDCSonam_SFDC
Unfortunately, there is currently no direct way to count the long running requests across ORG as of now. 
This was selected as the best answer
chirayu.bansal1.3892593529263923E12chirayu.bansal1.3892593529263923E12
Hi Sonam,
Is there any solution for this? Or user just have to log off and then login again to reset this limit counter?

Thanks,
Sonam_SFDCSonam_SFDC
Hi Chirayu,

Please go through the below link - it talks about what changes can w ebring in the code to avoid this error message:
https://developer.salesforce.com/blogs/engineering/2013/05/force-com-concurrent-request-limits.html

Hope this helps!