Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

dj44 wrote:

Here the same problem.
server cpu to 100%, even when I just get the server list.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
dj44

Here the same problem.
server cpu to 100%, even when I just get the server list.
AYss

I have similar problem. Although the memory seems to be handled OK, the CPU usage is 100% (on one core). This happens only while a file is being transferred. When download/upload ends, memory is released and CPU usage goes back to normal.

The system is Windows XP build 5.1.2600 (w/ SP3) fully patched.
The machine is Intel Xeon 3040 based Dell, @1.86GHz (2x CPUs) with 2GBs RAM

Below is transfer data:

Session protocol = SSH-2
SSH implementation = OpenSSH_5.1
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP-3
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = No
Can create symlink/hardlink = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server supports these SFTP extensions:
posix-rename@openssh.com="1"

Regards,
AYss
antifumo

Re: memory leaks and heavy CPU usage

The memory is not released after the transfer. However, after trying to transfer the exact same file from the same server on another computer and seeing that there was no memory leak, I did some tests and finally found that in my configuration the logging was enabled on debug level 2 (I don't remember why I should have enabled this, maybe debugging something)... disabling this solved the problem. So, sorry for the bogus bug report ;-)
martin

Re: memory leaks and heavy CPU usage

I haven't seen this problem with SFTP. Is the memory released once the transfer finishes? Or do you need to close WinSCP?
antifumo

memory leaks and heavy CPU usage

There seems to be a memory leak in WinSCP: when downloading large files from a server, the memory usage constantly increases in task manager (the same happens when downloading several medium sized files; perhaps also with small ones but difficult to detect in this case). From a memory usage under 20 MB in normal conditions (connected to server), the memory usage increases to several hundreds of MB, about 6 times the size of the transferred files during my tests. Also, the CPU is heavily used (around 100%). I tried with several servers, but they all run the same OpenSSH server software. Is this a bug, or something wrong with my configuration?

WinSCP versions tried: 4.1.9 (build 416) and 4.2.3 (build 494).
Session protocol = SSH-2
SSH implementation = OpenSSH_4.7p1 Debian-8ubuntu1.2
Encryption algorithm = aes
Compression = No (does the same with Yes)
File transfer protocol = SFTP-3

Used GUI, Commander mode.
OS: Windows XP, SP3