LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-25-2004, 06:50 AM   #1
markguerin
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Intermittent connection problem


I have my server set up as a web server running redhat 8.
It allows http & ssh
It seems to keep "going to sleep" in that you can't communicate with it if left to it's own devices for a while.
If you ping the hell out of it, usually it comes back to life. Typically it takes 200 - 800 pings to get it too respond.

Any ideas / things to look at gratefully received

Thanks
Mark
 
Old 01-26-2004, 07:20 AM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
eeeeh very strange...
I think you should first try to turn off any powersaving thing around (there's some in the kernel and some directly in RedHat).
You can also try to start your http/ssh daemons outside xinetd (superdaemon), maybe it will fix the problem... During the "down" is there any special kernel log?
 
Old 01-27-2004, 10:58 PM   #3
markguerin
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Have turned off power saving (I think), no difference.
Will look at those other issues you raised and let u know.

Thanks
Mark
 
Old 01-28-2004, 04:22 AM   #4
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
in the meantime, setup a cron job to have your server ping somewhere every now and again to see if that keeps it alive...

what services do you have running?
 
Old 02-03-2004, 01:51 AM   #5
markguerin
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
We do have a job that pings out on startup to kick start things, but it still drops connectivity.

Apparently (after much investigation) there is an issue with the MAC address, in that it keeps getting dropped or being changed. Therefore the associated networking infrastructure loses contact with the server.
Very strange.
As I am no networking expert I don't really understand how this is possible.
 
Old 02-03-2004, 03:13 AM   #6
markguerin
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
To be more precise:

The ifconfig settings are all fine and the card comes up at boot time. I am using a Dell PowerEdge 2600 with RedHat 8.0. The card does not ARP it's MAC address to the network. Result: I need to manually ping out of the box to instigate a connection that frequently times out, especially after extended quiet periods.

Not using DHCP (will try next). The card is an Intel Pro 100/1000 (or so) and the same problem occurs with the embedded NIC as well as the additional one that we have in Slot 7. Have tried new cards, new motherboard, changing cables.

What the?
 
Old 06-05-2004, 04:27 PM   #7
outback
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
ok I'm not alone....I'm going through the EXACT same problem with my server.

At first being in a rush I thought it may be a software problem with Fedora Core2. But I put in Slackware 9.1 and the same damn thing!

So then I'm thinking ok must be a kernel thing. But FC2 uses 2.6.6 (which has ACPI support built in which has a known bug to cause packet loss on the eth...) and slack was installed with 2.4.22 and updated to 2.4.26....But I was still thinking it was a kernel thing...So I recompiled my kernel with any IP options and eth options built it....SAME THING!

So now I went back to the kernel looking for anything to do with ARP. And the option isn't suggested to load (its experimental and obsolete according to the docs).

So how the heck do you force your card to ARP properlly?

Something else for you to check mark is look at the "carrier" flag in ifconfig. Is the number going up? Rapidly? Almost as fast as your TX packets?

Have you tried changing your duplex mode? I've had to force mine to 100 HD in order to stop the carrier problems. I believe this is due to a lack of flow control which I also have no clue how to turn on.

Only solution I've found so far is I had my MAC statically routed on the switch which seems to have helped keep the box responding.

If anyone knows the REAL way to fix this problem PLEASE POST IT!!!! I'm totally stumped!

Thanks!

PS tried swapping NICs too. currently using a 3com 3c905c-TX-M.
 
Old 06-07-2004, 09:33 AM   #8
outback
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
bump!
 
Old 06-07-2004, 10:45 PM   #9
markguerin
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Well we finally nailed the problem and all it was, was the drivers for the NICs.

Ended up getting a specialist linux mob involved and they nailed it smartly.

Regards
Mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intermittent connection problem - network/apache jakepa2001 Linux - General 4 06-05-2005 11:43 AM
Intermittent Connection Problems aidanmcgowran Linux - Networking 0 06-29-2004 09:59 AM
Intermittent connection errors aidanmcgowran Linux - Wireless Networking 0 06-29-2004 09:16 AM
Intermittent connection problem markguerin Linux - Software 1 01-25-2004 08:16 AM
intermittent LAN connection url Linux - Networking 3 11-14-2003 02:14 AM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration