esperamos que alguém possa lançar alguma luz sobre isso. Atualmente, temos um serviço Pure-ftpd instalado em um servidor RHEL6.5 que aceita conexão de um cliente que baixa os arquivos em até X horas.
Então, em dias aleatórios, aproximadamente por volta das 04:00 da manhã, eles soltariam 2x arquivos ao mesmo tempo, onde um seria armazenado corretamente, mas o outro teria apenas 0 bytes de tamanho, indicando uma falha no arquivo. processo de upload. (note que os clientes descartam arquivos ao longo do dia exatamente da mesma forma sem problemas)
Aqui estão alguns arquivos de log do pure-ftpd para esse período:
Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [INFO] New connection from xxx.xxx.xxx.xxx Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] 220 This is a private system - No anonymous login Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [auth] [TLS] Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] 234 AUTH TLS OK. Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with RC4-SHA, 128 secret bits cipher Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [pbsz] [0] Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] 200 PBSZ=0 Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [prot] [P] Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] 200 Data protection level set to "private" Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [user] [Client_Login] Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] 331 User Client_Login OK. Password required Jun 26 04:10:45 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [pass] [] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [INFO] Client_Login is now logged in Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 230 OK. Current restricted directory is / Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [cwd] [/Incoming] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 250 OK. Current directory is /Incoming Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [pasv] [] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 227 Entering Passive Mode (123,123,123,123,60,245) Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [type] [I] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 200 TYPE is now 8-bit binary Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [stor] [SOME_FILE_1.psv] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 150 Accepted data connection Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [INFO] Logout. Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [INFO] New connection from xxx.xxx.xxx.xxx Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 220 This is a private system - No anonymous login Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [auth] [TLS] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 234 AUTH TLS OK. Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with RC4-SHA, 128 secret bits cipher Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [pbsz] [0] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 200 PBSZ=0 Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [prot] [P] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 200 Data protection level set to "private" Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [user] [Client_Login] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 331 User Client_Login OK. Password required Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [pass] [] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [INFO] Client_Login is now logged in Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 230 OK. Current restricted directory is / Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [cwd] [/Incoming] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 250 OK. Current directory is /Incoming Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [pasv] [] Jun 26 04:10:46 server-name.com pure-ftpd: ([email protected]) [DEBUG] 227 Entering Passive Mode (123,123,123,123,60,245) Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [type] [I] Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] 200 TYPE is now 8-bit binary Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [stor] [SOME_FILE_2.psv] Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] 150 Accepted data connection Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with RC4-SHA, 128 secret bits cipher Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [NOTICE] /home/clients/ftps/Client_Dir//Incoming/SOME_FILE_2.psv uploaded (504 bytes, 82.11KB/sec) Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] 226-File successfully transferred Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] 226 0.006 seconds (measured here), 82.11 Kbytes per second Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] Command [quit] [] Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [INFO] Logout. Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] 221-Goodbye. You uploaded 1 and downloaded 0 kbytes. Jun 26 04:10:47 server-name.com pure-ftpd: ([email protected]) [DEBUG] 221 Logout.
E, em seguida, você notará que a conexão cai e o cliente precisará fazer o upload novamente do arquivo, o que é bem-sucedido. Note que isso só acontece duas vezes por semana, mas ainda é um grande problema, pois todos esses sistemas são automatizados. Testamos que não temos nenhum problema de rede a qualquer momento que isso realmente aconteça.
Algum conselho será realmente apreciado em uma correção ou outras investigações?