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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > So.. WHich is faster? suphp or nobody?

Reply
 
Thread Tools Display Modes
  #11  
Old 08-31-2007, 05:05 AM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Yeah I usually use deadline for mysql intensive servers but on regular hosting servers Ive always used AS and just recently went to CFQ.

So last night I switched to deadline for 2 servers running litespeed. cp is the one I had most of teh problems I mentioned above because it is a fairly busy server. Cp2, there isnt enough clients on yet so has been no problems.

Anyway running with deadline I go in and rm a huge directory of old backups and ran uipdatedb at the same time, for the lifge of me though I could only get the load to like 5.

As far as litespeed ran I think I saw an improvment. But starting at 4.5 and up some page loads would stall for about 3 seconds BUT was few and far between and very well could have been my connection but I did see an imporvment.

I think its pretty safe to say litespeed will run better with deadline as default I/O scheduler then again I just have regular SATA hds. I still got lots of more stress testing to do and plenty of real time attacks and high usage to deal with so I will know for sure within a week or two.
Reply With Quote
  #12  
Old 08-31-2007, 10:31 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Linux I/O scheduler is not priority aware, they have their own algorithm. One I/O intensive task will definitely affect other jobs doing disk I/O.
Reply With Quote
  #13  
Old 09-28-2007, 11:45 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
I found something that seems to help. I mounted all partitions noatime.
I ran my usual system backup last night and didnt notice any lag. So i definitely think that mount option helps
Reply With Quote
  #14  
Old 11-11-2007, 03:18 PM
QuantumNet QuantumNet is offline
Senior Member
 
Join Date: Nov 2007
Posts: 61
Quote:
Originally Posted by mistwang View Post
Litespeed PHP suEXEC is as fast as running PHP as nobody, faster than Apache mod_php. While, Apache's phpsuexec or suphp implementation run php as CGI script, which is more slower than mod_php and LiteSpeed suEXEC implementation.
Okay so you say that Litespeed PHP suEXEC is faster than suPHP. I followed the Directadmin tutorial and have successfully converted to litespeed. I then installed PHP5 LSAPI and all is well. Now I want to convert from standard apache:apache to suEXEC. But your tutorials are very confusing and unclear of how I would go about this. The fact that I use Directadmin only adds more confusion.

With Directadmin suPHP is an option, but you say Litespeed suEXEC is faster so how do I go about using litespeed suexec with DIrectadmin?

After I understand this I will write up a new howto for you as there is much to be desired in the Directadmin howto.
Reply With Quote
  #15  
Old 11-11-2007, 03:34 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
All you gotta do in server config in litespeed admin is change php suexec to yes

Then you may wanna go through and check perms of all files. You can make more secure perms now using suexec.
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 02:55 PM.



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