niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » networking
Process has Problems connecting to remote server
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Tom D
*nix forums Guru


Joined: 28 Feb 2005
Posts: 377

PostPosted: Fri Feb 04, 2005 12:36 pm    Post subject: Process has Problems connecting to remote server Reply with quote

I have a process that goes out to a server and does a software update.
Originally it took 60 - 80 seconds to accomplish. It now takes 500 -
1000 seconds to do the same function. Several other box's that do this
same script have not seen this increase. The script will sit at this
function for long periods of time;

Connecting to www.uabc.edu[1xx.xxx.1xx.182]:80...

Then it finally gets the;

Connecting to www.uabc.edu[1xx.xxx.1xx.182]:80... connected.
HTTP request sent, awaiting response... 200 OK


I noticed that the tw value is high on this box as seen in the
/proc/net/sockstat file [tw=65 when the script is sitting waiting to
connect]. A tcpdump of the transaction is full of;

12:41:13.984998 monitor.uabc.edu.33690 > 1xx.xxx.1xx.182.http: . ack 995
win 6958 <nop,nop,timestamp 1503190 884584174> (DF)

Can someone tell me what is happening during this connect? And where to
look next? I should add that once it makes this connect it flys through
the data xfer until it hits the next connect where it sits once again
Back to top
Tom D
*nix forums Guru


Joined: 28 Feb 2005
Posts: 377

PostPosted: Mon Feb 07, 2005 6:27 pm    Post subject: Re: Process has Problems connecting to remote server Reply with quote

whoha wrote:
Quote:
I have a process that goes out to a server and does a software update.
Originally it took 60 - 80 seconds to accomplish. It now takes 500 -
1000 seconds to do the same function. Several other box's that do this
same script have not seen this increase. The script will sit at this
function for long periods of time;

Connecting to www.uabc.edu[1xx.xxx.1xx.182]:80...

Then it finally gets the;

Connecting to www.uabc.edu[1xx.xxx.1xx.182]:80... connected.
HTTP request sent, awaiting response... 200 OK


I noticed that the tw value is high on this box as seen in the
/proc/net/sockstat file [tw=65 when the script is sitting waiting to
connect]. A tcpdump of the transaction is full of;

12:41:13.984998 monitor.uabc.edu.33690 > 1xx.xxx.1xx.182.http: . ack 995
win 6958 <nop,nop,timestamp 1503190 884584174> (DF)

Can someone tell me what is happening during this connect? And where to
look next? I should add that once it makes this connect it flys through
the data xfer until it hits the next connect where it sits once again

Ok I'v tried the following items;


moved server ip/name to hosts file looked at resolv.conf and host.conf
both are correct - no change not a DNS problem

removed iptables checked with iptables -L to make sure table is unloaded
- no change

changed mtu to a smaller value [1472] - no change [ this one came from a
listing in google groups]

moved the nic to a different module and port in the switch - no change

used a different nic - no change

checked the port for errors - no errors

checked netstat -a - unsure of output, looks ok to me

Can someone give me some ideas what to try next? I have checked packages
to see if we have the latest .
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 9:23 am | All times are GMT
navigation Forum index » *nix » Linux » networking
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts NFS server on Solaris 10 gurgle Solaris 0 Tue Sep 04, 2007 7:05 pm
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am

Loans | Online College Degrees | Auto Loan | Bankruptcy | Webhosting catalogue
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1859s ][ Queries: 16 (0.1158s) ][ GZIP on - Debug on ]