Running Top Question

#1
Hello,
I installed litespeed last night and when running top I could have sworn I saw http running as http_ls_bak (or something to that effect) and php running as something similar but different.

This morning I can see regular http & php running in TOP along with lightspeed, however http is disabled according to our litespeed control panel and in the WHM service manager.

Is what I'm seeing correct?
 

webizen

Well-Known Member
#2
That's about right.

You are using Apache binary wrapper (Admin Console->Configuration->Server->Using Apache Configuration File->Auto Reload On Changes). When LiteSpeed is running, you should see process list as follows:
root 24806 1 0 13:43 ? 00:00:00 litespeed (lshttpd)
root 24809 24806 0 13:43 ? 00:00:00 httpd (lscgid)
nobody 24810 24806 0 13:43 ? 00:00:00 litespeed (lshttpd)
nobody 24811 24806 0 13:43 ? 00:00:00 litespeed (lshttpd)
Apache binary is renamed to /usr/local/apache/bin/httpd_ls_bak. /usr/local/apache/bin/httpd is wrapper script to switch between apache and lsws.
 
#3
Hello,
To make sure we're on the same page, I'm not actually seeing "lshttpd , lscgid when I view top.

I do see

COMMAND : httpd
COMMAND : lightspeed

When running them concurrently.
 

webizen

Well-Known Member
#4
Are you sure it is lightspeed not litespeed?

Edit:
The quote provided prevously is from 'ps -ef'. top only shows litespeed and httpd. not the part inside (...).
 
Last edited:
Top