HI,
I’m using version: ‘nginx version: nginx/1.1.0’
While uploading file I’m getting an error: ‘500 Internal Server Error’
This is an nginx.log result:
2011/09/01 10:39:49 [alert] 28764#0: accept() failed (24: Too many open
files)
2011/09/01 10:39:49 [alert] 28764#0: accept() failed (24: Too many open
files)
2011/09/01 10:39:49 [alert] 28764#0: accept() failed (24: Too many open
files)
2011/09/01 10:39:49 [alert] 28764#0: accept() failed (24: Too many open
files)
2011/09/01 10:39:49 [alert] 28764#0: *13013 socket() failed (24: Too
many open files) while connecting to upstream, client: 127.0.0.1,
server: 192.168.0.222, request: “POST /upload HTTP/1.0”, upstream:
“http://127.0.0.1:80/upload”, host: “localhost”, referrer:
“http://192.168.0.222/CRM/upload4.html”
2011/09/01 10:39:49 [crit] 28764#0: *13013 open() “/var/www/50x.html”
failed (24: Too many open files), client: 127.0.0.1, server:
192.168.0.222, request: “POST /upload HTTP/1.0”, upstream:
“http://127.0.0.1:80/upload”, host: “localhost”, referrer:
“http://192.168.0.222/CRM/upload4.html”
The ‘lsof -n | wc -l’ command gives a result: ‘1980’ value.
The ‘cat /proc/sys/fs/file-max’ command gives a result: ‘203296’.
So it is not a too many open files problem?
The upload4.html containt:
Test uploadSelect files to upload
-----
Please help
–
best regards
Piotr P.