From: "Lever, Charles" Subject: RE: Sporadic timeout problems during streaming to nfs server Date: Tue, 13 Sep 2005 19:17:09 -0700 Message-ID: <044B81DE141D7443BCE91E8F44B3C1E288E43C@exsvl02.hq.netapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1EFMpf-0002hb-3u for nfs@lists.sourceforge.net; Tue, 13 Sep 2005 19:17:07 -0700 Received: from mx2.netapp.com ([216.240.18.37]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EFMpd-0001rP-PX for nfs@lists.sourceforge.net; Tue, 13 Sep 2005 19:17:07 -0700 To: Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: don't use the "soft" option -- use "hard" instead. "soft" with "udp" is a sure recipe for data corruption and the very symptoms you describe below.=20 > -----Original Message----- > From: Stefan Wuerthner [mailto:trash.wuerthner@gmx.de]=20 > Sent: Tuesday, September 13, 2005 8:02 PM > To: nfs@lists.sourceforge.net > Subject: [NFS] Sporadic timeout problems during streaming to=20 > nfs server >=20 > - I have the following setup: >=20 > DBox (DVB-C receiver, 10BaseT) connected to > 100MBit-Switch connected over 10m TP to > 100MBit-Switch connected over 5m TP to > Netwinder (Linux server, 100BaseT) >=20 > - Export options on the Netwinder (Kernel 2.4.19-rmk7-nw1): >=20 > dbox2(rw,insecure,all_squash) >=20 > - Mount options on the DBox (Kernel 2.4.31-dbox2) to stream=20 > the DVB-TS: >=20 > rw,soft,udp,nolock,rsize=3D8192,wsize=3D8192 >=20 > - This results in: >=20 > 192.168.24.50:/home/wuerthne on /mnt/filme type nfs = (rw,v3,rsize=3D8192, > wsize=3D8192,soft,udp,nolock,addr=3D192.168.24.50) >=20 >=20 > Unfortunately, I sometimes get a timeout error in the serial=20 > logfile of my > DBox: >=20 > [Tue Sep 13 19:15:49 2005]nfs: server 192.168.24.50 not=20 > responding, timed out > [Tue Sep 13 19:15:49 2005][stream2file]: error in write:=20 > Input/output error > [Tue Sep 13 19:15:51 2005][stream2file] pthreads exit code: 4294967293 > [Tue Sep 13 19:15:56 2005][neutrino.cpp] executing=20 > /var/tuxbox/config/recording.start. > [Tue Sep 13 19:15:57 2005]Record channel_id: 44d00016dcd epg:=20 > 44d00016dcda60c, apids mode 1 > [Tue Sep 13 19:46:43 2005]nfs: server 192.168.24.50 not=20 > responding, timed out > [Tue Sep 13 19:46:43 2005][stream2file]: error in write:=20 > Input/output error > [Tue Sep 13 19:46:44 2005][stream2file] pthreads exit code: 4294967293 > [Tue Sep 13 19:46:49 2005][neutrino.cpp] executing=20 > /var/tuxbox/config/recording.start. >=20 > E.g. the client recognizes a timeout and restarts the recording. This > results in two ore more fragments which is not desirable. >=20 > For some time now, I played with different NFS options,=20 > changed switches and > so on but to no avail. Sometimes I can stream 5GB without problems, > sometimes the timeout occurs after a short period of time. >=20 >=20 > Any ideas what I can change or how I can diagnose this=20 > problem further to > avoid the timeouts? >=20 >=20 > Stefan >=20 > --=20 > -------------------------------------------------------------- > --------------- > Stefan Wuerthner web =20 > http://wuerthner.dyndns.org > -------------------------------------------------------------- > --------------- >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download it for free - -and be entered to win a 42" plasma tv=20 > or your very > own Sony(tm)PSP. Click here to play:=20 > http://sourceforge.net/geronimo.php > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs >=20 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs