Loading slow

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
babe31
-


Joined: 17 Oct 2007
Posts: 2

PostPosted: Wed Oct 17, 2007 3:30 pm    Post subject: Loading slow Reply with quote

Hello !

I have my own mail server (hmailserver) and squirrelmail who runs on abyss web server. I have 150 mails in my box and the loading time is very long (5/10 seconds) to generate the inbox. At the beginning the loading time was good (1 second) when i had 10/20 mails...

Does somebody know where is the problem ? From PHP ? From database ? From MailServer ?

If i look the CPU usage it takes 100% of CPU for 10 seconds to generate the page, maybe there is a way to optimize that ?

My configuration :

Abyss web server 2.4
HmailServer 4.4 B270
PHP 5.2.2 preconfigured by aprelium
Squirrelmail 1.4.6
Athlon XP 2000+ 1Gb DDR WinXP Pro

Thank you !
(I hope my english is comprehensive !)
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Wed Oct 17, 2007 9:29 pm    Post subject: Reply with quote

I beleive squirrel mail has an option to display 'x' number of emails per page. This might be something you want to activate if possible. Your CPU is adequate for the job so I don't see whats taking so long. Maybe try another version of PHP incase there is an unforseen bug in your current version. Also, try doing a disk defrag. I know it sounds crazy but it can make a difference.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
babe31
-


Joined: 17 Oct 2007
Posts: 2

PostPosted: Thu Oct 18, 2007 11:19 am    Post subject: Reply with quote

Ok thanks for your answer ! You said that my PHP version was bugged ? It seems that PHP 5.2.2 is the latest downloadable version ?

In the control pannel of abyss, the interpretor for PHP is set as FastCGI (Local - Pipes), is it right or should i use FastCGI (Local - Socket TCP/IP)?
Back to top View user's profile Send private message
Sophia
-


Joined: 01 Dec 2004
Posts: 30

PostPosted: Fri Oct 26, 2007 9:56 am    Post subject: Reply with quote

babe31 wrote:


In the control pannel of abyss, the interpretor for PHP is set as FastCGI (Local - Pipes), is it right or should i use FastCGI (Local - Socket TCP/IP)?


anyone going to answer?
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Fri Oct 26, 2007 1:06 pm    Post subject: Reply with quote

Sophia wrote:
babe31 wrote:


In the control pannel of abyss, the interpretor for PHP is set as FastCGI (Local - Pipes), is it right or should i use FastCGI (Local - Socket TCP/IP)?


anyone going to answer?


Just try all of them! It will only take minutes to do.
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Oct 26, 2007 1:30 pm    Post subject: Reply with quote

babe31 wrote:
Ok thanks for your answer ! You said that my PHP version was bugged ? It seems that PHP 5.2.2 is the latest downloadable version ?

In the control pannel of abyss, the interpretor for PHP is set as FastCGI (Local - Pipes), is it right or should i use FastCGI (Local - Socket TCP/IP)?


5.2.4 is not buggy. It needs the type of the interpreter to be set to "Standard" (and not to "PHP Style" as with earlier versions of PHP).

The "Interface" should be set to "FastCGI (Local - Pipes)" as modern version of PHP no more support the other type ("FastCGI (Local - Socket TCP/IP)").

Regarding the performance issue, we suggest that you open the Task Manager of Windows, sort the processes by their CPU time, open a Web mail page and check what is the process that is getting the most of your CPU ressources during the page generation.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group