<div dir="ltr"><div>One quick question, i've updated nginx to 1.4.7 with http_mp4_module. What if i go with the same config as before ? i.e<br><br>server {<br> listen 80;<br> server_name <a href="http://storage10.domain.com">storage10.domain.com</a> <a href="http://storage10.gear3rd.com">storage10.gear3rd.com</a> <a href="http://storage10.gear3rd.net">storage10.gear3rd.net</a>;<br>
client_max_body_size 800m;<br># limit_rate 250k;<br> # access_log /websites/<a href="http://theos.in/logs/access.log">theos.in/logs/access.log</a> main;<br> add_header "X-Content-Type-Options" "nosniff";<br>
add_header Content-Type text/plain;<br> add_header X-Download-Options noopen ;<br> location / {<br> root /var/www/html/domain;<br> index index.html index.htm index.php;<br>
autoindex off;<br>}<br>location ~ \.(flv|jpg|jpeg)$ {<br> flv;<br> root /var/www/html/domain;<br># aio on;<br># directio 512;<br># output_buffers 1 2m;<br>
expires 7d;<br> valid_referers none blocked <a href="http://tune.pk">tune.pk</a> *.<a href="http://tune.pk">tune.pk</a> *.<a href="http://facebook.com">facebook.com</a> *.<a href="http://twitter.com">twitter.com</a> *.<a href="http://domain.com">domain.com</a> *.<a href="http://gear3rd.net">gear3rd.net</a> <a href="http://tunemedia.tv">tunemedia.tv</a> <a href="http://www.tunemedia.tv">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br>location ~ -720\.(mp4)$ {<br> mp4;<br> expires 7d;<br># limit_rate 1000k;<br>
root /var/www/html/domain;<br> valid_referers none blocked <a href="http://tune.pk">tune.pk</a> *.<a href="http://tune.pk">tune.pk</a> *.<a href="http://facebook.com">facebook.com</a> *.<a href="http://twitter.com">twitter.com</a> *.<a href="http://domain.com">domain.com</a> *.<a href="http://gear3rd.net">gear3rd.net</a> <a href="http://tunemedia.tv">tunemedia.tv</a> <a href="http://www.tunemedia.tv">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br>location ~ -480\.(mp4)$ {<br> mp4;<br> expires 7d;<br> limit_rate 250k;<br>
root /var/www/html/domain;<br> valid_referers none blocked <a href="http://tune.pk">tune.pk</a> *.<a href="http://tune.pk">tune.pk</a> *.<a href="http://facebook.com">facebook.com</a> *.<a href="http://twitter.com">twitter.com</a> *.<a href="http://domain.com">domain.com</a> *.<a href="http://gear3rd.net">gear3rd.net</a> <a href="http://tunemedia.tv">tunemedia.tv</a> <a href="http://www.tunemedia.tv">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br>location ~ \.(mp4)$ {<br> mp4;<br> expires 7d;<br># add_header "X-Content-Type-Options" "nosniff";<br>
# add_header Content-Type text/plain;<br> root /var/www/html/domain;<br> valid_referers none blocked <a href="http://tune.pk">tune.pk</a> *.<a href="http://tune.pk">tune.pk</a> *.<a href="http://facebook.com">facebook.com</a> *.<a href="http://twitter.com">twitter.com</a> *.<a href="http://domain.com">domain.com</a> *.<a href="http://gear3rd.net">gear3rd.net</a> <a href="http://tunemedia.tv">tunemedia.tv</a> <a href="http://www.tunemedia.tv">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br><br> # pass the PHP scripts to FastCGI server listening on <a href="http://127.0.0.1:9000">127.0.0.1:9000</a><br>
location ~ \.php$ {<br> root /var/www/html/domain;<br> fastcgi_pass <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br> fastcgi_index index.php;<br> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>
include fastcgi_params;<br> fastcgi_read_timeout 10000;<br> }<br><br> location ~ /\.ht {<br> deny all;<br> }<br>}<br><br></div>Regards.<br>Shahzaib<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 5:04 PM, shahzaib shahzaib <span dir="ltr"><<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Thanks Lukas, now i saw these errors in /var/log/messages. Also due to 3rd party module ?<br><br>Mar 27 12:04:47 DNTX002 kernel: nginx[8190]: segfault at 40174353c ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx[400000+92000]<br>
Mar 27 12:04:47 DNTX002 xinetd[6599]: START: nrpe pid=9442 from=<a href="tel:209.59.234.13" value="+12095923413" target="_blank">209.59.234.13</a><br>Mar 27 12:04:47 DNTX002 abrtd: Directory 'ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190' creation detected<br>
Mar 27 12:04:47 DNTX002 abrt[9441]: Saved core dump of pid 8190 (/usr/local/sbin/nginx) to /var/spool/abrt/ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190 (67911680 bytes)<br>
Mar 27 12:04:47 DNTX002 xinetd[6599]: EXIT: nrpe status=0 pid=9442 duration=0(sec)<br>Mar 27 12:04:48 DNTX002 abrtd: Executable '/usr/local/sbin/nginx' doesn't belong to any package<br>Mar 27 12:04:48 DNTX002 abrtd: 'post-create' on '/var/spool/abrt/ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190' exited with 1<br>
Mar 27 12:04:48 DNTX002 abrtd: Corrupted or bad directory '/var/spool/abrt/ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190', deleting<br><br><br></div>Regards.<span class="HOEnZb"><font color="#888888"><br>
Shahzaib<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Mar 27, 2014 at 5:02 PM, Lukas Tribus <span dir="ltr"><<a href="mailto:luky-37@hotmail.com" target="_blank">luky-37@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div><br>
<br>
> [root@DNTX002 nginx-1.2.1]# nginx -V <br>
> nginx version: nginx/1.2.1 <br>
> built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) <br>
> configure arguments: --add-module=/root/nginx_mod_h264_streaming-2.2.7 <br>
> --with-http_flv_module --with-file-aio --sbin-path=/usr/local/sbin <br>
> --with-debug<br>
<br>
<br>
</div>nginx_mod_h264_streaming is a unsupported third party module and probably<br>
causing your crash. There is generally no support for those modules on<br>
the mailing list.<br>
<br>
Drop nginx_mod_h264_streaming and migrate the official ngx_http_mp4_module:<br>
<a href="http://nginx.org/en/docs/http/ngx_http_mp4_module.html" target="_blank">http://nginx.org/en/docs/http/ngx_http_mp4_module.html</a><br>
<br>
Please be aware that this also means changing configurations.<br>
<br>
<br>
And yes, nginx-1.4.7 is stable.<br>
<br>
<br>
<br>
Regards,<br>
<div><div><br>
Lukas<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>