GitHub user dosubot[bot] added a comment to the discussion: Superset fails to 
serve static files for a few concurrent users

<!-- Greeting -->
Hello @cmih-commify! I'm here to help you solve bugs, answer questions, and 
guide you on becoming a contributor. While you're waiting for a human 
maintainer, feel free to share what you need help with! 🚀

<!-- Answer -->
To accommodate more than 8 concurrent users in Apache Superset without 
encountering ECONNRESET or ChunkLoadError, you should modify the Gunicorn 
configuration. Use the following settings:

```bash
-w 10 \
-k gevent \
--worker-connections 1000 \
--timeout 120 \
-b  0.0.0.0:6666 \
--limit-request-line 0 \
--limit-request-field_size 0 \
--statsd-host localhost:8125 \
"superset.app:create_app()"
```

This configuration increases the number of workers to 10, uses the gevent 
worker class, and allows for 1000 worker connections, which should help handle 
more concurrent users effectively 
<sup>[[1]](https://github.com/apache/superset/discussions/33240)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/fd32ec95-e675-4a37-845f-032055201a25?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33373#discussioncomment-13046871

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to