LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2010, 05:34 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 37
Help regarding apache


I m using apache http server for hosting a website.

Whenever i start httpd service 8 apache processes get triggered .
Is it normal?
Is apache is default application server like IIS in windows?



Quote:
top - 15:49:15 up 8 days, 22:53, 3 users, load average: 0.73, 0.77, 0.91
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 8.0% sy, 0.0% ni, 91.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064720k total, 2017072k used, 47648k free, 204452k buffers
Swap: 8388600k total, 701472k used, 7687128k free, 557364k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19463 apache 25 0 17644 4180 948 S 0.0 0.2 0:00.00 httpd
19464 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
19465 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
19466 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
19467 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
19468 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
19469 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
19470 apache 25 0 17644 4168 936 S 0.0 0.2 0:00.00 httpd
also want to know what is nsm user?

as he is using most of my cpu .


Quote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
24535 nsm 16 0 17644 4352 1488 S 16.3 0.2 1546:26 .devSvrLogWalke
20850 nsm 21 0 1976 460 384 S 0.0 0.0 0:00.00 sleep
22985 nsm 15 0 9504 3316 592 S 0.0 0.2 0:00.17 Xvfb
23066 nsm 16 0 858m 175m 108m S 0.0 8.7 7:46.44 .guiSvrManager
23222 nsm 18 0 1135m 45m 8592 S 0.0 2.3 0:17.54 java
23376 nsm 25 0 1211m 374m 9700 S 0.0 18.6 0:42.89 java
23546 nsm 25 0 269m 31m 8532 S 0.0 1.6 0:06.82 java
23672 nsm 15 0 8776 3780 1300 S 0.0 0.2 23:30.50 .guiSvrStatusMo
23901 nsm 23 0 671m 54m 9164 S 0.0 2.7 0:12.58 java
24112 nsm 16 0 17208 2332 2224 S 0.0 0.1 0:00.89 postmaster
24292 nsm 16 0 26116 9336 2744 S 0.0 0.5 5:38.15 .devSvrManager
24634 nsm 16 0 7656 360 260 S 0.0 0.0 0:00.08 postmaster
24703 nsm 15 0 17340 8264 8100 S 0.0 0.4 0:00.31 postmaster
24704 nsm 16 0 8660 1284 208 S 0.0 0.1 0:00.31 postmaster
24705 nsm 15 0 7828 420 268 S 0.0 0.0 0:00.22 postmaster
24802 nsm 17 0 1795m 50m 9868 S 0.0 2.5 0:46.97 java
24963 nsm 22 0 1355m 242m 10m S 0.0 12.0 0:55.58 java
25084 nsm 16 0 24124 5496 1748 S 0.0 0.3 1:06.25 .devSvrProfiler
25136 nsm 16 0 17952 3352 2636 S 0.0 0.2 0:00.08 postmaster
25220 nsm 15 0 8776 5112 1440 S 0.0 0.2 18:49.43 .devSvrStatusMo
25439 nsm 16 0 17612 1544 1084 S 0.0 0.1 0:00.07 postmaster
25442 nsm 16 0 17612 1532 1072 S 0.0 0.1 0:00.07 postmaster
25662 nsm 18 0 2564 1344 796 S 0.0 0.1 0:31.60 .highAvailSvr

Last edited by pinga123; 04-29-2010 at 05:36 AM.
 
Old 04-29-2010, 04:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by pinga123 View Post
I m using apache http server for hosting a website.

Whenever i start httpd service 8 apache processes get triggered .
Is it normal?
Yes.

Quote:
Originally Posted by pinga123 View Post
Is apache is default application server like IIS in windows?
What do you mean by that? Does it serve up web-pages? Yes.
Is it a multi-threaded windows application? No.


Quote:
Originally Posted by pinga123 View Post
also want to know what is nsm user?

as he is using most of my cpu .
No idea - have you looked at /etc/passwd ?

Are you looking after the server, is it a shared, or private
virtual set-up?



Cheers,
Tink
 
1 members found this post helpful.
Old 04-29-2010, 11:16 PM   #3
pinga123
Member
 
Registered: Sep 2009
Posts: 684

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by Tinkster View Post
Yes.


What do you mean by that? Does it serve up web-pages? Yes.
Is it a multi-threaded windows application? No.



No idea - have you looked at /etc/passwd ?

Are you looking after the server, is it a shared, or private
virtual set-up?



Cheers,
Tink
Thank you very much that was indeed very helpful to me.

Regarding my question (Is apache default application server in linux?)
We all know that IIS comes preloaded with Windows Operating system and we dont need to install any extra application server if you need to host pages like (asp,aspx,html so on).
but when it comes to linux server. There is no IIS so it is not possible to host asp,aspx .Therefore most of linux servers include apache as their default application server into their OS. This is what i have observed . M i correct?

I m using Linux server to host Virtual machines (Oracle VM).
 
Old 04-30-2010, 03:53 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Apache is the default webserver for Linux. The processes run under the name httpd ( HyperText Transfer Protocol Daemon) http://en.wikipedia.org/wiki/Hyperte...nsfer_Protocol .
IIS is the equivalent on MS.
Note
1. these are http servers, not 'application' servers. application is a vague term
2. You can also have Apache on MS

See http://httpd.apache.org/ for full docs
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up apache from scratch on a linux machine, apache failed message upon bootup dramous43 Linux - Enterprise 2 01-26-2010 07:53 AM
Apache Webserver on Slackware - Failed to Start Apache - 'no listening sockets .." CCTVGuru Linux - Server 4 10-11-2009 01:14 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration