I/O error on uploading video upto 4mb


   We recentyl changed our ip of the server to upgrade port to 2Gbps

but after upgrading port, we are unable to upload .flv video upto 4mb.
Everything was working fine before the up-gradation. Following is the
nginx.conf file. Please i need a quick help :-

user nginx;
worker_processes 16;
worker_rlimit_nofile 300000; #2 filehandlers for each connection
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;

events {
worker_connections 6000;
use epoll;
http {
include mime.types;
default_type application/octet-stream;
client_body_buffer_size 128K;
sendfile_max_chunk 128k;
client_max_body_size 800m;
client_header_buffer_size 256k;
large_client_header_buffers 4 256k;
output_buffers 1 512k;

fastcgi_buffers 512 8k;

proxy_buffers 512 8k;

fastcgi_read_timeout 300s;

server_tokens off; #Conceals nginx version
#access_log  logs/access.log  main;
access_log off;
sendfile        off;
#tcp_nopush     on;

gzip on;

gzip_vary on;

gzip_disable “MSIE [1-6].”;

gzip_proxied any;

gzip_http_version 1.1;

gzip_min_length 1000;

gzip_comp_level 6;

gzip_buffers 16 8k;

You can remove image/png image/x-icon image/gif image/jpeg if you have

slow CPU

gzip_types text/plain text/xml text/css application/x-javascript

application/xml application/xml+rss text/javascript
ignore_invalid_headers on;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
keepalive_timeout 0;
reset_timedout_connection on;

Best Regards.

The issue has been solved, it was monit tool which was creating issues.
Thanks :slight_smile:

Best Regards.