phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] New Server phpGW is slow ...


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] New Server phpGW is slow ...
Date: Thu, 26 Sep 2002 13:41:13 +0000

the parse_navbar error wouldn't cause a slow down. there is no timeout on it, it
just can't find the function due to a bad include somewhere.

In your header.inc.php enable DEBUG_TIMER and you will get a perf counter at the
bottom of most pages.  This time will be the time php takes to execute the phpgw
code for that page from start to finish, but will not include the time it takes 
to
download and render the page in your browser.

One thing about a mirror setup, disk writes are much slower, especialy if your
using software RAID.  If you are using php4 sessions then php has to write a 
file
for every page.  Try setting up to use database sessions and see if it's any 
faster.

The problem could lay in php itself, or in the connection to the database, or in
the database itself.  It could also lay in the browser with a dns or caching
issue.  Hopefully the DEBUG_TIMER will help you find which part is at fault.

RecoverToy (address@hidden) wrote*:
>
>Hi All
>
>I've been doing battle with a new server setup and among the issues is a very 
>slow
>running phpgw. The hardware change was to swap from a single 8G drive to a 
>pair of
>40G in a mirror raid setup.
>
>Checking the logs I have the following coming up regularly and I am guessing 
>that
>the slow response times is due to php failing and timing out on these errors.
>
>This is from the /var/log/messages
>
>******
>Sep 26 16:33:32 betazed httpd: PHP Fatal error:  Call to undefined function:
>parse_navbar_end() in /opt/phpgroupware/phpgwapi/inc/footer.inc.php on line 62
>Sep 26 16:34:31 betazed httpd: PHP Warning:  Supplied argument is not a valid 
>File-
>Handle resource in /opt/phpgroupware/phpgwapi/inc/class.network.inc.php on 
>line 81
>*******
>
>I am using a config of phpgw that was on another server and I have tried to
>duplicate everything during the transfer to the new setup. I am using 
>e-smith/sme
>server 5.5 which is a Redhat based os. It was working fine on the other drive 
>in
>this box. Looking at the specific lines in the nominated files doesn't make any
>sense to me at the moment. Any suggestions please ?
>
>cheers
>Tony
>
>Tony Howden
>--------------------------------------------------
>http://www.users.bigpond.net.au/thowden
>http://www.thowden.bpa.nu
>http://www.marblebay.bpa.nu
>http://www.recovertoy.bpa.nu
>Snail Mail: PO Box 166 Ringwood VIC 3134 Australia
>Alternate email: address@hidden
>--------------------------------------------------
>
>
>
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>





reply via email to

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