From owner-freebsd-questions@FreeBSD.ORG Mon Nov 30 22:33:40 2009 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 36E12106566B for ; Mon, 30 Nov 2009 22:33:40 +0000 (UTC) (envelope-from williamt@corp.sonic.net) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 233018FC14 for ; Mon, 30 Nov 2009 22:33:40 +0000 (UTC) Received: from williamt.vpn.sonic.net (williamt.vpn.sonic.net [64.142.22.94]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id nAUMNPfD032302 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 30 Nov 2009 14:23:25 -0800 From: William Taylor Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2009 14:23:24 -0800 Message-Id: <63450BC7-7E22-4448-B030-63F34AD00749@corp.sonic.net> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Subject: tcp delays in jails 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: Mon, 30 Nov 2009 22:33:40 -0000 I recently started having a problem with tcp connections in one of my = jails. Im running 4.9-stable both sendmail and perdition experience the same problem. I even tried = stopping everything on the box and the problem still persists. Connections to other jails on different ip's on the same box are fine. There seems to be about a 5 second delay. =46rom this snippet of a ktrace I did you can see what looks to be a = delay of about 5 seconds after the CALL kevent 86872 perdition 1259617190.144575 GIO fd 6 wrote 43 bytes = "n\M^]\^A\0\0\^A\0\0\0\0\0\0\^B18\^B96\^B81\^C206\ain-addr\^Darpa\0\0\f\0\= ^A" 86872 perdition 1259617190.144584 RET sendto 43/0x2b 86872 perdition 1259617190.144592 CALL gettimeofday(0xbfbfde9c,0) 86872 perdition 1259617190.144604 RET gettimeofday 0 86872 perdition 1259617190.144619 CALL = kevent(0x4,0xbfbfdec0,0x1,0xbfbfdec0,0x1,0xbfbfdea4) 86872 perdition 1259617195.147032 RET kevent 0 86872 perdition 1259617195.147085 CALL close(0x6) 86872 perdition 1259617195.147120 RET close 0 86872 perdition 1259617195.147138 CALL socket(0x2,0x2,0) 86872 perdition 1259617195.147150 RET socket 6 86872 perdition 1259617195.147159 CALL = sendto(0x6,0xbfbfe100,0x2b,0,0x28269b60,0x10) 86872 perdition 1259617195.147186 GIO fd 6 wrote 43 bytes Any ideas of what I can do to figure this out? Thanks, William