Welcome! Log In Create A New Profile

Advanced

Error 502

Posted by leansy 
Error 502
July 27, 2012 02:26PM
Hola, tengo configurado mi servidor para correr django con nginx
Hasta ahora todo me corría perfectamente, pero cuando proceso ficheros EXCELS con muchas filas me da el error.
No es un problema del tamaña del fichero, el excel no llega a 1MB y tengo configurado que me pueda subir ficheros mayores.

El error del log es el siguiente:
2012/07/27 13:54:40 [error] 18515#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /processes/sejes/import/ HTTP/1.1", upstream: "http://127.0.0.1:9000/processes/sejes/import/", host: "localhost:8080", referrer: "http://localhost:8080/processes/sejes/import/"

Le he puesto valores enormes al los tiempos de las variables que creo pudieran afectarme pero sigo teniendo el mismo error.

Aqui les muestro mis valores de variables en el fichero de configuracion
***********************************************************************
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
}

http {
include /etc/nginx/mime.types;
access_log /var/log/nginx/access.log;
sendfile on;
keepalive_timeout 3600s;
tcp_nodelay on;

client_header_timeout 3600s;
client_body_timeout 3600s;
send_timeout 3600s;
proxy_connect_timeout 3600s;
proxy_send_timeout 3600s;
proxy_read_timeout 3600s;

client_max_body_size 200m;
client_body_buffer_size 128k;

gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
***********************************************************************

muchas gracias por adelantado
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 148
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready