Zero size buf in output!

We’re facing following error on edge server with nginx-1.6.1, using
proxy_store on edge.

2014/08/27 20:35:05 [alert] 5701#0: *21244 zero size buf in output t:0
r:0
f:0 0000000002579840 0000000002579840-000000000257A840 0000000000000000
0-0
while sending to client, client: 119.160.118.123, server:
storage4.content.com, request: “GET
/files/videos/2013/06/30/137256108550d07-m.mp4 HTTP/1.1”, upstream: "
http://82.2.37.87:80/files/videos/2013/06/30/137256108550d07-m.mp4",
host: "
storage4.content.com"
2014/08/27 20:35:28 [alert] 5687#0: *26261 zero size buf in output t:0
r:0
f:0 0000000004F5F2D0 0000000004F5F2D0-0000000004F602D0 0000000000000000
0-0
while sending to client, client: 121.52.147.68, server:
storage9.content.com,
request: “GET /files/videos/2014/04/21/1398060531bb2e3-360.mp4
HTTP/1.1”,
upstream: "
http://9.7.248.180:80/files/videos/2014/04/21/1398060531bb2e3-360.mp4",
host: “storage9.content.com”, referrer: "
http://files.com/video/2618018/aashiqui-3-new-songs"

nginx version: nginx/1.6.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid
–lock-path=/var/run/nginx.lock
–http-client-body-temp-path=/var/cache/nginx/client_temp
–http-proxy-temp-path=/var/cache/nginx/proxy_temp --user=nginx
–group=nginx --with-http_flv_module --with-http_mp4_module

Regards.
Shahzaib

Hello!

On Wed, Aug 27, 2014 at 08:48:19PM +0500, shahzaib shahzaib wrote:

2014/08/27 20:35:28 [alert] 5687#0: *26261 zero size buf in output t:0 r:0
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
–conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid
–lock-path=/var/run/nginx.lock
–http-client-body-temp-path=/var/cache/nginx/client_temp
–http-proxy-temp-path=/var/cache/nginx/proxy_temp --user=nginx
–group=nginx --with-http_flv_module --with-http_mp4_module

You may want to try 1.7.4 to see if it helps (there are some
potentially related changes in nginx 1.7.3).

If it doesn’t, providing debug log may be helpful. See
Debugging | NGINX for more hints.


Maxim D.
http://nginx.org/

Hi Maxim,

  Upgraded nginx to 1.7.4 and looks like the issue is gone.

Regards.
Shahzaib

Well, i again received the same error but its much improvement in time
frame. If the error was occurring after each 5min, now the same error is
occurring after 30~50min.

The conclusion is, nginx-1.7.4 is not 100% bug free from this issue.

2014/09/17 17:22:48 [alert] 28559#0: *27961 zero size buf in output t:0
r:0
f:0 000000000477EE20 000000000477EE20-000000000477FE20 0000000000000000
0-0
while sending to client, client: 115.167.75.22, server: ldx.files.com,
request: “GET /files/videos/2014/09/04/140984890338bc7-240.mp4
HTTP/1.1”,

[root@tw data]# nginx -V
nginx version: nginx/1.7.4
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid
–lock-path=/var/run/nginx.lock
–http-client-body-temp-path=/var/cache/nginx/client_temp
–http-proxy-temp-path=/var/cache/nginx/proxy_temp --user=nginx
–group=nginx --with-http_flv_module --with-http_mp4_module
You have mail in /var/spool/mail/root

Regards.
Shahzaib

On Wed, Sep 17, 2014 at 4:25 PM, shahzaib shahzaib
[email protected]

Nope, it doesn’t !!

Will this error appear if you try this request again?

Can you figure out when the error appears? Maybe it appears when the
file is downloaded
from backend and written to cache (if you have one) or when serving from
cache etc.