Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux server randomly drops connection to my Windows PC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Thu Dec 02, 2004 2:43 am    Post subject: Linux server randomly drops connection to my Windows PC Reply with quote

It might be fault of my Windows PC, but my linux server randomly drops the connections. It won't respond to ICMP, SMB, SSH or FTP. I thought at first it was the NIC, but I noticed that I could go out via the internet and access ftp and ssh back through the holes in my firewall.

So I decided to try and ping it with another local box when it went down to my windows box, it kept the pings up.

I don't understand why it randomly just started doing this out of no where. They were both working before.

I'm running ethereal right now to get a capture of when it crashes. I'll post an update if I can.

Thanks for any help,
Daniel
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Fri Dec 03, 2004 6:43 am    Post subject: Reply with quote

This is simply the nuttiest thing ever.

All I got with a tcpdump was out of order from SMB... I don't get it. It's like it just decides to stop responding to packets from my windows pc.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Fri Dec 03, 2004 6:44 pm    Post subject: Reply with quote

Anyone have any pointers to this at all? It's driving me mad!
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Dec 03, 2004 8:53 pm    Post subject: Reply with quote

I had the same problem. In my case the problem was that my 2gig HD got filled up to 100% and gentoo could not write to the HD anymore.

Do "df" in console to check HD space being used.

I hope thats it.
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Dec 04, 2004 9:21 am    Post subject: Reply with quote

/dev/root 54G 5.9G 46G 12% /
none 252M 0 252M 0% /dev/shm
/dev/storage/files 146G 54G 90G 38% /mnt/files

It responds to other machines, just not mine.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
nightblade
Guru
Guru


Joined: 20 Jul 2004
Posts: 368
Location: back from SE Asia

PostPosted: Sat Dec 04, 2004 9:26 am    Post subject: Reply with quote

cuban wrote:

It responds to other machines, just not mine.

Do you have a switch or a hub in between ? Are the ports/interfaces set to the same speed/mode (eg: 100/duplex) ?
_________________
In God we trust. All the others must provide a valid X.509 certificate
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Dec 04, 2004 5:34 pm    Post subject: Reply with quote

Are you sure it's not your windows box at fault? If you are running service pack 2 you may be running in to problems with half open tcp connections (you're only allowed 10) p2p sharing programs like bittorrent will cause this.
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Dec 04, 2004 7:03 pm    Post subject: Reply with quote

nightblade wrote:
cuban wrote:

It responds to other machines, just not mine.

Do you have a switch or a hub in between ? Are the ports/interfaces set to the same speed/mode (eg: 100/duplex) ?


I'm on gigabit, he's on 100 megabits. Both on the same switch.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Dec 04, 2004 7:04 pm    Post subject: Reply with quote

nobspangle wrote:
Are you sure it's not your windows box at fault? If you are running service pack 2 you may be running in to problems with half open tcp connections (you're only allowed 10) p2p sharing programs like bittorrent will cause this.


I don't have any P2P programs open, but I wouldn't be surprised if it's the windows box.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Dec 04, 2004 7:39 pm    Post subject: Reply with quote

The issue has to do with a new XP SP2 setting.

EVENT_TCPIP_TCP_CONNECT_LIMIT_REACHED

It only allows 10 TCP connections at once. I've found a patch, but the patch only allows 50. I'm trying to find an "unlimited" setting.

I noticed it happens when I browse the web, thats because my privoxy uses a shitload of the connections.

I'll post back when I have more info.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Sat Dec 04, 2004 8:28 pm    Post subject: Reply with quote

Thats why I wont install any windows other than Windows 2000 on my machines that I want running Windows. I have never had any problems with win2k no matter what I wanted to do. I always hear stories about XP pulling crazy shit on people.
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Dec 04, 2004 9:45 pm    Post subject: Reply with quote

Korr.ban wrote:
Thats why I wont install any windows other than Windows 2000 on my machines that I want running Windows. I have never had any problems with win2k no matter what I wanted to do. I always hear stories about XP pulling crazy shit on people.


This is a "feature" in XP SP2.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Dec 04, 2004 9:46 pm    Post subject: Reply with quote

Okay, this isn't the problem but whatever the problem is it still isn't fixed.

It continues to drop even my SSH sessions. Very annoying.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Dec 04, 2004 10:14 pm    Post subject: Reply with quote

cuban wrote:
It only allows 10 TCP connections at once. I've found a patch, but the patch only allows 50. I'm trying to find an "unlimited" setting.
It's not 10 tcp connections, it's 10 half open tcp connections (ones without replies) 50 should be plenty for anyone.
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sun Dec 05, 2004 7:36 am    Post subject: Reply with quote

nobspangle wrote:
cuban wrote:
It only allows 10 TCP connections at once. I've found a patch, but the patch only allows 50. I'm trying to find an "unlimited" setting.
It's not 10 tcp connections, it's 10 half open tcp connections (ones without replies) 50 should be plenty for anyone.


Well whatever it is, it didn't work.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Tue Dec 07, 2004 3:26 am    Post subject: Reply with quote

Okay. I changed network cards, changed motherboards and upgraded to kernel 2.6.9 from 2.6.1 and it's still doing this. When I lose my samba connection, I also lose SSH and ICMP.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum