Forum: NGINX zero size buf in output!

13731c628e20ffd83b6114ff2c406272?d=identicon&s=25 shahzaib mushtaq (shahzaib12)
on 2014-08-27 17:49
(Received via mailing list)
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/13725...,
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/1398...,
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
A8108a0961c6087c43cda32c8616dcba?d=identicon&s=25 Maxim Dounin (Guest)
on 2014-08-27 19:16
(Received via mailing list)
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
http://wiki.nginx.org/Debugging for more hints.

--
Maxim Dounin
http://nginx.org/
13731c628e20ffd83b6114ff2c406272?d=identicon&s=25 shahzaib mushtaq (shahzaib12)
on 2014-09-17 13:26
(Received via mailing list)
Hi Maxim,

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

Regards.
Shahzaib
13731c628e20ffd83b6114ff2c406272?d=identicon&s=25 shahzaib mushtaq (shahzaib12)
on 2014-09-17 14:30
(Received via mailing list)
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
<shahzaib.cb@gmail.com>
405f7785199e6fb200f5cd68af04a5f8?d=identicon&s=25 Roman Arutyunyan (Guest)
on 2014-09-19 12:42
(Received via mailing list)
Will this error appear if you try this request again?
13731c628e20ffd83b6114ff2c406272?d=identicon&s=25 shahzaib mushtaq (shahzaib12)
on 2014-09-19 12:47
(Received via mailing list)
Nope, it doesn't !!
405f7785199e6fb200f5cd68af04a5f8?d=identicon&s=25 Roman Arutyunyan (Guest)
on 2014-09-19 16:47
(Received via mailing list)
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.