AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Problem with FTP

    Posted Fri February 08, 2013 10:35 AM

    Originally posted by: SystemAdmin


    Hello,

    Here the problem, I have a currently a performance problem with FTP. Let say two servers, let say server1 and server2. I've created 10 000 files of 0k on both servers. From server1 I connect via FTP (ftp -i server2) to server2. By using mget, I'm able to download all files without problem. Now from server2 I connect to server1 via FTP (ftp -i server1) and I do an mget of all files. In that case, I'm able to download all the files but the transfer speed is quite erratic. It downloads a bunch of files, stop, continue. It takes like 5-10 times to download the files than the first case. Sometime error appears (not always the same):

    00 PORT command successful.
    150 Opening data connection for multiplefiles/text{1219}.txt (0 bytes).
    226 Transfer complete.
    200 PORT command successful.
    150 Opening data connection for multiplefiles/text{121}.txt (0 bytes).
    226 Transfer complete.
    200 PORT command successful.
    150 Opening data connection for multiplefiles/text{1220}.txt (0 bytes).
    226 Transfer complete.
    200 PORT command successful.
    425 Can't build data connection: Invalid argument
    200 PORT command successful.
    150 Opening data connection for multiplefiles/text{1222}.txt (0 bytes).
    226 Transfer complete.
    200 PORT command successful.
    150 Opening data connection for multiplefiles/text{1223}.txt (0 bytes).

    If I do an FTP connection from server2 to server2 and I transfer the 10 000 files, I see the same problem. If I do the transfer via SCP, no problem appear in all cases.
    If I transfer 5GB of data via FTP from any server to any, there's no problem. The transfer rate is good.

    Do you have an idea what could cause this problem?

    If it can give an hint, in term of transfer time, it seems that I have the same issue with my DB2 connection.

    Thanks for your help.
    #AIX-Forum


  • 2.  Re: Problem with FTP

    Posted Thu February 14, 2013 05:15 AM

    Originally posted by: nagger


    OK so this is probably nothing to do with FTP at all.
    It is your network that is having problems.

    I would look in to your error rates on the network.
    Go check you have the right standards in the cables - like CAT5 and not grabbing the nearest old rubbish cable.
    Then look at your routes and traceroute output.
    Try to work out how hard the network is being run perhaps it is saturated over some links.
    You are running a 10 Gbit backbone - right?
    It sounds like weak links in particular directions.
    Is everything set to the consistent standard = no auto-negotiating poor settings
    It could be duplicate IS addresses!

    best of luck, Nigel Griffiths
    #AIX-Forum