Another guess: investigate what the startup command line options are for
java on the system in question.
Is the max heap size limited with an -Xmx option? Or is there a -d32 being
passed in?



On Mon, Oct 10, 2016 at 8:26 AM, Vikas Verma <vvick...@hotmail.com> wrote:

> I was able to reproduce this in our local environment. We were able to
> setup ProFTPD SFTP server with default settings. After transferring about
> 2GB of data (using jsch) the transfer stops. I am attaching the ProFTPD
> logs for reference. Please help.
>
>
> Thanks,
>
> Vikas.
> ------------------------------
> *From:* Vikas Verma <vvick...@hotmail.com>
> *Sent:* Wednesday, October 5, 2016 11:40:47 AM
> *To:* Alan Ezust
>
> *Cc:* jsch-users@lists.sourceforge.net
> *Subject:* Re: [JSch-users] SFTP of large file hangs
>
>
> @Alan --> Yes its running 64 bit.
>
> @Lothar --> The problem is just between Proftpd and JSCH. I am able to
> transfer huge files (> 4gb) to other SFTP servers from JSCH. And Proftpd
> works fine with other ssh clients (like the one that comes with linux). I
> am not sure sure about their (Partner that hosts sftp server) logging. I
> can reach out and ask. But their support isnt that great.
>
>
> Thanks,
>
> Vikas.
> ------------------------------
> *From:* Alan Ezust <alan.ez...@gmail.com>
> *Sent:* Wednesday, October 5, 2016 11:00:44 AM
> *To:* Vikas Verma
> *Cc:* jsch-users@lists.sourceforge.net
> *Subject:* Re: [JSch-users] SFTP of large file hangs
>
> Just wondering, is the client running jsch also running a 64 bit version
> of Java?
>
>
> On Mon, Oct 3, 2016 at 12:19 PM, Vikas Verma <vvick...@hotmail.com> wrote:
>
>> Can anyone please help? The SFTP server is proftpd. This looks like an
>> old Rekeying problem between Proftpd and Jsch. I have tried JSCH version
>> 50/51 and 54 with no luck.
>>
>>
>> Thanks,
>>
>> Vikas.
>> ------------------------------
>> *From:* Vikas Verma <vvick...@hotmail.com>
>> *Sent:* Wednesday, September 14, 2016 11:43:16 AM
>> *To:* jsch-users@lists.sourceforge.net
>> *Subject:* SFTP of large file hangs
>>
>>
>> We are having a strange issue with one of our clients (Client hosts the
>> SFTP server. We are the client using JSCH). When we SFTP a large file to
>> their SFTP server the file stops getting uploaded after exactly
>> 2143990632 bytes. The JSCH connection just starts over at that point. I
>> am including the logs. Has anyone seen this behavior before? I can use any
>> other SFTP client with that server and they work.
>>
>> In the logs you will see that after my custom log prints (3 and 4) it
>> starts putting the file. After sending 2143990632 bytes it kind of
>> starts over and the highlighted log shows up. The file at that point does
>> not "grow" in size on the server side.
>>
>> Help truly appreciated !!
>>
>> Thanks,
>> Vikas.
>>
>>
>> INFO: Connecting to xxx.xxx.xxx.xx port 22
>> INFO: Connection established
>> INFO: Remote version string: SSH-2.0-mod_sftp/0.9.7
>> INFO: Local version string: SSH-2.0-JSCH-0.1.53
>> INFO: CheckCiphers: aes256-ctr,aes192-ctr,aes128-c
>> tr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour
>> 128,arcfour256
>> INFO: aes256-ctr is not available.
>> INFO: aes192-ctr is not available.
>> INFO: aes256-cbc is not available.
>> INFO: aes192-cbc is not available.
>> INFO: CheckKexes: diffie-hellman-group14-sha1,ec
>> dh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
>> INFO: CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2
>> -nistp384,ecdsa-sha2-nistp521
>> INFO: SSH_MSG_KEXINIT sent
>> INFO: SSH_MSG_KEXINIT received
>> INFO: kex: server: diffie-hellman-group-exchange-
>> sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-gro
>> up14-sha1,diffie-hellman-group1-sha1,rsa1024-sha1
>> INFO: kex: server: ssh-rsa,ssh-dss
>> INFO: kex: server: aes256-ctr,aes192-ctr,aes128-c
>> tr,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128-cbc,arcfour2
>> 56,arcfour128,3des-ctr,3des-cbc
>> INFO: kex: server: aes256-ctr,aes192-ctr,aes128-c
>> tr,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128-cbc,arcfour2
>> 56,arcfour128,3des-ctr,3des-cbc
>> INFO: kex: server: hmac-sha1,hmac-sha1-96,hmac-md
>> 5,hmac-md5-96,hmac-ripemd160
>> INFO: kex: server: hmac-sha1,hmac-sha1-96,hmac-md
>> 5,hmac-md5-96,hmac-ripemd160
>> INFO: kex: server: z...@openssh.com,zlib,none
>> INFO: kex: server: z...@openssh.com,zlib,none
>> INFO: kex: server:
>> INFO: kex: server:
>> INFO: kex: client: ecdh-sha2-nistp256,ecdh-sha2-n
>> istp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffi
>> e-hellman-group-exchange-sha256,diffie-hellman-group-exchang
>> e-sha1,diffie-hellman-group1-sha1
>> INFO: kex: client: ssh-rsa,ssh-dss,ecdsa-sha2-nis
>> tp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
>> INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
>> INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
>> INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-2
>> 56,hmac-sha1-96,hmac-md5-96
>> INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-2
>> 56,hmac-sha1-96,hmac-md5-96
>> INFO: kex: client: none
>> INFO: kex: client: none
>> INFO: kex: client:
>> INFO: kex: client:
>> INFO: kex: server->client aes128-ctr hmac-md5 none
>> INFO: kex: client->server aes128-ctr hmac-md5 none
>> INFO: SSH_MSG_KEXDH_INIT sent
>> INFO: expecting SSH_MSG_KEXDH_REPLY
>> INFO: ssh_rsa_verify: signature true
>> WARN: Permanently added 'xxx.xxx.xxx.xx' (RSA) to the list of known hosts.
>> INFO: SSH_MSG_NEWKEYS sent
>> INFO: SSH_MSG_NEWKEYS received
>> INFO: SSH_MSG_SERVICE_REQUEST sent
>> INFO: SSH_MSG_SERVICE_ACCEPT received
>> INFO: Authentications that can continue: publickey,keyboard-interactive
>> ,password
>> INFO: Next authentication method: publickey
>> INFO: Authentications that can continue: password
>> INFO: Next authentication method: password
>> INFO: Authentication succeeded (password).
>> -----------------------------------3
>> -----------------------------------4
>> INFO: CheckCiphers: aes256-ctr,aes192-ctr,aes128-c
>> tr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour
>> 128,arcfour256
>> INFO: aes256-ctr is not available.
>> INFO: aes192-ctr is not available.
>> INFO: aes256-cbc is not available.
>> INFO: aes192-cbc is not available.
>> INFO: CheckKexes: diffie-hellman-group14-sha1,ec
>> dh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
>> INFO: CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2
>> -nistp384,ecdsa-sha2-nistp521
>> INFO: SSH_MSG_KEXINIT sent
>> INFO: kex: server: diffie-hellman-group-exchange-
>> sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-gro
>> up14-sha1,diffie-hellman-group1-sha1,rsa1024-sha1
>> INFO: kex: server: ssh-rsa,ssh-dss
>> INFO: kex: server: aes256-ctr,aes192-ctr,aes128-c
>> tr,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128-cbc,arcfour2
>> 56,arcfour128,3des-ctr,3des-cbc
>> INFO: kex: server: aes256-ctr,aes192-ctr,aes128-c
>> tr,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128-cbc,arcfour2
>> 56,arcfour128,3des-ctr,3des-cbc
>> INFO: kex: server: hmac-sha1,hmac-sha1-96,hmac-md
>> 5,hmac-md5-96,hmac-ripemd160
>> INFO: kex: server: hmac-sha1,hmac-sha1-96,hmac-md
>> 5,hmac-md5-96,hmac-ripemd160
>> INFO: kex: server: z...@openssh.com,zlib,none
>> INFO: kex: server: z...@openssh.com,zlib,none
>> INFO: kex: server:
>> INFO: kex: server:
>> INFO: kex: client: ecdh-sha2-nistp256,ecdh-sha2-n
>> istp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffi
>> e-hellman-group-exchange-sha256,diffie-hellman-group-exchang
>> e-sha1,diffie-hellman-group1-sha1
>> INFO: kex: client: ssh-rsa,ssh-dss,ecdsa-sha2-nis
>> tp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
>> INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
>> INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
>> INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-2
>> 56,hmac-sha1-96,hmac-md5-96
>> INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-2
>> 56,hmac-sha1-96,hmac-md5-96
>> INFO: kex: client: none
>> INFO: kex: client: none
>> INFO: kex: client:
>> INFO: kex: client:
>> INFO: kex: server->client aes128-ctr hmac-md5 none
>> INFO: kex: client->server aes128-ctr hmac-md5 none
>> INFO: SSH_MSG_KEXDH_INIT sent
>> INFO: expecting SSH_MSG_KEXDH_REPLY
>> INFO: ssh_rsa_verify: signature true
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> JSch-users mailing list
>> JSch-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jsch-users
>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to