Date: Mon, 08 May 2000 14:09:06 -0500 From: Mark Stosberg <mark@summersault.com> To: freebsd-questions@freebsd.org Subject: why is Minivend/FreeBSD combo is slow? Message-ID: <39171001.66200C35@summersault.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39171001.66200C35>
