From owner-freebsd-questions@FreeBSD.ORG Fri May 7 11:23:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4FA1D106566C for ; Fri, 7 May 2010 11:23:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 075B18FC12 for ; Fri, 7 May 2010 11:23:07 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OALe6-0003K6-Le for freebsd-questions@freebsd.org; Fri, 07 May 2010 13:23:06 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2010 13:23:06 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2010 13:23:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Ivan Voras Date: Fri, 07 May 2010 13:23:03 +0200 Lines: 29 Message-ID: References: <4BE3A7EB.7060804@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100329 Thunderbird/3.0.3 In-Reply-To: <4BE3A7EB.7060804@cs.ucla.edu> X-Enigmail-Version: 1.0.1 Subject: Re: Syncache problem in FreeBSD 7.3-PRERELEASE 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: Fri, 07 May 2010 11:23:08 -0000 On 05/07/10 07:40, Zhenkai Zhu wrote: > Hi, > > I'm experiencing some problem of syncache (probably). > > We have a NFS server which exports everyone's home directory, and I'm > developing my Qualnet code on another machine (NFS client) under my home > directory. However, when I make my code, linking takes extremely long > time (it takes more than 5 minutes while on my laptop it only takes 15 > seconds). I examed the /var/log/messages on the NFS server and it was > like this: > > May 6 19:51:49 raptors kernel: TCP: [131.179.96.24]:985 to > [131.179.96.25]:2049 tcpflags 0x10; syncache_expand: Segment failed > SYNCOOKIE authentication, segment rejected (probably spoofed) > > The above message appears every time I make my code ( and only when I > make my code). I turned on linux binary compatiblity on the NFS client > because Qualnet needs to be run in that mode. > > Here are some more details: both the NFS server and client are amd64 > machines. The server has 8 cpus and the client has 16 cpus. > > Any one can help me out? Thanks!!! What does your net.inet.tcp.syncache.count show? Actually, sending the output of sysctl net.inet.tcp | grep syn would probably help.