ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pread() failed для модуля р аздачи flv


  • To: nginx-ru@xxxxxxxxx
  • Subject: pread() failed для модуля р аздачи flv
  • From: Александр Кутузов <alleteam@xxxxxxxxx>
  • Date: Tue, 18 Nov 2008 19:03:28 +0530
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=E4Cg5agRkdx9DjeGdAw/G+0loCpo9kwvvwbqlQeVrO0=; b=mQG4/2rNFyUH1NoMnwZCKeVIbtWADrlyE+vqpyPOvTZkDqkAntpvFkBt1Ts0P98FeB lL5p6fue5DLzkjC7sI3uVfmHkRSByQA7uyHjgIILXDb/v3Y4qUlODD4w8nkWmHaVWEGW ytvqn0TXZjirkT7qkcxGYtgok8GTTfQ/ej3cs=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=ZtxJkGs+EsEon9Es2WctQfRAivCjvBt4puv3X9OwWXpAZ5kxiem7KjE/M76IOleuZn YPsalilvYW3FKuvNzp/VpLtnOjPV+xB84BpURvuMa0VqVbn1oAoG50iHURywLtrzQoDE rlnIjna+dNGuJB4dA6nc2iObvgbqNPYs7EeJs=

собственно пытаемся читать флв со смещением получается в логах вот такое:

2008/11/18 15:18:18 [info] 24524#0: *7 client closed prematurely connection while sending flv to client, client: 85.202.113.33, server: rabbit.sinpark.com, request: "GET / 4c8d31e51bec417fa23c9c7ac2fc10e5.flv HTTP/1.1", host: "rabbit.sinpark.com", referrer: "http://sinpark.com/video53/"; 2008/11/18 15:18:18 [crit] 24508#0: *8 pread() failed, file "/mnt/flv/ 4c8d31e51bec417fa23c9c7ac2fc10e5.flv" (22: Invalid argument) while sending flv to client, client: 85.202.113.33, server: rabbit.sinpark.com, request: "GET / 4c8d31e51bec417fa23c9c7ac2fc10e5.flv?start=9657647 HTTP/1.1", host: "rabbit.sinpark.com", referrer: "http://sinpark.com/video53/"; 2008/11/18 15:19:22 [crit] 24508#0: *9 pread() failed, file "/mnt/flv/ 4c8d31e51bec417fa23c9c7ac2fc10e5.flv" (22: Invalid argument) while sending flv to client, client: 85.202.113.33, server: rabbit.sinpark.com, request: "GET / 4c8d31e51bec417fa23c9c7ac2fc10e5.flv?start=16537425 HTTP/1.1", host: "rabbit.sinpark.com", referrer: "http://sinpark.com/video53/";

stat /mnt/flv/4c8d31e51bec417fa23c9c7ac2fc10e5.flv
  File: `/mnt/flv/4c8d31e51bec417fa23c9c7ac2fc10e5.flv'
Size: 22504138 Blocks: 43960 IO Block: 4096 обычный файл
Device: 900h/2304d      Inode: 1073742092  Links: 1
Access: (0664/-rw-rw-r--)  Uid: (  501/  molder)   Gid: (  501/  molder)
Access: 2008-11-18 15:19:22.927583687 +0100
Modify: 2008-11-04 01:27:33.000000000 +0100
Change: 2008-11-16 21:40:19.558583687 +0100


первой строчкой проигрыватель закрывает скачивание текущей позиции.

server {
    listen x.x.x.x:80;
    server_name abstractservername;
    root /mnt/flv;

    location ~ \.flv$ {
        flv;
    }


nginx version: nginx/0.7.21
configure arguments: --with-http_secure_link_module --with- http_stub_status_module --with-http_gzip_static_module --with- http_flv_module --user=apache --group=apache --prefix=/usr --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 --http-client-body-temp-path=/var/spool/nginx/client_body_temp --http- fastcgi-temp-path=/var/spool/nginx/fastcgi_temp --http-proxy-temp- path=/var/spool/nginx/proxy_temp --with-debug

Linux sparta 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:19:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

система centos



Kind regards,
Alexandr Kutuzov, alleteam@xxxxxxxxx


 




Copyright © Lexa Software, 1996-2009.