标签归档:Too Many Open Files

Nginx: Too Many Open Files Error And Solution

I‘m getting the following error in my nginx server error log file:

2010/04/16 13:24:16 [crit] 21974#0: *3188937 open() “/usr/local/nginx/html/50x.html” failed (24: Too many open files), client: 88.x.y.z, server: example.com, request: “GET /file/images/background.jpg HTTP/1.1”, upstream: “http://10.8.4.227:81//file/images/background.jpg”, host: “example.com”

2010/12/21 12:39:25 [crit] 20157#0: *230260 open() “/usr/local/nginx/html/50x.html” failed (24: Too many open files), client: 58.245.186.49, server: example.com, request: “GET /style/all.css HTTP/1.1”, host: “example.com”, referrer: “http://domain.com/x.php?…

2010/12/21 12:39:25 [alert] 20157#0: accept() failed (24: Too many open files)

继续阅读