phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] PHPGW is Dang Slow


From: Chris Weiss
Subject: Re: [Phpgroupware-users] PHPGW is Dang Slow
Date: Tue, 01 Jul 2003 13:12:16 +0000

Joel Webb (address@hidden) wrote:
>
>
>Is there anything in the works to speed up PHPGW??

yes, a slow movement to in code cleanup and reorg to make things a bit faster.

>
>I am running several PHP applications on a 700 MHz box with 128 Megs of
>RAM.

yikes, 128 is VERY restrictive.  check your swap usage, a server should never 
swap
more than about 20 meg.

>
>I am running PHPGW 9.14, Apache 2.0 with gzip, and PHP is running with PHP
>Accelerator.

apache2+php isn't as stable as apache would lke you to believe, ask the php devs

>
>I have tried messing around with the query cache info array, and have tried it 
>with
and without
>cookies.

cache's will decrease latency, but increase memory usage, and you have very 
little
memory to start with so it's gonna swap and increase latency even more.

>
>Even with all this, PHP has always been the slowest app that I have.
>It is slow enough that I ONLY use it when I have to.

what are these other apps?  message boards?  a site content manager?  phpgw is 1
bazillion times more complex than that.  it is a message board, AND a content
manager, AND a calendar, AND an email app... you're not doing a fair 
compairison.

>
>It seems that most of the time that it is taking during the HTTP Post
>request is during the upload.

definatly memory starvage.  posts have to allocate enough memory for php to 
parse
the header, then store that for the script to access, then run the script.  if
you're in swap, you're screwed.

>
>I know it isn't a problem on my machine since I have seen other post about
>PHPGW dragging it's feet.

yes, but only for certain reasons like having a firewall and configuring phpgw 
to
get NTP over a port that's blocked.

Mine runs a little slow, but it's an older distro on a 2.2 series kernel and 
only
256Meg ram (and swapping) on a celery 300.  But it's not unbearably slow, and I 
know
I have minimal hardawre, even message boards don't run all that fast on it.

>
>Can anybody help??

check swap usage, consider adding 512Meg RAM.  I give my low end users 128Meg,
managers 256, CAD guys 512, and me a gig.  You're only giving your server 
128Meg?
that's "minimum requirments" for a web server, you should expect it to be slow.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]