OpenVZ Forum - RDF feed
type: channel
items: imaging Ubuntu 6.06, having "buffer" errors.
items: Re: imaging Ubuntu 6.06, having "buffer" errors.

imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: Hi guys. Searched for this kind of thing, but can't find it. Have openvz installed; imaging Ubuntu 6.06 LTS off of it. My problem is this: After about 2-3 hours, or about 80 connections from UnrealIRCD(I'm testing Ubuntu for ircds), the box locks up, networking wise.. You can't SSH into the box. The SSHD server is fine, running, and listening for connections. You can restart the SSHD sever.. makes no difference. The SSH server DOES work after a fresh system restart. Something is killing it. This is what you get if you try to SSH into the imaged Ubuntu after it "locks up" ssh admin@XX.XXX.XXX.XXX ssh_exchange_identification: Connection closed by remote host wastedfluid@wastedfluid:~$ However, if you "vzctl enter 102" and enter the box - you can ping. This is what happens when I tried to SSH into the Imaged Ubuntu 6.06LTS from itself via "vzctl enter 102" root@jbodystreet:/# ssh admin@XX.XXX.XXX.XXX ssh: connect to host XX.XXX.XXX.XXX port 22: No buffer space available root@jbodystreet:/# UnrealIRCD can still accept incoming connections from the Ubuntu. You get errors such as "No buffer space available" .. I "vzctl enter 102" as root on the Imaged Ubuntu6.06LTS, and I couldn't even ssh out, or ping out, just kept getting "No buffer space available"
creator: wastedfluid
date: 2007-07-30T23:46:11-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: cat /proc/user_beancounters 'duplicate problem' cat /proc/user_beancounters any failcnt increases? Rick
creator: rickb
date: 2007-07-30T23:49:48-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: root@jbodystreet:/# cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 102: kmemsize 2056091 2596043 2752512 2936012 0 lockedpages 0 0 32 32 0 privvmpages 5172 46806 49152 53575 0 shmpages 192 849 50000 50000 0 dummy 0 0 0 0 0 numproc 21 40 200 200 0 physpages 3735 12653 0 2147483647 0 vmguarpages 0 0 30000 2147483647 0 oomguarpages 3744 12653 6144 2147483647 0 numtcpsock 239 294 4000 4000 0 numflock 2 10 100 110 0 numpty 1 2 16 16 0 numsiginfo 0 3 256 256 0 tcpsndbuf 388792 394288 389488 524288 238315367 tcprcvbuf 12852 395340 389488 524288 903 othersockbuf 125216 130952 389488 524288 0 dgramrcvbuf 0 8568 389488 524288 0 numothersock 87 93 4000 4000 0 dcachesize 0 0 1048576 1097728 0 numfile 845 968 2048 2048 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 4 4 128 128 0 Oh my. Look at the failcnt... what's that mean?
creator: wastedfluid
date: 2007-07-31T00:00:18-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: there are failcnt's, but is there an increase? note that I told you to run it twice for a reason.
creator: rickb
date: 2007-07-31T00:02:16-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: My apologies. root@jbodystreet:/# cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 102: kmemsize 2071616 2596043 2752512 2936012 0 lockedpages 0 0 32 32 0 privvmpages 5172 46806 49152 53575 0 shmpages 192 849 50000 50000 0 dummy 0 0 0 0 0 numproc 21 40 200 200 0 physpages 3735 12653 0 2147483647 0 vmguarpages 0 0 30000 2147483647 0 oomguarpages 3744 12653 6144 2147483647 0 numtcpsock 244 294 4000 4000 0 numflock 2 10 100 110 0 numpty 1 2 16 16 0 numsiginfo 0 3 256 256 0 tcpsndbuf 388792 394288 389488 524288 239533654 tcprcvbuf 8568 395340 389488 524288 903 othersockbuf 125216 130952 389488 524288 0 dgramrcvbuf 0 8568 389488 524288 0 numothersock 87 93 4000 4000 0 dcachesize 0 0 1048576 1097728 0 numfile 840 968 2048 2048 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 4 4 128 128 0 root@jbodystreet:/# After waiting 30 seconds: root@jbodystreet:/# cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 102: kmemsize 2060484 2596043 2752512 2936012 0 lockedpages 0 0 32 32 0 privvmpages 5172 46806 49152 53575 0 shmpages 192 849 50000 50000 0 dummy 0 0 0 0 0 numproc 21 40 200 200 0 physpages 3734 12653 0 2147483647 0 vmguarpages 0 0 30000 2147483647 0 oomguarpages 3743 12653 6144 2147483647 0 numtcpsock 241 294 4000 4000 0 numflock 2 10 100 110 0 numpty 1 2 16 16 0 numsiginfo 0 3 256 256 0 tcpsndbuf 388792 394288 389488 524288 239759532 tcprcvbuf 4284 395340 389488 524288 903 othersockbuf 125216 130952 389488 524288 0 dgramrcvbuf 0 8568 389488 524288 0 numothersock 87 93 4000 4000 0 dcachesize 0 0 1048576 1097728 0 numfile 847 968 2048 2048 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 4 4 128 128 0 root@jbodystreet:/#
creator: wastedfluid
date: 2007-07-31T00:03:21-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: ok, now increase the ubc metric that has increased failcnt. Rick
creator: rickb
date: 2007-07-31T00:05:02-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: rickb wrote on Mon, 30 July 2007 20:05 ok, now increase the ubc metric that has increased failcnt. Rick Rick, I can only wish I knew what you mean. I'll try and google this...
creator: wastedfluid
date: 2007-07-31T00:05:50-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: read the ubc wiki page in my sig, then run: vzctl set 102 --tcpsndbuf 2589488:3589488 --save
creator: rickb
date: 2007-07-31T00:11:56-00:00

Re: imaging Ubuntu 6.06, having "buffer" errors.
type: item
description: rickb wrote on Mon, 30 July 2007 20:11 read the ubc wiki page in my sig, then run: vzctl set 102 --tcpsndbuf 2589488:3589488 --save Rick, I read your wiki. Very useful. Thank you so much for your help. I really appreciate it.
creator: wastedfluid
date: 2007-07-31T00:14:20-00:00