(ESshFatal) Out of memory. All channels closed

Advertisement

Dorent
Joined:
Posts:
1
Location:
Russian Federation, Vladimir

(ESshFatal) Out of memory. All channels closed

Hello!
We use automatic file transfer to a remote SFTP server using WinSCP 5.17.2 and a bat file.
Transfer occurs at night and large files (from 200 megabytes to 25 gigabytes).

Often we see error Out of memory and session closure:
* 2020-03-15 01: 59: 24.988 (ESshFatal) Out of memory
> 2020-03-15 01: 59: 24.988 Type: SSH_FXP_CLOSE, Size: 25, Number: 194979844
<2020-03-15 01: 59: 25.081 Type: SSH_FXP_STATUS, Size: 24, Number: 194979844
<2020-03-15 01: 59: 25.081 Status code: 0
. 2020-03-15 01: 59: 25.097 Closing connection.
. 2020-03-15 01: 59: 25.097 Sending special code: 1
. 2020-03-15 01: 59: 25.191 Session sent command exit status 0
. 2020-03-15 01: 59: 25.191 Main session channel closed
. 2020-03-15 01: 59: 25.191 All channels closed

The full log and bat file were attached in private mode.
  • backup511_hetzner.cmd (1.45 KB, Private file)
  • sftp_winscp.log (3.32 MB, Private file)

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,602
Location:
Prague, Czechia

Re: (ESshFatal) Out of memory. All channels closed

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

74gee
Joined:
Posts:
2
Location:
Philippines

Same problem occurring here with multiple servers.

This is occurring on 4 servers in multiple geographic locations.
Running WinSCP 5.19 on Windows 10.0.19042.928

Any help very much appreciated,

6th line from the end of the log.
. 2021-06-20 01:34:46.928 Server offered these authentication methods: publickey
. 2021-06-20 01:34:46.928 Offered public key
. 2021-06-20 01:34:47.206 Detected network event
. 2021-06-20 01:34:47.206 Enumerating network events for socket 2960
. 2021-06-20 01:34:47.206 Enumerated 1 network events making 1 cumulative events for socket 2960
. 2021-06-20 01:34:47.206 Handling network read event on socket 2960 with error 0
. 2021-06-20 01:34:47.206 Waiting for the server to continue with the initialization
. 2021-06-20 01:34:47.206 Looking for incoming data
. 2021-06-20 01:34:47.206 Looking for network events
. 2021-06-20 01:34:47.206 Offer of public key accepted
! 2021-06-20 01:34:47.206 Authenticating with public key "xxxxxxx"
. 2021-06-20 01:34:50.084 Attempt to close connection due to fatal exception:
* 2021-06-20 01:34:50.084 Authentication log (see session log for details):
* 2021-06-20 01:34:50.084 Using username "root".
* 2021-06-20 01:34:50.084 Authenticating with public key "xxxxxxx".
* 2021-06-20 01:34:50.084 (ESshFatal) Out of memory
. 2021-06-20 01:34:50.084 Closing connection.
. 2021-06-20 01:34:50.085 Selecting events 0 for socket 2960
* 2021-06-20 01:34:50.132 (EFatal) Out of memory
* 2021-06-20 01:34:50.132 Authentication log (see session log for details):
* 2021-06-20 01:34:50.133 Using username "root".
* 2021-06-20 01:34:50.133 Authenticating with public key "xxxxxxx".
* 2021-06-20 01:34:50.133 
* 2021-06-20 01:34:50.133 Authentication failed. 

Reply with quote

goldfingeroo7
Joined:
Posts:
1

Having this same issue.

WinSCP 5.19 (Build 11512)
Windows 10 Pro 21H1
OS Build 19043.1055
! 2021-06-21 11:07:31.481 Authenticating with public key ""
. 2021-06-21 11:07:33.034 Attempt to close connection due to fatal exception:
* 2021-06-21 11:07:33.034 Authentication log (see session log for details):
* 2021-06-21 11:07:33.034 Authorized uses only. All activity may be monitored and reported.
* 2021-06-21 11:07:33.034 Authenticating with public key "".
* 2021-06-21 11:07:33.034 (ESshFatal) Out of memory
. 2021-06-21 11:07:33.034 Closing connection.
. 2021-06-21 11:07:33.034 Selecting events 0 for socket 2488
* 2021-06-21 11:07:33.087 (EFatal) Out of memory
* 2021-06-21 11:07:33.087 Authentication log (see session log for details):
* 2021-06-21 11:07:33.087 Authorized uses only. All activity may be monitored and reported.
* 2021-06-21 11:07:33.087 Authenticating with public key "".
* 2021-06-21 11:07:33.087 
* 2021-06-21 11:07:33.087 Authentication failed. 

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Same problem occurring here with multiple servers.

Thanks for your reports.
I have sent you an email with a debug version of WinSCP to both of you.

Reply with quote

Advertisement

You can post new topics in this forum