Nginx truncate my data

I need to output large data, but nginx will truncate it.
I test it with nginx 0.7.67
when the data is more than 40K, I could only get part of it, using curl
apache is the backend of nginx, so I also test apache using curl
directly,
and everything is OK.
So I think it’s nginx who eat my data.
I have closed gzip, and nothing changed.
Do you have any idea?

You don’t need to double-post, forum messages get sent to the list.
The latest stable version is 0.8.53, try that first.
Check your error log.
Snippets of your config might be of use.

Sorry for duplicated posts.

the log is like this
2010/12/03 12:34:58 [crit] 27861#0: *3495 open()
“/opt/local/nginx80/proxy_temp/6/01/0000000016” failed (13: Permission
denied) while reading upstream, client: XX.XX.XX.XX, server:
api.yangfanbook.beta.sina.com.cn, request: “POST
/api.php/invoice_list_get
HTTP/1.1”, upstream: “http://127.0.0.1:6080/api.php/invoice_list_get”,
host:
api.XX.beta.XX.com.cn

I got it, it’s the permissions of proxy_temp, when I change it to 777,
it’s
OK now.

but can I change the permissions to 777 ? is there any security issues?

the permissions of nginx :
drwxr-xr-x 9 root root 4096 Dec 3 11:44 .
drwxr-xr-x 9 root root 4096 Nov 5 17:31 …
drwx------ 2 nginx80 root 4096 Dec 2 14:53 client_body_temp
drwxr-xr-x 2 root root 4096 Dec 3 11:59 conf
drwx------ 2 nginx80 root 4096 Nov 5 17:31 fastcgi_temp
drwxr-xr-x 2 root root 4096 Dec 3 11:49 html
drwxr-xr-x 2 root root 4096 Dec 3 12:00 logs
drwxrwxrwx 12 nginx80 root 4096 Nov 5 17:31 proxy_temp
drwxr-xr-x 2 root root 4096 Dec 3 11:49 sbin

and the permission of my file is httpd6080.webdev because we use apache
as
the bankend.

What should I do?

2010/12/3 Nuno Magalhães [email protected]

On Fri, Dec 3, 2010 at 04:42, Spacelee [email protected] wrote:

but can I change the permissions to 777 ? is there any security issues?

You have an nginx80 user, and it owns proxy_temp, so i guess 750 (rwx
r-x —) would be enough.


Mars 2 Stay!

/etc