From owner-freebsd-questions@FreeBSD.ORG Mon Jul 28 06:24:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BD1B37B401 for ; Mon, 28 Jul 2003 06:24:48 -0700 (PDT) Received: from web11807.mail.yahoo.com (web11807.mail.yahoo.com [216.136.172.161]) by mx1.FreeBSD.org (Postfix) with SMTP id EE3E543FAF for ; Mon, 28 Jul 2003 06:24:47 -0700 (PDT) (envelope-from h_saro@yahoo.com) Message-ID: <20030728132447.65348.qmail@web11807.mail.yahoo.com> Received: from [212.113.164.98] by web11807.mail.yahoo.com via HTTP; Mon, 28 Jul 2003 06:24:47 PDT Date: Mon, 28 Jul 2003 06:24:47 -0700 (PDT) From: Hugo Saro To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: linux_llseek X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 13:24:48 -0000 Hey list, I was asked by a friend to run a jedi knight 2 server for his clan on one of my fbsd servers. However, I ran into a problem. top'ing , i noticed the server was using 98% cpu & it should be idle. I killed it & started another jk2 server not in background. As soon as i typed 'map name', it would hang. I truss'ed it, here is what I get: linux_open("/usr/compat/linux/usr/games/jedi2/base/assets0.pk3",0x0,0666) = 4 (0x4) linux_fstat64(0x4,0xbfbfe4dc,0x817e260) = 0 (0x0) linux_mmap(0xbfbfe4bc) = 672534528 (0x28161000) linux_fstat64(0x4,0xbfbfe5bc,0x817e260) = 0 (0x0) linux_llseek(0x4,0x0,0x1fe30000,0xbfbfe56c,0x0) = 0 (0x0) read(0x4,0x28161000,0x36a1) = 13985 (0x36a1) linux_llseek(0x4,0x0,0x1fe336a1,0xbfbfe56c,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fe336a1,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb0000,0xbfbfe5b4,0x0) = 0 (0x0) read(0x4,0x28161000,0x4000) = 16384 (0x4000) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5b4,0x0) = 0 (0x0) linux_llseek(0x4,0x0,0x1fdb4000,0xbfbfe5ac,0x0) = 0 (0x0) (... repeated THOUSANDS of times) the output file is 9.5MB long / 164000+ lines, and it took me about 10 secs till i decided to stop it again. Anyone has any clue of what the server is trying to do ? (linux_llseek) Thanks in advance __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com