From owner-freebsd-questions Mon May 8 12: 5:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from summersault.com (nollie.summersault.com [199.120.185.41]) by hub.freebsd.org (Postfix) with SMTP id 49B2737BB99 for ; Mon, 8 May 2000 12:05:43 -0700 (PDT) (envelope-from mark@summersault.com) Received: (qmail 88713 invoked from network); 8 May 2000 19:05:37 -0000 Received: from hoobella.summersault.com (HELO summersault.com) (208.247.88.176) by nollie.summersault.com with SMTP; 8 May 2000 19:05:37 -0000 Message-ID: <39171001.66200C35@summersault.com> Date: Mon, 08 May 2000 14:09:06 -0500 From: Mark Stosberg Reply-To: mark@summersault.com Organization: Summersault X-Mailer: Mozilla 4.73 (Macintosh; I; PPC) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: why is Minivend/FreeBSD combo is slow? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I'm debugging a performance issue with Minivend 4.02 on FreeBSD 3.1. I'm posting this here because as far as I can tell, FreeBSD is being slow for some reason, rather than Minivend. I've noticed over several tries that when I load the Minivend index.html page the first time, it takes about 8 seconds the first time I connect and then 1 or 2 seconds for loads of that page after that. The lag appears to be on the server-side. I'm connected over a fast LAN to the server so I think I think can take my connection speed out of the equation. :) I did some poking around with "top" to see what was happening during those 8 seconds. From what I can tell, it appears minivend is inactive until the very end, when it pops up for just a second, does it's thing, and then sleeps again. My front page is very basic, no database calls. I would imagine the only thing Minivend is doing is creating a session id. So then, my intuition leads me to think it's something do with networking. I'm running on FreeBSD 3.1 in INET mode. (When I run in Unix mode I get "server unavailable pages". I think this has something do with my Apache/SuExec configuration ). Is there anything I should know about INET mode and Sockets on FreeBSD when using Perl, especially Minivend? My guess is that I have a server misconfiguration someplace relative to these issues. Thanks! -mark <<-------------------------------------------------------------->> personal website < Summersault Website Design http://mark.stosberg.com/ > http://www.summersault.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message