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%
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%