Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

*15856 connect() to unix:/var/run/php/php8.0-fpm.sock failed (11: Resource temporarily unavailable)

## Change the limits, write the lines in the / etc / sysctl.conf file
nano /etc/sysctl.conf

## add
net.core.somaxconn = 20000
net.core.netdev_max_backlog = 65535

## Apply parameters
sysctl -p

## Restart php-fpm
service php-fpm restart
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #failed #Resource #temporarily
ADD COMMENT
Topic
Name
2+5 =