You are not logged in.
Pages: 1
Hello all,
this is my first post on the forums. I've been using archlinux for years and never really had any problems. The last 24 hours I've been searching on the forum and google for a solution to my problem.
The problem is as follows, I can login to my remote server sia ssh. This used to be slow but after disabling the reverse lookup it's "not bad". After this I can usualy check a few things, np until at some point it freezes. This is usually when, accessing logfiles, doing a dns lookup with dig, top or so on. My apache also works kind off, but as soon as bigger images need to be sent the connectioon stays open but nothing happens anymore.
At first it felth like it was an IO problem, but iostat shows there's nearly no IO at the time the system hangs (for example DIG). Free -m shows no swap usage and lots of free space in mem. Disks are not full. Iptables wasn't used before, tought it might have something to do with accepting related connections straight away so installed it and used a proven config from a different server (the one the problem server was supposed to replace), no luck.
The weirdest thing of all is if I create a tunnel from my pc to the router in my network (port 81) to access the remote management (which is only available on the LAN) I can connect to the router, it sends some data back and then the tunnel AND the ssh session freeze.
It's not that the system freezes completely, its just the SSH session or http connection that doesn't do anything anymore.
This is the stuff I've tried:
- I've disabled reverse lookups on http and ssh to see if it was a DNS issue
- Disabled ipv6 using the kernel line in grub.
- set "options single-request" in /etc/resolv.conf
- checked /etc/hosts, /etc/resolve.conf /etc/nsswitch.conf
- checked harddisk setting to be UDMA6
- set up a tunnel to a squid server on the remote network to access to router. Terminal freezes straight away after first req to squid
- checked MTU fot network interface to be 1500
- log files in /var/log as far as I can access them don't show any serious errors.
- swap the networkcable for known good one
- add "net.ipv4.tcp_window_scaling = 0" to /etc/sysctl.conf and reboot
It seems a bit that if it has to send a lot of data it freezes. Receiving (for example installing pacman packages) works okay.
The network driver is a sis190 (according to lspci its a sis191 gigabit ethernet controller)
kernel Linux 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012. System is like 2 or 3 weeks old with a full system update and reboot afterwards.
Any would be more then welcome...
Last edited by Computerfreaked (2012-07-02 10:36:08)
Offline
My suspicion is confirmed. Doing an scp from the problem machine to another server hangs after af few seconds...
Offline
Ok just a random guess, i set the MTU to 500. Close but no cigar. Tried 200, works flawless. Why would this be?
Here's my network layout:
router --- switch - server1,2 and 3
The servers all have MTU 1500, server 1 and 2 work okay with this. Server3 (the problem machinee) doesn't? I just scp'ed a large file from server3 to server2 it gives me about 2.5 MB/s which is low for an ehternet card...?
Offline
Pages: 1