I'm not sure if this will help but it can't hurt.<span class="gmail_quote"><br><br></span>I wrote this tiny C program to automate testing my thin client<br>network. All you need to do is compile it and then run it as root.
<br>Root is required for ping to work in flood mode.<br><br>1) save the code below as a file. Say <span id="st" name="st" class="st">nettest</span>.c<br>*make sure the last line is blank<br>2) $gcc <span id="st" name="st" class="st">
nettest</span>.c -o <span id="st" name="st" class="st">nettest</span><br>3) #./<span id="st" name="st" class="st">nettest</span><br>or you can save your output to a file like this<br>#./netstat > outputfile<br><br>//============================
<div style="direction: ltr;"><br>// A little utility to check thin client LTSP network<br><br>#include <stdio.h><br>#include <stdlib.h><br>#include <string.h><br><br>int main() {<br><br>        FILE* fp=popen("netstat -t -e|grep x11|sed -e 's/:/ /g'|\
<br>awk '{print $6}'|grep -v root|sort|uniq","r");<br>        char ip[64];<br><br>        while ( fgets(ip,sizeof(ip)-1,fp) )<br>        {<br>                char ping[64]="ping -c200 -f -p aa ";<br>
                system( strcat(ping,ip) );<br>        }<br><br>        pclose(fp);<br>        return 0;<br>}<br>//===============================<br></div><span class="sg"><br></span><br><span class="gmail_quote"><br></span>
<br><div><span class="gmail_quote">On 9/7/06, <b class="gmail_sendername"><a href="mailto:dahopkins@comcast.net">dahopkins@comcast.net</a></b> <<a href="mailto:dahopkins@comcast.net">dahopkins@comcast.net</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">David,<br><br>On my opteron system, still have the nscd issue.  Also, we have students logging on/off alot.  Without nscd it just becomes a real nightmare.  Of course, currently I can't tell the difference.
<br><br>I can try a boot with the options you mention, but the console seems fine.  As for video/sound, I haven't gotten far enough to even have those issues.  Sounds works (first person only though, known issue, resolved with latest ltsp patches),  not sure if sound/video will stay synced up.
<br><br><begin whining><br>The support for usb devices and sound are the entire reason we upgraded to this version -- we have 4 teachers that are vocally demanding that sound/video work or else it is back to Windows.  Have a couple of weeks to get it fixed and then this issue crops up.
<br><end whining><br><br>Anyhow, the latest was that around 3pm thin clients just quit booting from the system with the NFS mount issue.  tftp <a href="http://et.al">et.al</a>. were running, so I rebooted the box and everything came back up.  Tomorrow (Friday) I will start using ntop/sar/tcpdump to see if I can get some kind of handle on what the real issue is.  Of course I only have a couple of hours in the morning before I have to be at another school to assist with some work there.
<br><br>Ran dmesg and nothing jumped out at me.  All the hardware was recognized, no warnings/issues.<br><br>Thanks though for the suggestion, I will see if the tech teacher is up to an experiment with it.<br><br>Sincerely,
<br>Dave Hopkins<br><br><br> -------------- Original message ----------------------<br>From: "David Trask" <<a href="mailto:dtrask@vcsvikings.org">dtrask@vcsvikings.org</a>><br>> There was an nscd bug that caused it to die....I'm not sure if it got
<br>> fixed....I suspect it did.  When it happened though I found that turning<br>> off nscd solved the issue...and we've also found that unless you have a<br>> LOT of users, it's unnecessary.  also...as for the slow server...I had one
<br>> with a hardware conflict that suddenly cropped up in FC4 (previous<br>> versions were fine) I had to add "noapic" and "noapci" to the grub file<br>> menu.lst to get it to run right.  In FC5 the problem seems to be better,
<br>> but not solved....so I just got a new server yesterday just like the one<br>> that I'm NOT having hardware issues with (made sure)....so I am<br>> "reprovisioning" it....the new server becomes the K12LTSP box and the
<br>> older one becomes the Windows Terminal server.  LOL   Anyway....are you<br>> experiencing things like sluggish video....slow dialog boxes...and so<br>> forth even when actually on the server?  If so it could be a hardware
<br>> conflict.<br>><br>><br>> "Support list for open source software in schools." <<a href="mailto:k12osn@redhat.com">k12osn@redhat.com</a>><br>> writes:<br>> >><br>> >> The high bandwidth usage is an obvious candidate. Any idea on what is
<br>> >> chewing up the bandwidth?<br>> ><br>> >Not really, usage patterns/programs for the teachers/students haven't<br>> >changed much year-to-year.  Software packages are the same as last year.
<br>> >Only change was FC5 upgrade. (mb is Supermicro X5DP8-G2 in case that<br>> >matters somehow)<br>> ><br>> >><br>> >> I would also check for authentication/authorization issues (I note in
<br>> >> the archives that you use LDAP).<br>> ><br>> >Yep, used David Trask's instructions originally, updated with Matt's<br>> >script later.  Nothing changed though in last year.<br>> >
<br>> >><br>> >>   Double-check that all of the LDAP configs are correct.<br>> >><br>> ><br>> >Everything is as it should be.  Haven't upgraded to latest samba though<br>> >because of concerns with the latest/greatest version of samba and the
<br>> >traffic on the samba list about it.<br>> ><br>> >>   Make sure that nscd is running (/sbin/service nscd status)<br>> >><br>> ><br>> >Have had an ongoing issue with nscd since like forever.  I am using a
<br>> >dual-Opteron server with the prior version of K12LTSP running (x86_64).<br>> >Fully patched, but I have not upgraded the system to the FC5 version.<br>> >nscd still dies 2-3 times each day.  A simple restart, or at worse clear
<br>> >the database files and restart resolves the issue (on site tech teacher<br>> >has a script that he runs if he sees the authentication stop). I am<br>> >planning to move my LDAP server to a new 32-bit system just to get away
<br>> >from this issue.<br>> ><br>> >>   Make sure that DNS is correct (/etc/resolv.conf)<br>> >><br>> ><br>> >Haven't touched this either, but will recheck.<br>> ><br>> >>
<br>> >> I'd also check the disk sub-system...<br>> ><br>> >I did upgrade from Ultra160 IBM Deathstar drives (they were dirt cheap<br>> >and now I know why) to Ultra320 Seagate Barracuda's.  Was using a
<br>> >zero-channel controller for RAID-1 on the OS drives, but ... that is<br>> >another thread. :)  Now using software RAID-1 on one system, nothing on<br>> >the other (skating on thin ice).  Both systems show the same issues.
<br>> ><br>> >><br>> >>   Run "dmesg" and look for SCSI errors<br>> >><br>> >Haven't seen any so far.  Checked earlier, will check again.<br>> ><br>> >>   Run "sar -b" to see the disk I/O usage patterns
<br>> >>   (if you don't have "sar", install it with "yum install sysstat")<br>> >><br>> >have to install and test this as well.  Only issue is that I am running<br>> >out of annual leave to spend at the school troubleshooting this.  The
<br>> >issues only show up under load.  Still, will be there tomorrow morning<br>> >bright and early since it is my day off :)<br>> ><br>> >Sincerely, and thankfully,<br>> >Dave ...<br>> >
<br>> >_______________________________________________<br>> >K12OSN mailing list<br>> ><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>> ><a href="https://www.redhat.com/mailman/listinfo/k12osn">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>> >For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br>><br>><br>><br>> David N. Trask<br>> Technology Teacher/Director
<br>> Vassalboro Community School<br>> <a href="mailto:dtrask@vcsvikings.org">dtrask@vcsvikings.org</a><br>> (207)923-3100<br>><br>><br>> _______________________________________________<br>> K12OSN mailing list
<br>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org">
http://www.k12os.org</a>><br><br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br></blockquote></div><br><br clear="all"><br>-- <br>Robert Arkiletian<br>Eric Hamber Secondary, Vancouver, Canada
<br>Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/">http://www3.telus.net/public/robark/Fl_TeacherTool/</a><br>C++ GUI tutorial <a href="http://www3.telus.net/public/robark/">http://www3.telus.net/public/robark/
</a>