Date: Wed, 17 Apr 2002 11:42:22 +0200 From: Jens Rehsack <rehsack@liwing.de> To: questions@freebsd.org Cc: Alexander Isaev <A.Isaev@astelit.ru> Subject: Re: FreeBSD 4.5 and network problems Message-ID: <3CBD437E.3027869F@liwing.de> References: <215648810.20020415134857@astelit.ru> <3CBAA628.6304E066@liwing.de> <16518703142.20020415143951@astelit.ru> <3CBAB3E2.B47F583B@liwing.de> <13114797867.20020417131609@astelit.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Isaev wrote:
>
> Hello Jens,
>
> Monday, Monday, April 15, 2002, you wrote:
>
> JR> Alexander Isaev wrote:
> >>
> >> Hello Jens,
> >>
> >> Monday, Monday, April 15, 2002, you wrote:
> >>
> >> JR> Alexander Isaev wrote:
> >> >>
> >> >> Hello freebsd-questions,
> >> >>
> >> >> I have installed FreeBSD 4.5. Everything worked OK from the console.
> >> >> But when I tried to connect to it remotely (using SSH) I had some network troubles.
> >> >> From time to time to time the connection hangs for a short time.
> >> >> First of all I've tried to install another network card (I've replaced
> >> >> D-Link 550 with D-Link 538TX). But the problem still exists. Later
> >> >> I've noticed that network timeouts happen also when sending or
> >> >> receiving large files over SMTP/POP3.
> >> JR> Can you login? If not, what user account do you try at login?
> >> JR> If you can login, is your machine heavy loaded? Or how many routers/firewalls
> >> JR> are between your remote machine and your freebsd 4.5 box?
> >> Yes I can login. Machine is idle for 99,9 %.
> >>
> >> last pid: 16641; load averages: 0.00, 0.00, 0.00 up 4+23:16:04 14:36:10
> >> 21 processes: 2 running, 19 sleeping
> >> CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
> >> Mem: 9880K Active, 77M Inact, 56M Wired, 56K Cache, 33M Buf, 89M Free
> >> Swap: 465M Total, 465M Free
> >>
> >> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
> >> 16641 isaev 28 0 1892K 1172K RUN 0:00 1.08% 0.20% top
> >> 16631 root 2 0 2072K 1756K sbwait 0:00 0.06% 0.05% sendmail
> >> 16639 candymow 2 0 1104K 812K sbwait 0:00 0.17% 0.05% cucipop
> >> 91 root 2 0 4392K 4128K select 0:40 0.00% 0.00% drwebd
> >> 93 drweb 2 0 4400K 1608K poll 0:07 0.00% 0.00% drweb-smf
> >> 62 root 2 0 964K 668K select 0:02 0.00% 0.00% syslogd
> >> 72 root 10 0 1004K 736K nanslp 0:02 0.00% 0.00% cron
> >> 97 root 2 0 2104K 1600K select 0:01 0.00% 0.00% sshd
> >> 70 root 2 0 1072K 820K select 0:00 0.00% 0.00% inetd
> >> 16638 root 28 0 2168K 1836K RUN 0:00 0.00% 0.00% sshd
> >> 16640 isaev 10 0 1032K 884K wait 0:00 0.00% 0.00% bash
> >> 16612 root 2 0 1784K 1572K select 0:00 0.00% 0.00% sendmail
> >> 99 root 3 0 948K 652K ttyin 0:00 0.00% 0.00% getty
> >> 105 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 102 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 103 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 106 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 100 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 104 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 101 root 3 0 948K 656K ttyin 0:00 0.00% 0.00% getty
> >> 23 root 18 0 208K 92K pause 0:00 0.00% 0.00% adjkerntz
> >>
> >> There are 1 firewall and about 1 or 2 routers between me and this machine.
> >> But, this machine is installed in subnet with another FreeBSD
> >> machine (let's name it - Machine-B) . When I download large file
> >> (about 200 Mb at 200 k/s speed) from Machine-B the timeouts on
> >> first machine become much longer and happen much often. For another
> >> hand when Dling large file I can login to Machine-B by SSH and work
> >> without any problems. So the network problems depend on network
> >> traffic but I can notice problems ONLY on one machine. All other
> >> machines in network work perfect.
> JR> I had a similar problem with a machine for 1 year. I do not know the exact
> JR> reason, but the interrupt of the NIC never works. The card works perfect
> JR> in other machines. Maybe the motherboard had a defect, but I do not know...
>
> JR> By the way, other machine runs in such a problem: solution? Changing interrupt
> JR> handling from level to edge (or from edge to level). Is in the `dmesg`-output
> JR> the interrupt found correctly?
> Maybe I'll try to change the IRQ. Right now network card uses 11 IRQ.
> But, it's a normal IRQ for network card my Windows based PC uses the
> same IRQ and everything is OK..
>
> JR> Hope that helps
I don't think, that it would. Only if there is a shared interrupt, where one of the
drivers didn't support. Could you send me the content of the "dmesg" output, please?
Also, could you please keep the "questions@freebsd.org" in CC every time (Messenger:
Replay-All)? It's better for those who looking in old messages for a solution, if
the have the same problem. Other situtation is that another one could help you more
than me...
So long
Jens
> JR> Jens
> >> >> Can someone help me to solve this problem?
> >> JR> Maybe
> >> >> Best regards,
> >> >> Alexander Isaev mailto:A.Isaev@astelit.ru
> >> >>
> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org
> >> >> with "unsubscribe freebsd-questions" in the body of the message
> >> JR> so long
> >> JR> Jens
> >>
> >> Best regards,
> >> Alexander mailto:A.Isaev@astelit.ru
>
> Best regards,
> Alexander mailto:A.Isaev@astelit.ru
--
L i W W W i Jens Rehsack
L W W W
L i W W W W i nnn gggg LiWing IT-Services
L i W W W W i n n g g
LLLL i W W i n n g g Friesenstraße 2
gggg 06112 Halle
g
g g
Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: <rehsack@liwing.de>
Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CBD437E.3027869F>
