Go Back   The UNIX and Linux Forums > Operating Systems > AIX
Search Forums:



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-08-2012
Registered User
 

Join Date: Aug 2007
Location: Australia
Posts: 127
Thanks: 1
Thanked 0 Times in 0 Posts
Limitation for SFTP on AIX number of sessions

Hello.
I am using AIX 6 and If wish to receive more than 500 files via SFTP, I get some time out errors. Could you please advise where is the limit for number of concurrent transfers setup in AIX Box or what is the limit and can that be changed?

Many Thanks
Sponsored Links
    #2  
Old 02-09-2012
Registered User
 

Join Date: Jul 2007
Posts: 258
Thanks: 17
Thanked 17 Times in 16 Posts
How many concurrent connections are you trying to establish to your AIX box? 500 all at one time? When you see the timeout errors, do you think it is because of an actual duration of time is being exceeded, your sshd is kicking you off, could it be a connection issue from the client side, or your sshd just isn't accepting enough connections? I'm pretty sure the sshd on AIX will not accept a large number of simultaneous connections at one time in an effort to protect itself from a DOS attack. It was previously discussed here:
http://www.unix.com/unix-advanced-ex...-per-sshd.html
Sponsored Links
    #3  
Old 02-09-2012
Registered User
 

Join Date: Aug 2007
Location: Australia
Posts: 127
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks for your reply. Yes 500 or may be more at a time. I want to know how many concurrent transfers can I kick off at single point of time? Yes, some of my transfer failed and its difficult to know which number of session made this trouble. Is there any way to find out the limitation or can I assume there is no limitation?
    #4  
Old 02-09-2012
zxmaus's Avatar
zxmaus zxmaus is offline Forum Staff  
Event Manager
 

Join Date: May 2008
Location: in a putty session :)
Posts: 788
Thanks: 19
Thanked 61 Times in 56 Posts
are your 500 files coming from 1 source or 500 ?

You can sftp with wildcards like
Code:
sftp mybox:/dumps/*dump* me@yourbox:/some/destinationdirectory/

and the likelyhood that this job will finish without issues is a lot higher than trying to transfer each file in its very own sftp process. You will overwhelm the recieve buffer who has to put the tcp ip pieces recieved together at the destination and as a result it will just reject anything it cannot handle.
4 sftp streams with 125 files each will be a lot more effective than 500 streams with one file each.
Regards
zxmaus
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with SFTP and Number of lines reconcillation pinnacle Shell Programming and Scripting 1 03-09-2011 11:20 PM
Max Number of remote X sessions ZekesGarage Linux 1 01-22-2010 04:53 PM
Open n number of remote sessions anand.linux1984 Shell Programming and Scripting 1 08-13-2009 08:18 AM
Unix -- Space problem -- File number limitation? shanemcmahon UNIX for Dummies Questions & Answers 2 03-22-2007 10:23 PM
HP-UX 11i - File Size Limitation And Number Of Folders Limitation sundeep_mohanty HP-UX 2 08-01-2005 07:58 PM



All times are GMT -4. The time now is 10:48 PM.