Welcome! Log In Create A New Profile

Advanced

Re: Segfault with Secure Download

June 17, 2010 03:08PM
-V
[code][root@localhost ~]# nginx -V
nginx version: nginx/0.7.9
built by gcc 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)
configure arguments: --with-http_flv_module --add-module=/root/nginx/ngx_http_secure_download/ --add-module=/root/nginx/nginx_mod_h264_streaming-2.2.7/[/code]

conf
[code]worker_processes 512;
worker_rlimit_core 500M;
working_directory /tmp;

timer_resolution 1000ms;

#pid logs/nginx.pid;


events {
worker_connections 16384;
multi_accept on;
}


http {

include mime.types;
default_type application/octet-stream;

sendfile on;
tcp_nopush on;

keepalive_timeout 15;

access_log /dev/null combined;
error_log /dev/null crit;

server {
listen 74.82.53.42:8080;
server_name node1.website.com;

location / {
flv;
root /home/ssd/;
secure_download on;
secure_download_secret "pass";
secure_download_path_mode file;
}
}
}
[/code]

After doing some more testing, when the download finishes via secure_download is when nginx fails out with the error in the first post.
[code]2010/06/17 15:02:02 [info] 3475#0: *1001 securedownload: evaluated value of secret: "tacorape", client: 207.178.151.60, server: node1.fairyshare.com, request: "GET /Victoria_Crater__Cape_Verde_Mars_small.jpg/73fb3ecfdbc865c4e2905825d8d18113/4c1a75c3 HTTP/1.1", host: "node1.fairyshare.com:8080"
2010/06/17 15:02:02 [debug] 3475#0: *1001 hashing string "/Victoria_Crater__Cape_Verde_Mars_small.jpg/tacorape/4c1a75c3" with len 61
2010/06/17 15:02:02 [debug] 3475#0: *1001 computed hash: 73fb3ecfdbc865c4e2905825d8d18113
[/code]

Then in the syslog...
[code]Jun 17 15:02:04 localhost kernel: nginx[3475]: segfault at 1 ip 000000000041e6c6 sp 00007ffff0891c98 error 4 in nginx[400000+6a000][/code]
Subject Author Posted

Segfault with Secure Download

MokuTheCow June 03, 2010 09:42AM

Re: Segfault with Secure Download

Reinis Rozitis June 03, 2010 10:04AM

Re: Segfault with Secure Download

replay June 03, 2010 11:00AM

Re: Segfault with Secure Download

replay June 07, 2010 02:36AM

Re: Segfault with Secure Download

MokuTheCow June 17, 2010 03:08PM

Re: Segfault with Secure Download

MokuTheCow June 17, 2010 03:08PM

Re: Segfault with Secure Download

replay June 17, 2010 10:54PM

Re: Segfault with Secure Download

MokuTheCow June 18, 2010 01:11AM

Re: Segfault with Secure Download

replay June 18, 2010 01:16AM

Re: Segfault with Secure Download

replay June 21, 2010 02:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready