HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [FTP 425] Can't build data connection: Socket is a...
Operating System - HP-UX
1827817
Members
1622
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 08:46 AM
09-10-2003 08:46 AM
[FTP 425] Can't build data connection: Socket is already connected
Hi,
We have a production environment with HP-UX 11i over HP Superdome. We run BEA Weblogic 5.1, and the Java application code from inside connects to external FTP sources to upload files. The FTP I/O is quite continuous.
Intermittently, during retrieval of new FTP connections to the external FTP server placed in the same network zone, we encounter "Socket is already connected". The target FTP service is also hosted over HP-UX.
The observation is something like this: There's a pool of FTP connections that is initialized by a FTP Java library at the application server startup. When all the connections are in use, based on the maxCapacity configuration, the Java library tries to acquire more connections. It is in this expansion phase that we have this problem in random.
There are no firewalls between the production server and the FTP server. The problem appears for 20% of the expansion requests, rest of the attempts succeed normally in acquiring new connections and releasing them when done.
Any suggestions?
TIA
Murali
We have a production environment with HP-UX 11i over HP Superdome. We run BEA Weblogic 5.1, and the Java application code from inside connects to external FTP sources to upload files. The FTP I/O is quite continuous.
Intermittently, during retrieval of new FTP connections to the external FTP server placed in the same network zone, we encounter "Socket is already connected". The target FTP service is also hosted over HP-UX.
The observation is something like this: There's a pool of FTP connections that is initialized by a FTP Java library at the application server startup. When all the connections are in use, based on the maxCapacity configuration, the Java library tries to acquire more connections. It is in this expansion phase that we have this problem in random.
There are no firewalls between the production server and the FTP server. The problem appears for 20% of the expansion requests, rest of the attempts succeed normally in acquiring new connections and releasing them when done.
Any suggestions?
TIA
Murali
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 08:50 AM
09-10-2003 08:50 AM
Re: [FTP 425] Can't build data connection: Socket is already connected
You might want to monitor peformance on the ftp box.
Attaching a script that collects data. If there are bottlenecks, you may need some kernel changes.
This doc might help, but if you are running a superdome, you probably know this stuff.
http://www2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-1335382922+1063212567910+28353475&searchCrit=allwords
The script is quite handy though.
SEP
Attaching a script that collects data. If there are bottlenecks, you may need some kernel changes.
This doc might help, but if you are running a superdome, you probably know this stuff.
http://www2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-1335382922+1063212567910+28353475&searchCrit=allwords
The script is quite handy though.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 08:59 AM
09-10-2003 08:59 AM
Re: [FTP 425] Can't build data connection: Socket is already connected
Steve,
Blazing fast reply, Thanks.
The Search you mentioned didn't fetch any results....Can you give me a URL to this script directly?
Also, I'm new to HP-UX....I understand that a FTP 425 with 'Connection Refused' could be thrown in a FTP session because of firewall restrictions, but what exactly is the scenario behind 'Socket is already connected'? Seems like a bug with reusing socket connections....Any idea where I can understand this better?
Many thanks and regards
Murali
Blazing fast reply, Thanks.
The Search you mentioned didn't fetch any results....Can you give me a URL to this script directly?
Also, I'm new to HP-UX....I understand that a FTP 425 with 'Connection Refused' could be thrown in a FTP session because of firewall restrictions, but what exactly is the scenario behind 'Socket is already connected'? Seems like a bug with reusing socket connections....Any idea where I can understand this better?
Many thanks and regards
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 09:11 AM
09-10-2003 09:11 AM
Re: [FTP 425] Can't build data connection: Socket is already connected
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP