OpenVZ Forum


Home » General » Support » ssh stalled when copy files via scp
ssh stalled when copy files via scp [message #46274] Tue, 08 May 2012 11:58
apermuy is currently offline  apermuy
Messages: 1
Registered: May 2012
Location: Spain
Junior Member

Hi!

I've problems copying files from an old OpenSuSE to an OpenVZ container running Debian GNU/Linux 6.0 i386 template.

Error:

dns:~/tmp # scp file.sql.gz root@192.168.1.4:/tmp
file.sql.gz 23% 8576KB 140.8KB/s - stalled -Connection to 192.168.1.4 closed by remote host.


In both servers I've changed server alive interval params in sshd configuration but scp comamnd fail.


OpenVZ server:
Kernel: Linux mrblack 2.6.32-5-openvz-amd64
Other stuff:
.- linux-image-2.6.32-5-openvz-amd64
.- vzctl 3.0.24-12
.- vzdump 1.2.6-1

sysctl params:

net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.eth0.proxy_arp = 1
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
net.ipv4.tcp_wmem = 4096 87380 524288
net.ipv4.tcp_rmem = 4096 87380 524288
net.ipv4.tcp_mem = 524288 524288 524288
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1

iptables rules:

root@mrblack:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


VZContainer 101

/etc/vz/conf/101.conf file:

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="14372700:14790164"
LOCKEDPAGES="256:256"
PRIVVMPAGES="262144:262144"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:9223372036854775807"
VMGUARPAGES="33792:9223372036854775807"
OOMGUARPAGES="26112:9223372036854775807"
NUMTCPSOCK="999999999:999999999"
NUMFLOCK="999999999:999999999"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="999999999:999999999"
TCPRCVBUF="999999999:999999999"
OTHERSOCKBUF="999999999:999999999"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="999999999:999999999"
DCACHESIZE="3409920:3624960"
NUMFILE="999999999:999999999"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="8290304:8290304"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"

VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-6.0-x86"
ORIGIN_SAMPLE="basic"
HOSTNAME="devserver"
IP_ADDRESS="192.168.1.4"
NAMESERVER="213.60.205.175 8.8.8.8"
CPUS="4"


Thanks in advance!


 
Read Message
Previous Topic: No NFS in container after host reboot
Next Topic: centos 5.8 vz init script & /vz directories doesnt exist !!
Goto Forum:
  


Current Time: Mon Jul 29 19:20:09 GMT 2024

Total time taken to generate the page: 0.02692 seconds