1753809 Members
8043 Online
108805 Solutions
New Discussion

SCP stalled

 
nasmelc
Frequent Visitor

SCP stalled

HI

 

 

I was trying to do an scp from my main site server to DR site servers and it fails with stalled status

 

 

root@db02 2013_03_12]# scp -v o1_mf_1_338464_8mxmc17f_.arc root@drdb:/u02

Executing: program /usr/bin/ssh host dregpodb, user root, command scp -v -t /u02

OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for *

debug1: Connecting to dregpodb [192.168.3.31] port 22.

debug1: Connection established.

debug1: permanently_set_uid: 0/0

debug1: identity file /root/.ssh/identity type -1

debug1: identity file /root/.ssh/id_rsa type -1

debug1: identity file /root/.ssh/id_dsa type -1

debug1: loaded 3 keys

debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3

debug1: match: OpenSSH_4.3 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_4.3

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: server->client aes128-cbc hmac-md5 none

debug1: kex: client->server aes128-cbc hmac-md5 none

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

debug1: Host 'dregpodb' is known and matches the RSA host key.

debug1: Found key in /root/.ssh/known_hosts:1

debug1: ssh_rsa_verify: signature correct

debug1: SSH2_MSG_NEWKEYS sent

debug1: expecting SSH2_MSG_NEWKEYS

debug1: SSH2_MSG_NEWKEYS received

debug1: SSH2_MSG_SERVICE_REQUEST sent

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug1: Authentications that can continue: publickey,gssapi-with-mic,password

debug1: Next authentication method: gssapi-with-mic

debug1: Unspecified GSS failure. Minor code may provide more information

Unknown code krb5 195

debug1: Unspecified GSS failure. Minor code may provide more information

Unknown code krb5 195

debug1: Unspecified GSS failure. Minor code may provide more information

Unknown code krb5 195

debug1: Next authentication method: publickey

debug1: Trying private key: /root/.ssh/identity

debug1: Trying private key: /root/.ssh/id_rsa

debug1: Trying private key: /root/.ssh/id_dsa

debug1: Next authentication method: password

root@dregpodb's password:

debug1: Authentication succeeded (password).

debug1: channel 0: new [client-session]

debug1: Entering interactive session.

debug1: Sending environment.

debug1: Sending env LANG = en_US.UTF-8

debug1: Sending command: scp -v -t /u02

Sending file modes: C0640 49684992 o1_mf_1_338464_8mxmc17f_.arc

Sink: C0640 49684992 o1_mf_1_338464_8mxmc17f_.arc

o1_mf_1_338464_8mxmc17f_.arc 5% 2708KB 1.3MB/s - stalled –

 

 

 

 

#cat /etc/sysctl.conf

 

[root@db02 2013_03_10]# sysctl -p

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 68719476736

kernel.shmall = 4294967296

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 1024 65500

net.core.rmem_default = 262144

net.core.rmem_max = 262144

net.core.wmem_default = 262144

net.core.wmem_max = 262144

 

 

 

Please help

 

2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: SCP stalled

Have you checked the basic health of the dregpodb server?

  • Is the /u02 filesystem full?
  • Does the kernel message buffer (accessible with the "dmesg" command) contain any SCSI-related errors? These would indicate a failing disk at the DR site.
  • If the DR site has a SAN, has the SAN administrator checked the health of the storage system? Some storage systems might (depending on configuration) keep trying to service I/O requests despite multiple disk failures without forwarding any errors to the server, while trying to alert the SAN admin only.
MK
nasmelc
Frequent Visitor

Re: SCP stalled

Dear Matti Kurkela

 

Thanks for your reply

 

Is the /u02 filesystem full?  -- No , Even i tried to copy to /tmp folder , getting same result