Highlighted
Valued Contributor.
Valued Contributor.
516 views

“Connection reset by peer”

Error reported: "IPC Read Error

System error: [238] Connection timed out"

Ipc subsystem reports: "IPC Read Error

System error: [10054] Connection reset by peer"

Ipc subsystem reports: "IPC Read Error

System error: [10053] Software caused connection abort”

 

1) Ativar a opção OB2IPCKEEPALIVE

  1. a) Acrescentar no arquivo .omnirc* dos servidores envolvidos, os parâmetros

OB2IPCKEEPALIVE=1

OB2IPCLINGER=1

OB2INETTIMEOUT=60

*

no HP-UX : /opt/omni/.omnirc

no Solaris : /opt/omni/.omnirc

no Windows C:\Program Files\OmniBack\omnirc

no Windows 2008: C:\PrograData\OmniBack\omnirc

no Linux (5.5x): /usr/omni/.omnirc

no Linux (6.xx): /opt/omni/.omnirc

no AIX: /usr/omni/.omnirc

Caso não exista o arquivo, copiar do template .omnirc.TMPL localizado nos

mesmos diretórios.

  1. b) Ativar o TCPKEEPALIVE no sistema operacional:

No HP-UX: executar o comando:

ndd -set /dev/tcp tcp_keepalive_interval 900000

Para tornar a alteração permanente, editar o arquivo /etc/rc.config.d/nddconf

e incluir as linhas:

TRANSPORT_NAME[0]=tcp

NDD_NAME[0]=tcp_keepalive_interval

NDD_VALUE[0]=900000

No Solaris: executar o comando:

ndd -set /dev/tcp tcp_keepalive_interval 900000

Para tornar a alteração permanente, incluir a linha acima em um script de

startup a ser salvo no diretório /etc/init.d

No Linux: executar o seguinte comando:

echo 600 >/proc/sys/net/ipv4/tcp_keepalive_time

echo 60 > /proc/sys/net/ipv4/tcp_keepalive_intvl

Para tornar a alteração permanente, editar o arquivo /etc/sysctl.conf e incluir

as linhas:

net.ipv4.tcp_keepalive_time=600

net.ipv4.tcp_keepalive_intvl=60

No AIX: executar os seguintes comandos:

no -o tcp_keepidle=480

no -o tcp_keepintvl=80

Para tornar a alteração permanente, editar o arquivo /etc/rc.net e incluir as

mesmas linhas.

AIX 5.2 ou superior: executar os seguintes comandos:

no -po tcp_keepidle=480

no -po tcp_keepintvl=80

A flag “–p” incluirá estas modificações no arquivo /etc/tunables/nextboot, o

que garante que sejam permanentes.

No Windows:

Regedit ->

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Crie o parâmetro KeepAliveTime (DWORD) e entre com o valor 900000 em

decimal (este valor é em milisegundos). Em determinados casos, talvez seja

necessário a diminuição deste intervalo.

Description: The parameter controls how often TCP attempts to verify that an idle

connection is still intact by sending a keep alive packet. If the remote system is still

reachable and functioning, it will acknowledge the keep alive transmission. Keep alive

packets are not sent by default. This feature may be enabled on a connection by an

application.

Regedit ->

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Crie o parâmetro TcpMaxDataRetransmissions (DWORD e ajuste seu valor

para 0x00000008(8).

Description: This parameter controls the number of times TCP will retransmit an

individual data segment (non connect segment) before aborting the connection. The

retransmission timeout is doubled with each successive retransmission on a

connection. It is reset when responses resume. The base timeout value is dynamically

determined by the measured round-trip time on the connection.

Restart o servidor (Estes valores só passam a ser válidos após o reboot do

servidor).

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.