Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 19:11:52 +0300
From:      Dmitriy Kirhlarov <dimma@higis.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: gmirror over ggate{d,c}
Message-ID:  <20050309161151.GG56394@torch.higis.ru>
In-Reply-To: <20050305171221.GS9291@darkness.comp.waw.pl>
References:  <20050225175517.GE5514@torch.higis.ru> <20050228090743.GS9291@darkness.comp.waw.pl> <20050304103118.GA56394@torch.higis.ru> <20050305171221.GS9291@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Pawel!

On Sat, 05 Mar 2005, Pawel Jakub Dawidek wrote:

> First of all, can you increase buffers:
>=20
> net.inet.tcp.sendspace=3D4194304
> net.inet.tcp.recvspace=3D4194304
> kern.ipc.maxsockbuf=3D2097152
>=20
> And run ggated and ggatec with '-R 1048576 -S 1048576'?

$ sudo sysctl net.inet.tcp.sendspace=3D4194304
net.inet.tcp.sendspace: 32768 -> 4194304
$ sudo sysctl net.inet.tcp.recvspace=3D4194304
net.inet.tcp.recvspace: 65536 -> 4194304
$ sudo sysctl kern.ipc.maxsockbuf=3D2097152
kern.ipc.maxsockbuf: 262144 -> 2097152
$ sudo ggated -R 1048576 -S 1048576

And get messages on console:

clh1 ggated: Can't open stream socket: No buffer space available.
Mar  9 18:43:17 clh1 ggated: Exiting.

By.
Dmitriy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050309161151.GG56394>