Mark Farquaad
2005-01-06 13:22:55 UTC
Hi all,
I'm new to OpenBSD and don't like being flamed at so
that's why I post here to the newbies list instead of another
one. :-)
I'm trying to set up an OpenBSD web server and actually
finally got Apache, PHP and MySQL up and running,
thanks to the instructions of Rev3rse:
http://revunix.mine.nu/document/apache_1.3/index.html
:-) (Compliment to him here! Great help, although not quite
perfect english ;-)
O.K. having said that, here's my problem:
The server seems to run fine, just extremely slow.
I am using very old hardware, a mainboard from about 1995,
a Pentium 1 MMX CPU at 233 MHz, 128MB of RAM, an old
hard disk with 3GB of space and old 10MB/s ethernet cards.
I'm wondering if this is the cause though becuase I was
using almost this exact same hardware before with a
Slackware Linux installation and I did not notice any
performance issues there at all!
(Although there I only tested pages from the Slackware
box itself, not from another computer on the LAN which
seems even worse.)
Now, when I download a very simple html page to my
browser on a windows box in the same LAN, the speed
is so slow, it's like a 56K dial up modem!
Downloading a simple html page with an image of
about 84KB over the LAN litterally takes about 5 seconds
and you can see the image slowly drizzling in...
This can't be normal or can it?
When I test the same page locally, from the OpenBSD box,
the speed is a little better, but still noticably slow.
Displaying the same image of 84KB in a simple html
page takes about 1-2 seconds there.
It's not the LAN either, I first had a switch in between
then I replaced that with a crossover link, no difference.
I also tried a php page with quite some calculations
in it and that takes about 3-4 minutes (!) to display!
I tried reverting to the default php-ini document and I
tried disabling mod_security and mod_php4 in the
httpd_conf file, but none of that made any difference for
the very slow image downloading in standard html docs.
Mind you, this is just a testing box for testing php scripts.
It's not on the internet, it does not get more requests than
those I send it from one other computer on the LAN and
there's noone else using it and nothing else running on it
than the standard OpenBSD stuff like ssh, ntp plus
additionally MySQL and PHP and mod_security.
Does anyone have some experience or knowledge about
this here? Shouldn't even old hardware perfom considerbly
better when only used as a test box for 1 single request?
I also noticed that the web page of Rev3rse seems to perform
quite slow too. Is this maybe a configuration bug or even an
OpenBSD thing, maybe with the chrooted Apache?
Any help is greatly appreciated!
Greetings,
Mark
I'm new to OpenBSD and don't like being flamed at so
that's why I post here to the newbies list instead of another
one. :-)
I'm trying to set up an OpenBSD web server and actually
finally got Apache, PHP and MySQL up and running,
thanks to the instructions of Rev3rse:
http://revunix.mine.nu/document/apache_1.3/index.html
:-) (Compliment to him here! Great help, although not quite
perfect english ;-)
O.K. having said that, here's my problem:
The server seems to run fine, just extremely slow.
I am using very old hardware, a mainboard from about 1995,
a Pentium 1 MMX CPU at 233 MHz, 128MB of RAM, an old
hard disk with 3GB of space and old 10MB/s ethernet cards.
I'm wondering if this is the cause though becuase I was
using almost this exact same hardware before with a
Slackware Linux installation and I did not notice any
performance issues there at all!
(Although there I only tested pages from the Slackware
box itself, not from another computer on the LAN which
seems even worse.)
Now, when I download a very simple html page to my
browser on a windows box in the same LAN, the speed
is so slow, it's like a 56K dial up modem!
Downloading a simple html page with an image of
about 84KB over the LAN litterally takes about 5 seconds
and you can see the image slowly drizzling in...
This can't be normal or can it?
When I test the same page locally, from the OpenBSD box,
the speed is a little better, but still noticably slow.
Displaying the same image of 84KB in a simple html
page takes about 1-2 seconds there.
It's not the LAN either, I first had a switch in between
then I replaced that with a crossover link, no difference.
I also tried a php page with quite some calculations
in it and that takes about 3-4 minutes (!) to display!
I tried reverting to the default php-ini document and I
tried disabling mod_security and mod_php4 in the
httpd_conf file, but none of that made any difference for
the very slow image downloading in standard html docs.
Mind you, this is just a testing box for testing php scripts.
It's not on the internet, it does not get more requests than
those I send it from one other computer on the LAN and
there's noone else using it and nothing else running on it
than the standard OpenBSD stuff like ssh, ntp plus
additionally MySQL and PHP and mod_security.
Does anyone have some experience or knowledge about
this here? Shouldn't even old hardware perfom considerbly
better when only used as a test box for 1 single request?
I also noticed that the web page of Rev3rse seems to perform
quite slow too. Is this maybe a configuration bug or even an
OpenBSD thing, maybe with the chrooted Apache?
Any help is greatly appreciated!
Greetings,
Mark