ndt-users - Re: RE:
Subject: ndt-users list created
List archive
- From: Richard Carlson <>
- To: "chet" <>, "Martyn Cheatle" <>, <>
- Subject: Re: RE:
- Date: Thu, 13 Oct 2005 17:38:07 -0400
Hi Martyn;
The easiest thing to do is:
1) edit the src/web100srv.c file and add the missing shutdown() line (see my previous email on where this line goes).
2) save the file and then run the make and make install commands. This will update the server processes but it will not disrupt the customized web page.
3) then kill and restart the NDT server processes, the easiest way is to run the "conf/ndt restart" command or you can kill off the web100srv and fakewww processes and run the conf/start.ndt command again.
Rich
At 02:54 PM 10/13/2005, chet wrote:
Thanks Rich, do I just change the code or do I have to go through the
install procedure again
Martyn
----- Original Message -----
From: "Richard Carlson"
<>
To: "Martyn Cheatle"
<>;
<>
Sent: Thursday, October 13, 2005 7:42 PM
Subject: RE:
> Hi Martyn;
>
> I tried a test to this URL and it successfully ran to completion, meaning
I
> got the results. As others have pointed out, I did find a bug in the
> web100srv program last week that may be the cause of this problem. I
> failed to issue a shutdown() command when the test completes and this
> causes the client to hang instead of printing the final results. I posted
> a quick fix earlier this week, and I'll release a new version of the NDT
> code soon.
>
> Rich
>
> At 11:57 AM 10/13/2005, Martyn Cheatle wrote:
> >Here are the logs from websrv100.log and fakewww and all looks fine but
I'm
> >still having problems with tests, I click the start button ands the
client
> >to server tests work find, then the program just sits there doing
nothing,
> >it just show running 10's inbound test (server to client)....., I left
this
> >for 4 hours and it still does not complete
> >
> >If you look at http://212.43.184.4:7123 you will see what I mean, have I
> >missed something.
> >
> >OS is fedora core 4
> >
> >Thanks
> >
> >Martyn
> >
> >Oct 12 17:09:03 cpc2-clif3-6-0-cust213.nott.cable.ntl.com port 3218
> >Received SIGALRM signal: terminating active web100srv process [4380]
> >Received SIGALRM signal: terminating active web100srv process [4383]
> >spds[0] = ' 0 27 565 10 1 0 0 0 0 0 11 27 0.37' max=565 [93.70%]
> >spds[1] = ' 0 9 277 6 1 0 0 0 0 0 154 9 0.38' max=277 [94.54%]
> >spds[2] = ' -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0.0' max=0 [-0.00%]
> >spds[3] = ' -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0.0' max=0 [-0.00%]
> >Oct 12
>
>17:09:03,81.111.37.213,54,188,1,2096,23,6,0,156,0,1460,1,24,0,219136,36500,
0
> >,155562,15530,236184,0,1,1,0,356,0,0,0,0,
> >1,0,2,2,-1,-1,6,156,16,0,22
> >
> >Fakewww
> >
> > Oct 12 16:52:18 server started, listening on port 7123
> >Oct 12 16:52:34 [81.111.37.213] requested file '/' - sent to client
> >Oct 12 16:52:34 [81.111.37.213] requested file '/Tcpbw100.jar' - sent to
> >client
> >Oct 12 17:08:53 [81.111.37.213] requested file '/' - sent to client
> >Oct 12 17:08:57 [81.111.37.213] requested file '/Tcpbw100.jar' - sent to
> >client
> >Oct 12 17:08:57 [81.111.37.213] requested file '/Tcpbw100.jar' - sent to
> >client
> >Oct 12 20:12:58 [81.111.37.213] requested file '/' - sent to client
> >Oct 12 20:13:07 [81.111.37.213] requested file '/favicon.ico' - access
> >denied
> >Oct 12 20:13:07 [81.111.37.213] requested file '/favicon.ico' - access
> >denied
> >Oct 12 20:13:09 [81.111.37.213] requested file '/Tcpbw100.jar' - sent to
> >client
> >Oct 12 20:13:09 [81.111.37.213] requested file '/Tcpbw100.jar' - sent to
> >client
> >
> >-----Original Message-----
> >From: Richard Carlson
[mailto:]
> >Sent: 13 October 2005 14:48
> >To: Martyn Cheatle;
> >Subject: RE:
> >
> >Hi Martyn;
> >
> >This indicates that the server is operating properly. The email I sent a
> >few minutes ago should address the start-up problem (use the "-l" flag to
> >indicate that you want to move the log file to a new location).
> >
> >At 05:55 AM 10/13/2005, Martyn Cheatle wrote:
> > >update, If I remove my wireless card after at least 10 seconds then the
> > >test completes, does this help towards solving my issue?
> >
> >Its not clear to me what you are saying here. Which host has the
wireless
> >card (the NDT server or the client)? If it's the server then what
> >interface (wired or wireless) is primary (use the netstat -nr command)?
> >
> >Rich
> >
> > >
> > >Martyn
> > >
> > >click START to re-test
> > >Checking for Middleboxes . . . . . . . . . . . . . . . . . . Done
> > >running 10s outbound test (client to server) . . . . . 318.73Kb/s
> > >running 10s inbound test (server to client) . . . . . . 9.71kb/s
> > >Your PC is connected to a Cable/DSL modem
> > >
> > >
> > >----------
> > >From: Martyn Cheatle
[mailto:]
> > >Sent: 13 October 2005 10:23
> > >To:
> > >Subject:
> > >
> > >After a bit learning cure and the help of users from this list I'm
getting
> > >there, I just have one problem now which is as follows: -
> > >
> > >If I edit start.ndt I have a problem starting it, I have added a log
line
> > >at the end of the websrv100 see below
> > >
> > >#! /bin/csh -f
> > >
> > >set cnt = `ps auxw | grep web100srv | grep -v grep | wc -l`
> > >if ($cnt == 0) then
> > > /usr/local/sbin/web100srv -a /var/log/web100/web100srv.log >&
> > > /dev/null &
> > >endif
> > >
> > >set cnt = `ps auxw | grep fakewww | grep -v grep | wc -l`
> > >if ($cnt == 0) then
> > > /usr/local/sbin/fakewww -l/var/log/fakewww.log >& /dev/null &
> > >Endif
> > >
> > >Then when I run start.ndt I get the following
> > >
> >
>[root@localhost
conf]# ./start.ndt
> > >'nknown option: `-
> > >Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > >
> > >But if I leave it and do not edit it then it starts fine, I used
> > >Microsoft's WordPad to edit the file.
> > >
> > >Also I have added the following to my firewall rules using webmin but
I'm
> > >unable to run any tests from server to client, it just sits there doing
> >nothing
> > >
> > >iptables -A NDT -p tcp --dport 7123 -j ACCEPT
> > >iptables -A NDT -p tcp --dport 3001 -j ACCEPT
> > >iptables -A NDT -p tcp --dport 3002 -j ACCEPT
> > >iptables -A NDT -p tcp --dport 3003 -j ACCEPT
> > >iptables -A NDT -p tcp --sport 3001 -j ACCEPT
> > >iptables -A NDT -p tcp --sport 3002 -j ACCEPT
> > >iptables -A NDT -p tcp --sport 3003 -j ACCEPT
> > >
> > >Anybody got any ideas on how can solve my issues
> > >
> > >Many thanks
> > >
> > >Martyn
> > >
> > >
> > >The contents of this email and any attachments are sent for the
personal
> > >attention
> > >of the addressee(s) only and may be confidential. If you are not the
> >intended
> > >addressee, any use, disclosure or copying of this email and any
attachments
> >is
> > >unauthorised - please notify the sender by return and delete the
message.
> >Any
> > >representations or commitments expressed in this email are subject to
> > >contract.
> > >
> > >ntl Group Limited
> > >
> > >
> > >The contents of this email and any attachments are sent for the
personal
> > >attention
> > >of the addressee(s) only and may be confidential. If you are not the
> >intended
> > >addressee, any use, disclosure or copying of this email and any
attachments
> >is
> > >unauthorised - please notify the sender by return and delete the
message.
> >Any
> > >representations or commitments expressed in this email are subject to
> > >contract.
> > >
> > >ntl Group Limited
> >
> >------------------------------------
> >
> >
> >
> >Richard A. Carlson e-mail:
>
>
> >Network Engineer phone: (734) 352-7043
> >Internet2 fax: (734) 913-4255
> >1000 Oakbrook Dr; Suite 300
> >Ann Arbor, MI 48104
> >
> >
> >The contents of this email and any attachments are sent for the personal
> >attention
> >of the addressee(s) only and may be confidential. If you are not the
intended
> >addressee, any use, disclosure or copying of this email and any
attachments is
> >unauthorised - please notify the sender by return and delete the message.
Any
> >representations or commitments expressed in this email are subject to
> >contract.
> >
> >ntl Group Limited
>
> ------------------------------------
>
>
>
> Richard A. Carlson e-mail:
> Network Engineer phone: (734) 352-7043
> Internet2 fax: (734) 913-4255
> 1000 Oakbrook Dr; Suite 300
> Ann Arbor, MI 48104
>
------------------------------------
Richard A. Carlson e-mail:
Network Engineer phone: (734) 352-7043
Internet2 fax: (734) 913-4255
1000 Oakbrook Dr; Suite 300
Ann Arbor, MI 48104
- RE:, Martyn Cheatle, 10/13/2005
Archive powered by MHonArc 2.6.16.