From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Kemp, Tom" Newsgroups: gmane.os.tru64.managers Subject: ftp tuning Date: Fri, 26 Jul 2002 14:47:53 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <39F1E3C77602D3118F4900805FA715CA03E52089@sbkmxsmb03> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1027709335 15647 127.0.0.1 (26 Jul 2002 18:48:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2002 18:48:55 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17YA8z-00044F-00 for ; Fri, 26 Jul 2002 20:48:54 +0200 Original-Received: (qmail 1859 invoked by uid 5); 26 Jul 2002 18:49:09 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 1753 invoked from network); 26 Jul 2002 18:49:08 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 26 Jul 2002 18:49:08 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZV002V2DLVFK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 26 Jul 2002 14:49:08 -0400 (EDT) Original-Received: from gateway.dowjones.com (gateway.dowjones.com [208.144.114.11]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0GZV007IBDLBUO@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 26 Jul 2002 14:48:49 -0400 (EDT) Original-Received: by gateway.dowjones.com; id OAA26653; Fri, 26 Jul 2002 14:48:45 -0400 Original-Received: from sbkmxscon01.mcn.dowjones.com(162.55.46.132) by gateway.gateway.dowjones.com via smap (V4.2) id xma026569; Fri, 26 Jul 2002 14:47:54 -0400 Original-Received: by sbkmxscon01 with Internet Mail Service (5.5.2654.89) id ; Fri, 26 Jul 2002 14:47:51 -0400 Original-To: "'Tru64-Unix-Managers \(E-mail\)'" X-Mailer: Internet Mail Service (5.5.2654.89) Xref: main.gmane.org gmane.os.tru64.managers:1121 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1121 Hello - I'm having a problem where an application on a client machine (see below) ocassionally complains about not being able to open an ftp connection, or pull a file from the server machine (see below), once an ftp connection has been established. Not that I can really toss an application error in to the mix and have it be valid for my question, but the application error refers to "Can't build data connection, Address already in use." *Vmstat shows where the server box is 70% - 90% idle. *Netstat -m shows zero requests for mbufs denied on the server box. *Netstat -A does show quite a few TIME_WAITs on the server coming from my client boxes. *Netstat -i shows no collisions, Ierrs, or Oerrs. *Our network guys assure me all is well with the network. I have to trust them, since I have no way to check behind them. *I have NETrained interfaces, and have failed them back and forth just to make sure nothing was flaky. The interfaces are at running FastFD. The sominconn and somaxconn have been increased to 65535 on the client and server boxes; the boxes have been rebooted to make them active. So, I am pretty sure I'm not running out of sockets. The one thing I was looking at increasing was the ipport_userreserved parameter on the client to give them more ports, based upon what my application is complaining about. My main problem is that I can't figure out if the server is having a problem with handling the connection load, or if the client does not have enough ports to open to connect to the server. There are quite a few ftps happening between the systems. Any tips and hints are welcome! Server ES40 4.0f pk6 4 x 667 processors 4GB of memory utx: Device_Char_Files = utx Device_Char_Major = ANY Device_Dir = /dev/utx Device_Group = 0 Device_Mode = 644 Device_User = root Module_Config_Name = utx Module_Path = /sys/BINARY/utx.mod Module_Type = Static Subsystem_Description = UNIX terminal pseudo-device UTX_Device_Number = 32 generic: insecure-bind = 1 message-buffer-size = 32768 msgbuf_size = 32768 ipc: dflssiz = 8388608 num-of-sems = 200 sem-mni = 200 sem-mns = 1000 sem-msl = 1600 sem-opm = 800 sem-ume = 800 shm-max = 2147483647 shm-min = 1 shm-mni = 1000 shm-seg = 450 ssm-threshold = 0 proc: max-per-proc-data-size = 10737418240 per-proc-data-size = 10737418240 max-per-proc-address-space = 10737418240 per-proc-address-space = 10737418240 per-proc-stack-size = 8388608 max-proc-per-user = 1024 maxusers = 2048 rt: aio-max-num = 8192 aio-max-percent = 5 aio-max-retry = 20 aio-retry-scale = 5 aio-task-mas-num = 4096 sigqueue-max-num = 128 vm: vm-mapentries = 20000 vm-maxvas = 137438953472 vm-vpagemax = 20971520 socket: somaxconn = 65535 sominconn = 65535 Client ES40 4.0f pk6 4 x 667 processors 16GB of memory utx: Device_Char_Files = utx Device_Char_Major = ANY Device_Dir = /dev/utx Device_Group = 0 Device_Mode = 644 Device_User = root Module_Config_Name = utx Module_Path = /sys/BINARY/utx.mod Module_Type = Static Subsystem_Description = UNIX terminal pseudo-device UTX_Device_Number = 32 generic: insecure-bind = 1 message-buffer-size = 32768 msgbuf_size = 32768 ipc: msg-mnb = 65536 msg-tql = 1024 num-of-sems = 500 sem-mni = 1024 shm-max = 2147483647 shm-min = 512 shm-mni = 8192 shm-seg = 8192 vm: ubc-maxpercent = 80 vm-mapentries = 2000 vm-maxvas = 137438953472 vm-maxwire = 137438953472 vm-vpagemax = 20971520 proc: max-per-proc-address-space = 137438953472 max-per-proc-data-size = 17179869184 max-per-proc-stack-size = 33554432 max-proc-per-user = 4096 max-threads-per-user = 16384 maxusers = 4096 per-proc-address-space = 137438953472 per-proc-data-size = 17179869184 per-proc-stack-size = 33554432 task-max = 32768 thread-max = 65534 inet: udp_sendspace = 16384 socket: somaxconn = 65535 sominconn = 65535 Thanks, Thomas Kemp tom.kemp@dowjones.com