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

Re: Server memory is at 95% with FTP batch files ?

So did you check what particular process(es) does consume the memory? If it is indeed a WinSCP process, can you post a session log file of that specific process?
Guest

Server memory is at 95% with FTP batch files ?

Hi, we are having an issue were sometimes our
server gets very slow and the memory goes up to 95%
I'm not sure it's related to our FTP batch files.
I paste a sample of our batch files.
We have around 30 script that runs every 15 minutes.
And when this problem happen I see about 10 tasks that shows Running
in the Windows Task Scheduler. The server is a Windows Server 2008 R2
64 bit with 8 gig of ram.
I paste a sample of our script.
Thanks.
Francois.

@echo off

"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\Ftptest\test\logs\testRec.log" /ini=nul ^
/command ^
"open sftp://999995@ftp.test.io/ -hostkey=""ssh-999999999999999999999=""" ^
"lcd ""C:/Ftptest/testfolder/Inbox/""" ^
"get -delete ""out/*""" ^
"exit"

set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)

exit /b %WINSCP_RESULT%