LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help regarding apache (https://www.linuxquestions.org/questions/linux-newbie-8/help-regarding-apache-804925/)

pinga123 04-29-2010 05:34 AM

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

Tinkster 04-29-2010 04:54 PM

Quote:

Originally Posted by pinga123 (Post 3951629)
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 (Post 3951629)
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 (Post 3951629)
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

pinga123 04-29-2010 11:16 PM

Quote:

Originally Posted by Tinkster (Post 3952355)
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).

chrism01 04-30-2010 03:53 AM

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


All times are GMT -5. The time now is 02:37 AM.