Hi,
We’re using nginx to upload and serve videos files around 1GB of file
size via http. We’ve been receiving complains from some customers that
uploading has some issue and sometimes user are unable to upload videos
successfully. Server is installed with Nginx-1.4.7+php-fpm, ffmpeg,
MP4Box.
On checking the nginx logs, we didn’t got anything but Following
messages :
2015/04/16 16:49:53 [alert] 15077#0: open socket #81 left in connection
49
2015/04/16 16:49:53 [alert] 15084#0: open socket #48 left in connection
19
2015/04/16 16:49:53 [alert] 15077#0: open socket #84 left in connection
51
2015/04/16 16:49:53 [alert] 15084#0: open socket #52 left in connection
21
2015/04/16 16:49:53 [alert] 15077#0: open socket #87 left in connection
53
2015/04/16 16:49:53 [alert] 15079#0: open socket #81 left in connection
46
2015/04/16 16:49:53 [alert] 15084#0: open socket #53 left in connection
22
Here is the nginx.conf
user nginx;
worker_processes 16;
worker_rlimit_nofile 300000; #2 filehandlers for each connection
error_log /usr/local/nginx/logs/error.log crit;
#access_log logs/access.log;
#pid logs/nginx.pid;
events {
worker_connections 6000;
use epoll;
}
http {
include mime.types;
default_type application/octet-stream;
client_max_body_size 3000M;
client_body_buffer_size 2000M;
sendfile_max_chunk 128k;
client_header_buffer_size 256k;
large_client_header_buffers 4 256k;
output_buffers 1 512k;
server_tokens off; #Conceals nginx version
access_log /usr/local/nginx/logs/access.log ;
access_log off;
sendfile off;
ignore_invalid_headers on;
client_header_timeout 60m;
client_body_timeout 60m;
send_timeout 60m;
reset_timedout_connection on;
keepalive_timeout 15;
include "/usr/local/nginx/conf/vhosts/*.conf";
error_page 404 = /thumb.php;
error_page 403 /forbidden.html;
}
If anyone can help me with this ?
Regards.
Shahzaib