You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ken Perl <ke...@gmail.com> on 2006/02/02 10:15:50 UTC

hardware prerequisite

My machine which cpu is celeron 266Mhz is running Debian 3.1, and
apche2 modperl2 are configured for running the content manager program
WebGUI which needs modperl2.
Now my issue is the performance is very bad and very slow even I click
edit a link.
The question is what is hardware prereuisite for modperl2 and apache2 ?

--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
")'

Re: hardware prerequisite

Posted by Jonathan <jv...@2xlp.com>.
On Feb 2, 2006, at 4:15 AM, Ken Perl wrote:

> My machine which cpu is celeron 266Mhz is running Debian 3.1, and
> apche2 modperl2 are configured for running the content manager program
> WebGUI which needs modperl2.
> Now my issue is the performance is very bad and very slow even I click
> edit a link.
> The question is what is hardware prereuisite for modperl2 and  
> apache2 ?

I'd upgrade the machine, as stated before .

i'd also suggest not using debian and using one of the BSDs tailored  
to web serving.  Not to trash debian - i love it - and there's not  
much of a difference on modern machines.  but if you're using  
something like that, i'd opt for something that is stripped down and  
profiled to  web content serving to squeeze every bit of juice out of  
it.

7years ago in college I did a dating site/party on a modperl apache2  
platform.  when 500 people tried using it at once, the machine died -  
and that was the only project running on that box.



Re: hardware prerequisite

Posted by John ORourke <jo...@o-rourke.org>.
There's some good performance advice on perl.apache.org:
http://perl.apache.org/docs/general/hardware/hardware.html#Memory

Use top or ps to look at the size of the httpd processes - the memory 
used by the individual process is 'RSS' minus 'SHARE'.  The more modules 
you load, objects you create etc, the more each process is going to 
use.  (I'm slightly out of my depth here, anyone care to elaborate or 
provide links?)

John

Tom Schindl wrote:

>Hi,
>
>it depends on how many traffic you are expecting? Most of the time not
>you CPU is the bottleneck but your memory, at the moment your system
>begins to swap you are lost.
>
>For medium traffic sites a Celeron 1200 with 1 GB Ram is sufficient.
>
>Tom
>
>Ken Perl wrote:
>  
>
>>My machine which cpu is celeron 266Mhz is running Debian 3.1, and
>>apche2 modperl2 are configured for running the content manager program
>>WebGUI which needs modperl2.
>>Now my issue is the performance is very bad and very slow even I click
>>edit a link.
>>The question is what is hardware prereuisite for modperl2 and apache2 ?
>>
>>--
>>perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
>>")'
>>
>>
>>    
>>
>
>  
>


Re: hardware prerequisite

Posted by Tom Schindl <to...@gmx.at>.
Hi,

it depends on how many traffic you are expecting? Most of the time not
you CPU is the bottleneck but your memory, at the moment your system
begins to swap you are lost.

For medium traffic sites a Celeron 1200 with 1 GB Ram is sufficient.

Tom

Ken Perl wrote:
> My machine which cpu is celeron 266Mhz is running Debian 3.1, and
> apche2 modperl2 are configured for running the content manager program
> WebGUI which needs modperl2.
> Now my issue is the performance is very bad and very slow even I click
> edit a link.
> The question is what is hardware prereuisite for modperl2 and apache2 ?
> 
> --
> perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
> ")'
> 
>