Received: with ECARTIS (v1.0.0; list gopher); Sat, 13 Mar 2004 22:18:51 -0600 (CST) Return-Path: X-Original-To: gopher@complete.org Delivered-To: gopher@complete.org Received: from localhost (localhost [127.0.0.1]) by glockenspiel.complete.org (Postfix) with ESMTP id 4BF7414E; Sat, 13 Mar 2004 22:18:07 -0600 (CST) Received: from glockenspiel.complete.org ([127.0.0.1]) by localhost (glockenspiel [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 30936-08; Sat, 13 Mar 2004 22:15:49 -0600 (CST) Received: from erwin.complete.org (unknown [12.149.180.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "erwin.complete.org", Issuer "John Goerzen -- Root CA" (verified OK)) by glockenspiel.complete.org (Postfix) with ESMTP id 97E98C1; Sat, 13 Mar 2004 22:15:28 -0600 (CST) Received: from katherina.lan.complete.org (katherina.lan.complete.org [10.200.0.4]) by erwin.complete.org (Postfix) with ESMTP id 0BAB51630; Sat, 13 Mar 2004 22:15:11 -0600 (CST) Received: by katherina.lan.complete.org (Postfix, from userid 1000) id D48FF21000; Sat, 13 Mar 2004 22:15:10 -0600 (CST) Date: Sat, 13 Mar 2004 22:15:10 -0600 From: John Goerzen To: gopher@complete.org Subject: [gopher] Re: Gopherd or pygopherd? Message-ID: <20040314041510.GA1361@complete.org> References: <20040313210311.GA10755@complete.org> <20040313181126.2e064e3c.markov@monmouth.com> <20040314031639.GB30332@complete.org> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040314031639.GB30332@complete.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at complete.org Content-Transfer-Encoding: 8bit X-archive-position: 890 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: jgoerzen@complete.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Sat, Mar 13, 2004 at 09:16:39PM -0600, John Goerzen wrote: > I don't think PyGopherd is a resource hog. It will read all your UMN I should add some info. On the quux.org server, the pygopherd process consumes 3.5MB of RAM. 148K of that is shared (meaning it is not actually extra RAM that is used). On that server, which does dip into swap, all but 150K of the remainder tends to remain paged out. This is with most all of the modules loaded and Python optimizations turned off. If you were judicious about the loaded modules, and used Python optimizations, your results will probably be even better. Should be no problem on a 32MB box. PyGopherd can work with either forking or threading. You may want to experiment to see which method is kinder to your resources. -- John