Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

'Too many open files' in log file - resolution

Too many open files and service crashes. Edit serivce:

systemctl edit [service_name]

Add in file in correct section:

[Service]
LimitNOFILE=65536
LimitSTACK=infinity
LimitNPROC=16384
TasksMax=8192

Reload systemctl:

systemctl daemon-reload

Restart service:

systemctl restart [service_name]
Share:

3CX manual install on Debian 10 (Buster) - Unsupported by 3CX

Fresh Debian 10 install. This method is unsupported by 3CX for some reason.

apt install gnupg 

wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add - 

echo "deb http://downloads-global.3cx.com/downloads/debian buster main" | tee /etc/apt/sources.list.d/3cxpbx.list

apt update

sudo apt update

sudo apt install -y net-tools dphys-swapfile

sudo apt -y install 3cxpbx 

Share: