# Buffering stopped after 3minutes

**URL:** <https://www.ruby-forum.com/t/buffering-stopped-after-3minutes/228213>\
**Category:** NGINX\
**Created:** [April 13, 2013, 2:47pm UTC](https://www.ruby-forum.com/t/buffering-stopped-after-3minutes/228213 "2013-04-13T14:47:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahzaib12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@shahzaib12](https://www.ruby-forum.com/u/shahzaib12)\
**Post date:** [April 13, 2013, 2:47pm UTC](https://www.ruby-forum.com/t/buffering-stopped-after-3minutes/228213/1 "2013-04-13T14:47:12Z")

</div>

Hello,

```
 We are running a video stream website and using nginx(1.2.1) for

```

streaming. Whenever user plays the video it started smoothly but  
buffering  
stopped on the mid point and user have to seek again to play the video.  
I  
am sorry for my bad english. Its an urgent issue that is why i am  
texting  
crazy. I have already checked the file-descriptors error but have found  
nothing in the logs but there’s a suspicious error “[notice] 57324#0:  
signal process started”

Help will be highly appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![shahzaib12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@shahzaib12](https://www.ruby-forum.com/u/shahzaib12)\
**Post date:** [April 13, 2013, 4:17pm UTC](https://www.ruby-forum.com/t/buffering-stopped-after-3minutes/228213/2 "2013-04-13T16:17:13Z")

</div>

Hi!

> ```
> We are running a video stream website and using nginx(1.2.1) for
> 
> ```
> 
> streaming.

Get nginx 1.2.8. There are at least 2 bugfixes regarding mp4  
streaming between 1.2.1 and the latest stable version.

---

<div class="post-metadata">

**Author:** ![shahzaib12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@shahzaib12](https://www.ruby-forum.com/u/shahzaib12)\
**Post date:** [April 13, 2013, 4:25pm UTC](https://www.ruby-forum.com/t/buffering-stopped-after-3minutes/228213/3 "2013-04-13T16:25:24Z")

</div>

We are facing issues regarding flv and somehow things are fix and  
smooth  
and i haven’t done anything :(. But i want to prevent these issues for  
the  
future. The source i used to download nginx is  
[Index of /download/](http://nginx.org/download/) .  
Please check my nginx.conf file may be there’s some wrong settings there  
:-

user nginx;  
worker\_processes 8;  
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\_header\_buffer\_size 256k;  
large\_client\_header\_buffers 4 256k;  
output\_buffers 1 512k;  
server\_tokens off; #Conceals nginx version  
#access\_log logs/access.log main;  
access\_log off;  
sendfile off;  
ignore\_invalid\_headers on;  
client\_header\_timeout 3m;  
client\_body\_timeout 3m;  
send\_timeout 3m;  
keepalive\_timeout 0;  
reset\_timedout\_connection on;

etc etc

}

These are the particular settings in my nginx.conf file. Please let me  
know  
if you want the rest of config.

---

<div class="post-metadata">

**Author:** ![shahzaib12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@shahzaib12](https://www.ruby-forum.com/u/shahzaib12)\
**Post date:** [April 14, 2013, 4:22pm UTC](https://www.ruby-forum.com/t/buffering-stopped-after-3minutes/228213/4 "2013-04-14T16:22:13Z")

</div>

The issue has been resolved. It was monit who was creating issues and  
closing nginx connection during buffering. I changed the version of  
monit  
from 4.1\* to 5.1\* and there ain’t no error in logs regarding “signal  
process started” . Thanks
