Regarding Apache & Performance

Cool-R

Active Member
#1
Hello,

I have currently Installed Litespeed Server on my VPS which had CentOS with Kloxo.

I would like to ask you few questions.

1> It had Apache Previously, I stopped Apache and Installed Litespeed on Port 80 While Installation. Does this mean Apache will still be running in the background? If so, How to disable it? (I want to save up memory)

2> I want to speed up my VPS, Is there anyway I can do that?

3> CentOS with Litespeed or Debian with Litespeed? Does it make any difference in speeds?

4> Is PHP upgrade Manditory? (Is it really required?) Since I've seen some Memory increase issue in the past after I've done that.

5> Any other tips?

I would appreciate if anyone responds to my post.

Thank you
 

NiteWave

Administrator
#2
1>just check if apache process is running
ps -ef|grep httpd
on centOS,
service httpd stop
chkconfig httpd off

3>CentOS is better than Debian as a server. Debian may be better than centOS as a desktop --- please google the difference of them to get the accurate answer.

4>there is a lsphp (which is php4) with the installation package, you can use it if it's ok for your needs. in this case, no need build php5 for lsws.
 

Cool-R

Active Member
#3
This is what I get.
[root@server ~]# ps -ef|grep httpd
lxlabs 10043 1 0 04:07 ? 00:00:00 /usr/local/lxlabs/ext/lxlighttpd/sbin/kloxo.httpd -f /usr/local/lxlabs/kloxo/file/lighttpd.conf
root 14131 13770 0 18:25 pts/0 00:00:00 grep httpd
root 24568 1 0 02:01 ? 00:00:00 litespeed (lshttpd)
root 25631 24568 0 02:01 ? 00:00:00 httpd (lscgid)
nobody 25632 24568 0 02:01 ? 00:00:00 litespeed (lshttpd)
[root@server ~]# service httpd stop
Stopping httpd: [FAILED]
[root@server ~]# chkconfig httpd off
[root@server ~]#
4>there is a lsphp (which is php4) with the installation package, you can use it if it's ok for your needs. in this case, no need build php5 for lsws.
I'll be using it for hosting Wordpress blog. That's all.I hope that's sufficient to use php4.

Any other tweaks that I can do to make VPS faster? Any Optimizations?
 

NiteWave

Administrator
#4
how much memory of your VPS ?
wordpress may need lsphp5.
you are running lighttpd instead of apache ?

if you only run your own wordpress, even no need to install kloxo+lighttpd,that will same memory. only lsws is needed.

pstree -p
also a utility to show what processes are running in your VPS. stop those you don't need.

wordpress plugin "WP-super cache" can improve the performance well.
 

Cool-R

Active Member
#5
how much memory of your VPS ?
512MB Dedicated and 1GBIT Bustable.

wordpress may need lsphp5.
Does, This mean I'll have to upgrade?

you are running lighttpd instead of apache ?
Well, I'm running Kloxo (Which uses lighthttpd)

if you only run your own wordpress, even no need to install kloxo+lighttpd,that will same memory. only lsws is needed.
How can I do that? I don't really understand how lsws runs without a control panel. How do I install Sendmail, mySQL etc.

wordpress plugin "WP-super cache" can improve the performance well.
Noted.

I've been trying to run things but I have been unsuccessful until now :(
 
Top