Laravel-websockets: Connection reset after users reach 800 online

Created on 22 Jul 2020  路  7Comments  路  Source: beyondcode/laravel-websockets

I use Nginx server with SSL connection, when users enter under 800, everything runs normally, but when the user rises above 800, sometimes a connection reset class occurs, even though it has raised the ulimit to 40000, please help

question

All 7 comments

Do you run it using Supervisor?

Exactly

Check this documentation: http://socketo.me/docs/deploy#supervisor

You might need to also set minfds to a higher number.

I have set it to 40000, but nothing changes. or are there other settings besides that?

in the end I changed the queue driver from sync to redis,

okay, thanks for the response. I think I have applied it in Oefenweb/ansible-supervisor#49, and I skipped the configuration from http://socketo.me/docs/deploy "pecl install event". I have applied it, I will wait for it tomorrow morning, because the user will peak at 7 to 9 am. I'll update you later, thanks again

Come back on this issue if it didn't work out.

Was this page helpful?
0 / 5 - 0 ratings