Skip to contentSkip to conversation

Ethernet falls into deep sleep.

DISCUSSION Michael Buesch 2 participants 3 messages Jul 28, 2003

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I've a problem with my server/router, that I've seen on various kernels. currently I'm running 2.4.21, but I've seen the problem on 2.4.20 and 2.5.70, too. I'm using a 3com 3c509 ISA ethernet card.

When this server stays a longer time (about one night, 12 hours) without network-traffic, it seems like the whole network-interface falls into a very deep sleep. It's very hard to wake the machine up.
Today it was _very_ hard. First I tried to reach the internet through this machine (it's a router), but it didn't work. Every packet was thrown away by the router.
Then I tried to login via ssh into the machine, but I got no response. Then I tried to ping the machine. All packages got lost. But after a few minutes of pinging, suddenly the machine responded in normal speed. From now on ssh and routing was possible too.
It's like I have to tickle the machine a bit, before its network-interface wakes up and I'm able to transmit some packages.

I've no idea for the reason.
Thank you for every help.

(Please CC me, as I'm not subscribed to linux-net)

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
Penguin on this machine: Linux 2.4.21 - i386

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/JQfCoxoigfggmSgRAoKBAJ0bZIXp6BYIzvz4p+HuQKyiEcyNPQCfUfo6 VtA+E7Q/V6cLXotHloXYGC8=
=XEC1
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 10 lines · Michael Buesch

I've a problem with my server/router, that I've seen on various kernels. currently I'm running 2.4.21, but I've seen the problem on 2.4.20 and 2.5.70, too. I'm using a 3com 3c509 ISA ethernet card.

When this server stays a longer time (about one night, 12 hours) without network-traffic, it seems like the whole network-interface falls into a very deep sleep. It's very hard to wake the machine up.

This could be a router problem: some routers (Cisco?) decide that a host has died if no traffic has been seen for a long time. Google for "vortex sleepy nic" for some discussion.

I haven't seen any reports of this in a looong time. IIRC it was worked around by pinging some remote host once per minute.

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Andrew Morton
Quoted 5 lines · Michael Buesch

I've a problem with my server/router, that I've seen on various kernels. currently I'm running 2.4.21, but I've seen the problem on 2.4.20 and 2.5.70, too. I'm using a 3com 3c509 ISA ethernet card.

Quoted 6 lines
Quoted 4 lines

When this server stays a longer time (about one night, 12 hours) without network-traffic, it seems like the whole network-interface falls into a very deep sleep. It's very hard to wake the machine up.

This could be a router problem: some routers (Cisco?) decide that a host

I've got no hardware-router.
The server (the machine, that locks up; normal pentium linux PC) works as server and router for my other machines.

Quoted 5 lines

has died if no traffic has been seen for a long time. Google for "vortex sleepy nic" for some discussion.

I haven't seen any reports of this in a looong time. IIRC it was worked around by pinging some remote host once per minute.

I'm now trying it without APM, ACPI support in the kernel.
If this doesn't work, I'll try to make a cron-job pinging some server.

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
Penguin on this machine: Linux 2.4.21 - i386

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/JYlvoxoigfggmSgRAv9PAJwK7b6vA3iYuzUMMtBlke8OjfCpLQCfXKcO 9w/oyKdCiF0Lydx57J88CwQ=
=eeAh
-----END PGP SIGNATURE-----