Answer the question
In order to leave comments, you need to log in
PHP-FPM: why unix socket is present in netstat but not on filesystem?
Good afternoon.
This happened:
In the config of the php-fpm pool, it is configured to listen to the socket:
listen=/tmp/www.socket
listen.owner=nginx
listen.group=nginx
listen.mode=0660
# ls -la /tmp/www.socket
ls: cannot access /tmp/www.socket: No such file or directory
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 172275182 16589/php-fpm: mast /tmp/www.socket
# sudo debugfs -R 'ncheck 172275182' /dev/sda2 2>/dev/null
Inode Pathname
PrivateTmp=true
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question