From owner-freebsd-questions@FreeBSD.ORG Tue Nov 22 19:09:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D04271065675 for ; Tue, 22 Nov 2011 19:09:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 61E758FC17 for ; Tue, 22 Nov 2011 19:09:55 +0000 (UTC) Received: by faap15 with SMTP id p15so1109582faa.13 for ; Tue, 22 Nov 2011 11:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9gh2f4NnG2Ir6hxXvygeAVGRpquCfrdLo5LR0+eZDYM=; b=hWHLnVrz1OiLcTeL8XYya9BQtXJZygGkR6fVi0XFpwYor17yuuURaJsC3v2q2oHtTD NAGmKL/cllXGd2VoSxk5NOh48kdvzDK612Qb1FkMVWo1WRf9efYEJ8b/28eAhSchhTet /ap3QCgyi+VSUJmVo9MMRY7GFiSV/DPEJzAEc= MIME-Version: 1.0 Received: by 10.204.152.66 with SMTP id f2mr20513428bkw.137.1321988994954; Tue, 22 Nov 2011 11:09:54 -0800 (PST) Received: by 10.223.88.72 with HTTP; Tue, 22 Nov 2011 11:09:54 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Nov 2011 13:09:54 -0600 Message-ID: From: Adam Vande More To: Henry M Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: reexec socketpair: No buffer space available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 19:09:56 -0000 On Tue, Nov 22, 2011 at 11:50 AM, Henry M wrote: > Hi all, > > Has anyone come across this error before: > sshd[20861]: error: reexec socketpair: No buffer space available > > It stops remote users/services to connect to the machine remotely. I have > 17 jails running on the machine. > CPU load on the machine is low, and RAM usage is also low (16GB avail, 5GB > Active) > > System info: > FreeBSD 8.0-RELEASE-p6 FreeBSD 8.0-RELEASE-p6 > > $ netstat -mb > 1029/4101/5130 mbufs in use (current/cache/total) > 514/3446/3960/65536 mbuf clusters in use (current/cache/total/max) > 0/1536 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/1582/1582/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > 1285K/14245K/15530K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 373686 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > > What else should I be looking for to help me trouble this? I know I'm > hitting some limit, but not sure which one. > > Any help would be much appreciated. > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2007-03/msg00764.html So sysctl's like net.inet.tcp.recvbuf_max might play role here, but I would be curious as to what is the reason this comes up in the first place. Is the traffic to system valid, and hence raising the limits would be the correct course of action. Or do you have some deeper problem which limit raising would only mask or temporarily alleviate the issue. -- Adam Vande More