The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
47 views

X2Engine doesn't install because it thinks session.save_path (unix:/tmp/memcached.sock) is not writable

I'm installing X2Engine and I get the following error on the install page: The path defined in session.save_path (unix:/tmp/memcached.sock) is not writable. # ll /tmp/memcached.sock srw-rw-rw- 1 ...
1
vote
2answers
43 views

When a socket switch to TIME_WAIT state, why I can't see its inode number?

I'm developing a program in python that parses /proc/net/tcp informations, but unfortunately, while I was doing this, I saw a strange thing. Practically, when a socket change in TIME_WAIT state, ...
-1
votes
1answer
62 views

KVM unix socket file permission for VNC

I'm using kvm-qemu/libvirtd for a bunch of kvms. I'm using vnc for the graphical interface. By default, it listens on a tcp socket. I want to have it listen on a unix socket instead. Looking at some ...
0
votes
0answers
27 views

CGI process does not exit after remote client go away

I find a CGI process running with apache2: # ps axf ... 30161 ? Ss 0:02 /usr/sbin/apache2 -k start 30164 ? S 0:00 \_ /usr/sbin/apache2 -k start 2900 ? S 5:41 | ...
0
votes
0answers
59 views

Can thousands of files in a directory seriously slow down access to unix socket file?

I try to find out why a site has juddering performance problems. It works well most of the time. And for short time a 2-minute delay occurs. I don't see any database problems. Memory consumed looks ...
6
votes
2answers
1k views

Sniff UNIX domain socket

I know that some process is writing to a certain unix domain socket (/var/run/asterisk/asterisk.ctl), but I do not known the pid of the sender. How can I find out who is writing to the socket? I have ...
0
votes
0answers
236 views

Proxy pass NGINX to NodeJS via UNIX socket instead of ip+port

I'm wondering if proxy_pass-ing NGINX to NodeJS via UNIX sockets is possible. I know that I can start up a nodejs application and start listening on a random port on 127.0.0.1 and then proxy_pass ...
0
votes
1answer
602 views

How to create a socket with mknod correctly?

I try to create a socket for communication between uwsgi and nginx. The difficulty is that I don't know what major and minor numbers I should specify: v:/tmp# mknod wsgi_pgame.sock c mknod: missing ...
0
votes
1answer
277 views

What should be proper permission of unix socket?

I have set up nginx to connect to php5-fpm through unix socket instead of tcp. I've read that this has less overhead and hence boost performance. Now I'm wondering what should be the proper permission ...
2
votes
1answer
4k views

Resource temporarily unavailable while connecting to upstream (php5-fpm)

I frequently get this error on random pages when the are like ~+10K connections (netstat -an |grep 80 |wc -l). This happens while there is still +10GB of free memory and server load is less than 3. ...