The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
2answers
7k views

Too many open files with nginx, can't seem to raise limit

The server is Ubuntu 13.04 (GNU/Linux 3.9.3-x86_64-linode33 x86_64). nginx is nginx/1.2.6. I've been working on this for an several hours now, so here's what I'm getting and here's what I've done. ...
4
votes
2answers
3k views

Number of file descriptors: different between /proc/sys/fs/file-nr and /proc/$pid/fd?

I would like to check how many file descriptors are actually used: cat /proc/sys/fs/file-nr 12750 0 753795 The first column (12750) indicates the number of file descriptors allocated since ...
4
votes
1answer
356 views

strace shows long time reading from mysql socket - mysql takes long time to execute query?

My Apache server takes long time to process request. I attached strace to it and can see the two following delays: 1) Very critical (143 seconds to process) 1335 0.000037 write(16, ...
2
votes
1answer
1k views

Tuning tcp_keepalive_time for Node.js leak

I'm currently having a socket leak with my Node.js application. This bug is also posted here. I hope to fix this soon. CLOSE_WAIT and FIN_WAIT2 seem to be the major problem. Connections: 1662 ...
2
votes
0answers
246 views

uwsgi through supervisor too many open files

I have uWSGI set up through supervisor on a ubuntu 12.04 box and lately I noticed that when trying to tail the logs (all the logs in that user account) I get message that too many files opened , uWSGI ...
1
vote
2answers
33 views

script reading from new descriptor in read

I have a script that asks some questions to the user and repeats the question until the user has answered something appropiate. This is done with an infinite loop that is break'd when an acceptable ...
0
votes
1answer
204 views

Mongodb error - Out of file descriptors. Waiting one second before trying to accept more connections

Details Here is what I see in the logs file 2014-09-08T10:22:43.143+0000 [initandlisten] ERROR: Out of file descriptors. Waiting one second before trying to accept more connections. ...
0
votes
1answer
427 views

Apache File Descriptor Limits

I'm trying to change the file descriptor limits for Apache. The problem is that the limits set through "/etc/security/limits.conf" don't apply to system users like "apache" with no login shell. I've ...
0
votes
1answer
20 views

How to set up a global CustomLog on Apache2 for every virtualhost

Actually I got some issue with file descriptors on Debian Wheezy with 3.2.13 kernel and Apache/2.2.16. I would like to reduce this limit, actually each virtualhost got a CustomLog and an ErrorLog, I ...