LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Pages open slow

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2011, 12:50 PM
evandro evandro is offline
New Member
 
Join Date: Mar 2011
Posts: 4
Default Pages open slow

Hi all, I' running one public rapidleech (all funcitions of script are disabled, exept transload) server under:
1x 2.4GHz
2gb ram
450gb HD
litespeed vps edition
php5 with APC, no mysql, no ror

the cpu load and ram usage is low:
2.00 ~ 3.00
160mb of 2gb

the problem is the pages loads are very slow, Page Load: 29.100677967072 sec

What configs i need to change to it open more fast?
Reply With Quote
  #2  
Old 10-23-2011, 06:14 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 729
What's the iowait? Also, lsphp5 and the settings under Tuning? Putting the opcache files in /dev/shm may help too.
Reply With Quote
  #3  
Old 10-23-2011, 11:01 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,293
PHP suExec enabled or not ?
Reply With Quote
  #4  
Old 10-24-2011, 09:23 AM
evandro evandro is offline
New Member
 
Join Date: Mar 2011
Posts: 4
AIO Block Size = 512K

php suexec is disabled ( I use the vps only for 1 site)

Last edited by evandro; 10-24-2011 at 09:28 AM..
Reply With Quote
  #5  
Old 10-24-2011, 09:53 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
do 'top -c' and paste the screenshot here.
Reply With Quote
  #6  
Old 10-24-2011, 10:41 AM
evandro evandro is offline
New Member
 
Join Date: Mar 2011
Posts: 4
Quote:
Originally Posted by webizen View Post
do 'top -c' and paste the screenshot here.

the site is: http://rl.vrapid.com
Reply With Quote
  #7  
Old 10-24-2011, 02:30 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
%
seems bottleneck is i/o (i/o wait 96% ). are you doing a lot of file upload/download? you could put upload/download files on a separate drive or setup opcode cache in /dev/shm to avoid disk contention.
Reply With Quote
  #8  
Old 10-24-2011, 02:44 PM
evandro evandro is offline
New Member
 
Join Date: Mar 2011
Posts: 4
Quote:
Originally Posted by webizen View Post
%
seems bottleneck is i/o (i/o wait 96% ). are you doing a lot of file upload/download? you could put upload/download files on a separate drive or setup opcode cache in /dev/shm to avoid disk contention.
basically I use this server only for uploads/downloads of large files, sorry for noob question, but how I setup opcode cache in /dev/shm ?
Reply With Quote
  #9  
Old 10-24-2011, 05:05 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
opcode cache being APC, xcache, or EAccelerator.

You already have APC setup which should use shm once enable. You may check the settings from command line:
Quote:
/usr/local/lsws/fcgi-bin/lsphp5 -i| egrep 'apc.shm|apc.cache|apc.mmap'
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:00 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.