Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
LiteSpeed Web Server
>
General
>
httpd -n ## processess
Thread Tools
Display Modes
#
1
11-01-2011, 10:53 PM
strebel
Member
Join Date: Nov 2010
Posts: 13
httpd -n ## processess
At times when we see a server under load and struggling we see processes spawned by root with the command httpd -n 41 or some other number.
What are these processes?
We recently provisioned a new lsws 4.1.7 node and with 6 cores and load of 2 we are seem many httpd -n ## procs. (as if it was under load)
strebel
View Public Profile
Send a private message to strebel
Find all posts by strebel
#
2
11-02-2011, 09:43 AM
webizen
LiteSpeed Staff
Join Date: Oct 2010
Posts: 2,337
pls do 'httpd -h' to find out what the option '-n' do for your httpd.
webizen
View Public Profile
Send a private message to webizen
Find all posts by webizen
#
3
11-02-2011, 12:41 PM
strebel
Member
Join Date: Nov 2010
Posts: 13
no httpd service.
root@PAGE01VMW03:/home/jstrebel# which httpd
root@PAGE01VMW03:/home/jstrebel# httpd -h
bash: httpd: command not found
strebel
View Public Profile
Send a private message to strebel
Find all posts by strebel
#
4
11-02-2011, 01:10 PM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,583
use pstree to check who own those processes.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
5
11-02-2011, 01:15 PM
strebel
Member
Join Date: Nov 2010
Posts: 13
owned by root
strebel
View Public Profile
Send a private message to strebel
Find all posts by strebel
#
6
11-02-2011, 02:04 PM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,583
It is not related to LSWS.
You should find out what it is doing with "lsof" and "strace".
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
7
11-02-2011, 02:20 PM
strebel
Member
Join Date: Nov 2010
Posts: 13
Sorry, guess my next reply did not save, it is owned by litespeed
├─litespeed─┬─httpd
│ └─litespeed─┬─admin_php
│ ├─httpd
strebel
View Public Profile
Send a private message to strebel
Find all posts by strebel
#
8
11-03-2011, 03:15 PM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Our lscgid should be listed as
Quote:
httpd (lscgid)
in "ps -ef" output, and usually only one.
not httpd -n ##
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
#
9
11-03-2011, 03:25 PM
strebel
Member
Join Date: Nov 2010
Posts: 13
See this image:
http://cl.ly/3V1q283Y41151r0L2A3Y
The httpd -n 72 process is under the litespeed thread.
As I said, we see these from time to time when a server is really under load, but in this case the load on a 8 core machine is ~2 and these are spawning 2 or 3 at a time.
strebel
View Public Profile
Send a private message to strebel
Find all posts by strebel
#
10
11-03-2011, 04:48 PM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,583
That's normal for PHP suEXEC, it will change user ID and execute lsphp5, usually it is not visible in ps, nothing to worry about.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
All times are GMT -7. The time now is
11:06 AM
.
-
Archive
-
Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved.
Privacy Policy
.