O problema é que as câmeras fazem muitas requisições por segundo no servidor FTP.
Elas se conectam, enviam comandos como ALLO, e desconectam. Isto causa um Load elevado no servidor linux.
E como estamos em expansão, crescendo o numero de câmeras, provavelmente vai chegar um momento onde esse load vai travar o servidor.
Existe uma maneira de editar a configuração avançada do FTP da câmera?
Abaixo um exemplo de apenas uma camera fazendo vários comando por segundo no servidor.
A partir de 17:10:18 ele entra em um looping, conectando, enviando um CWD, após um ALLO e fica nisso eternamente.
Código: Selecionar todos
17:10:14 2022 FTP command: Client "X.X.X.X", "USER cameras"
17:10:14 2022 FTP response: Client "X.X.X.X", "331 Please specify the password."
17:10:14 2022 FTP command: Client "::ffff:205.210.31.159", "AUTH TLS"
17:10:14 2022 FTP response: Client "::ffff:205.210.31.159", "530 Please login with USER and PASS."
17:10:14 2022 FTP command: Client "X.X.X.X", "PASS <password>"
17:10:14 2022 OK LOGIN: Client "X.X.X.X"
17:10:14 2022 FTP response: Client "X.X.X.X", "230 Login successful."
17:10:14 2022 FTP command: Client "X.X.X.X", "PWD"
17:10:14 2022 FTP response: Client "X.X.X.X", "257 "/" is the current directory"
17:10:14 2022 FTP command: Client "X.X.X.X", "TYPE I"
17:10:14 2022 FTP response: Client "X.X.X.X", "200 Switching to Binary mode."
17:10:15 2022 FTP command: Client "X.X.X.X", "CWD /"
17:10:15 2022 FTP response: Client "X.X.X.X", "250 Directory successfully changed."
17:10:15 2022 FTP command: Client "X.X.X.X", "CWD /fotos/sdli1"
17:10:15 2022 FTP response: Client "X.X.X.X", "250 Directory successfully changed."
17:10:15 2022 FTP command: Client "X.X.X.X", "PWD"
17:10:15 2022 FTP response: Client "X.X.X.X", "257 "/" is the current directory"
17:10:15 2022 FTP command: Client "X.X.X.X", "CWD /"
17:10:15 2022 FTP response: Client "X.X.X.X", "250 Directory successfully changed."
17:10:16 2022 FTP command: Client "X.X.X.X", "SIZE /fotos/sdli1/DVRWorkDirectory"
17:10:16 2022 FTP response: Client "X.X.X.X", "213 4016"
17:10:16 2022 FTP command: Client "X.X.X.X", "CWD /"
17:10:16 2022 FTP response: Client "X.X.X.X", "250 Directory successfully changed."
17:10:16 2022 FTP command: Client "X.X.X.X", "SIZE DVRWorkDirectory"
17:10:16 2022 FTP response: Client "X.X.X.X", "213 4016"
17:10:16 2022 FTP command: Client "X.X.X.X", "TYPE I"
17:10:16 2022 FTP response: Client "X.X.X.X", "200 Switching to Binary mode."
17:10:17 2022 FTP command: Client "X.X.X.X", "PASV"
17:10:17 2022 FTP response: Client "X.X.X.X", "227 Entering Passive Mode (45,79,105,16,30,104)."
17:10:17 2022 FTP command: Client "X.X.X.X", "REST 0"
17:10:17 2022 FTP response: Client "X.X.X.X", "350 Restart position accepted (0)."
17:10:17 2022 FTP command: Client "X.X.X.X", "RETR DVRWorkDirectory"
17:10:17 2022 FTP response: Client "X.X.X.X", "150 Opening BINARY mode data connection for DVRWorkDirectory (4016 bytes)."
Tue Apr 26 17:10:18 2022 [cameras] OK DOWNLOAD: Client "X.X.X.X", "/fotos/sdli1/DVRWorkDirectory", 4016 bytes, 13.57Kbyte/sec
17:10:18 2022 FTP response: Client "X.X.X.X", "226 Transfer complete."
17:10:18 2022 FTP command: Client "X.X.X.X", "QUIT"
17:10:18 2022 FTP response: Client "X.X.X.X", "221 Goodbye."
17:10:18 2022 FTP command: Client "X.X.X.X", "CWD /"
17:10:18 2022 FTP response: Client "X.X.X.X", "250 Directory successfully changed."
17:10:18 2022 FTP command: Client "X.X.X.X", "ALLO 1048576"
17:10:18 2022 FTP response: Client "X.X.X.X", "202 ALLO command ignored."
17:10:19 2022 FTP command: Client "X.X.X.X", "CWD /"
17:10:19 2022 FTP response: Client "X.X.X.X", "250 Directory successfully changed."
17:10:19 2022 FTP command: Client "X.X.X.X", "ALLO 1048576"
17:10:19 2022 FTP response: Client "X.X.X.X", "202 ALLO command ignored."