Messages in this thread | | | Date | Sun, 21 Mar 1999 22:34:40 -0700 (MST) | From | Jason Gunthorpe <> | Subject | Re: No connect timeout? |
| |
On Fri, 19 Mar 1999, Andi Kleen wrote:
> > Ik, it seems that the machine was running fine for about 4 days and now > > I'm looking at it today and their are 54 stuck connections :< > > Could you check with ps -lax where they are hanging?
Okay, I've got 3 today:
netstat -nto | grep -i syn_sent tcp 0 0 207.69.194.216:20 129.97.150.78:1379 SYN_SENT off (0.00/0) tcp 0 0 207.69.194.216:20 203.247.41.149:1101 SYN_SENT off (0.00/0) tcp 0 0 207.69.194.216:20 200.245.187.107:1047 SYN_SENT off (0.00/0)
saens{root}~/lsof-4.37#./lsof -n | grep -i syn_sent ftpd 6191 root 7u inet 4265125 TCP 207.69.194.216:ftp-data->129.97.150.78:1379 (SYN_SENT) ftpd 16150 root 7u inet 4399642 TCP 207.69.194.216:ftp-data->12.23.138.125:2327 (SYN_SENT) ftpd 19859 root 7u inet 4147388 TCP 207.69.194.216:ftp-data->200.245.187.107:1047 (SYN_SENT) ftpd 22375 root 7u inet 4166354 TCP 207.69.194.216:ftp-data->203.247.41.149:1101 (SYN_SENT)
saens{root}~/lsof-4.37#ps lax 22375 19859 6191 FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND 100 101 6191 127 0 0 1372 768 inet_wait_f S ? 0:03 ftpd: d 100 101 19859 127 0 0 1356 748 inet_wait_f S ? 0:00 ftpd: 2 100 101 22375 127 0 0 1372 780 inet_wait_f S ? 0:00 ftpd: 2 saens{root}~/lsof-4.37#ps lanx 22375 19859 6191 FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND 100 101 6191 127 0 0 1372 768 c015d0b7 S ffff 0:03 ftpd: d 100 101 19859 127 0 0 1356 748 c015d0b7 S ffff 0:00 ftpd: 2 100 101 22375 127 0 0 1372 780 c015d0b7 S ffff 0:00 ftpd: 2
saens{root}~/lsof-4.37#grep c015d0 /boot/System.map-2.2.3 c015d008 T inet_dgram_connect c015d060 t inet_wait_for_connect
strace -p 22375 connect(7, {sin_family=AF_INET, sin_port=htons(1101), sin_addr=inet_addr("203.247.41.149")}, 16 <unfinished ...>
Your patch does seem to have helped things (or conditions have changed..) I get them less frequently but they still appear.
Thanks, Jason
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |