# Best estimation for MAX\_CONCURRENT\_REQUESTS

**URL:** <https://forum.genieacs.com/t/best-estimation-for-max-concurrent-requests/4484>\
**Category:** Uncategorized\
**Created:** [September 12, 2023, 1:51am UTC](https://forum.genieacs.com/t/best-estimation-for-max-concurrent-requests/4484 "2023-09-12T01:51:18Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![harilam](https://avatars.discourse-cdn.com/v4/letter/h/8dc957/32.png) [@harilam](https://forum.genieacs.com/u/harilam)\
**Post date:** [September 14, 2023, 4:24am UTC](https://forum.genieacs.com/t/best-estimation-for-max-concurrent-requests/4484/8 "2023-09-14T04:24:07Z")

</div>

> I think you are referring to an experiment I made. go with the defaults values for all variables.  
> I forgot to ask an important question: what are you really trying to solve? how many cpe do you have ? or are you just planning ?

I did not change any default value until I met an exact problem with [Worker overload](https://forum.genieacs.com/t/worker-overload/607)

> 2020-02-17T09:22:17.249Z [WARN] Worker overloaded; droppedRequests=2 totalRequests=2 initiatedSessions=0 pid=1244  
> 2020-02-17T09:22:27.232Z [WARN] Worker overloaded; droppedRequests=5 totalRequests=5 initiatedSessions=0 pid=1243

I did not know the background of changing MAX\_CONCURRENT\_REQUESTS from default 20 to 200 can solve the problem. I guess that it could relate to the Server capacity (RAM. CPU) and the number of connected CPEs. This is the reason why I created this topic.

I had ~ 10k connected CPE, and inform every hour, 16 vCPU with 32GB of RAM.

According to @akcoder information, can I set MAX\_CONCURRENT\_REQUESTS = (10/3.5 \* 30) = 86 for 10K CPE? (just compared the number of connected CPE)?  
or MAX\_CONCURRENT\_REQUESTS = 2 \* 30 = 60 (when comparing CPU specs?)

Thank you!

---

_[View the full topic](https://forum.genieacs.com/t/best-estimation-for-max-concurrent-requests/4484)._
