Hi, for the fun of it i’ve tried to write a small program to test out how well our setup in Azure worked under load.
The only thing the program does is to fetch 200 articles, and then after that repeatedly fetch each single one of them by ID over and over again, by using the SquidexClient
Then i started the same program 8 - 10 times and just waited. The programs run for a while and then start throwing
Unhandled Exception: System.AggregateException: One or more errors occurred. (Address already in use)
After som small investigation, and looking through the internet, my best guess would be that the SquidexClient create a new httpclient per request, instead of reusing the same http client. When i look into netstats i can see that it just have a lot of unclosed connections, which could indicate that the port has been exhausted.
Does this make sense ?
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Minimal reproduction of the problem
- [x ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
- [ ] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge