OpenVZ Forum


Home » General » Support » imaging Ubuntu 6.06, having "buffer" errors.
imaging Ubuntu 6.06, having "buffer" errors. [message #15423] Mon, 30 July 2007 23:46 Go to next message
wastedfluid is currently offline  wastedfluid
Messages: 6
Registered: July 2007
Junior Member
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"

[Updated on: Mon, 30 July 2007 23:58]

Report message to a moderator

Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15424 is a reply to message #15423] Mon, 30 July 2007 23:49 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
cat /proc/user_beancounters
'duplicate problem'
cat /proc/user_beancounters


any failcnt increases?

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15425 is a reply to message #15424] Tue, 31 July 2007 00:00 Go to previous messageGo to next message
wastedfluid is currently offline  wastedfluid
Messages: 6
Registered: July 2007
Junior Member
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?

[Updated on: Tue, 31 July 2007 00:02]

Report message to a moderator

Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15426 is a reply to message #15425] Tue, 31 July 2007 00:02 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
there are failcnt's, but is there an increase?

note that I told you to run it twice for a reason.


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15427 is a reply to message #15426] Tue, 31 July 2007 00:03 Go to previous messageGo to next message
wastedfluid is currently offline  wastedfluid
Messages: 6
Registered: July 2007
Junior Member
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:/# 

Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15428 is a reply to message #15427] Tue, 31 July 2007 00:05 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
ok, now increase the ubc metric that has increased failcnt.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15429 is a reply to message #15428] Tue, 31 July 2007 00:05 Go to previous messageGo to next message
wastedfluid is currently offline  wastedfluid
Messages: 6
Registered: July 2007
Junior Member
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...
Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15430 is a reply to message #15429] Tue, 31 July 2007 00:11 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
read the ubc wiki page in my sig, then run:

vzctl set 102 --tcpsndbuf 2589488:3589488 --save




-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: imaging Ubuntu 6.06, having "buffer" errors. [message #15431 is a reply to message #15430] Tue, 31 July 2007 00:14 Go to previous message
wastedfluid is currently offline  wastedfluid
Messages: 6
Registered: July 2007
Junior Member
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.
Previous Topic: 2 interfaces local network routing issue possible bug?
Next Topic: Putty & Chmod
Goto Forum:
  


Current Time: Sun Jun 01 15:18:11 GMT 2025

Total time taken to generate the page: 0.03854 seconds