Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

samehdev's avatar

websockets - How can i increase Open Connection Limit on Ubuntu v20.04.4 and cpanel?

Hi everyone,

Is there any documentation for how to increase Open Connection Limit on Ubuntu v20.04.4 and cpanel ?

I tried https://beyondco.de/docs/laravel-websockets/faq/deploying#open-connection-limit

But that didn't work Its limit is only 131

my vps :

6 vCPU Cores

16 GB RAM

100 GB NVMe

32 TB Traffic

600 Mbit/s Connection

Is there anything I can do to increase the limit?

0 likes
6 replies
samehdev's avatar

@Sinnbeck

exbitxcom    soft    nofile          100000

Is this way correct?

ulimit -a exbitxcom


core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1048576
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) unlimited
real-time priority              (-r) unlimited
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
Sinnbeck's avatar

@samehdev so the user runnimg the websockets command is named what? laravel-echo?

1 like
samehdev's avatar

@Sinnbeck There was a mistake on my part I updated the reply With the correct username exbitxcom

Sinnbeck's avatar

@samehdev I would assume so then yes. I have never used cpanel, but just found that guide

1 like
samehdev's avatar

@Sinnbeck He still did not work at the same level, reach him and stop

Open Connection Limit max now 131

Please or to participate in this conversation.