LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mandrake 9.2 runs multiple copies of services. Help (https://www.linuxquestions.org/questions/mandriva-30/mandrake-9-2-runs-multiple-copies-of-services-help-156017/)

QtCoder 03-10-2004 05:23 PM

Mandrake 9.2 runs multiple copies of services. Help
 
Hi.

I'm running Mandrake 9.2 as a web server. When I have freshly rebooted, I do a `ps -e` to see what processes are running. Here's what I get:

Code:

[root@mail root]# ps -e
  PID TTY          TIME CMD
    1 ?        00:00:04 init
    2 ?        00:00:00 keventd
    3 ?        00:00:00 kapmd
    4 ?        00:00:00 ksoftirqd_CPU0
    5 ?        00:00:03 kswapd
    6 ?        00:00:00 bdflush
    7 ?        00:00:00 kupdated
    8 ?        00:00:00 kinoded
    9 ?        00:00:00 mdrecoveryd
  10 ?        00:00:00 kswsuspd
  14 ?        00:00:00 kjournald
  123 ?        00:00:00 devfsd
  248 ?        00:00:00 khubd
  416 ?        00:00:00 kjournald
  419 ?        00:00:00 kjournald
  420 ?        00:00:00 kjournald
  421 ?        00:00:00 kjournald
 1001 ?        00:00:00 portmap
 1026 ?        00:00:00 syslogd
 1034 ?        00:00:00 klogd
 1099 ?        00:00:00 rpc.statd
 1126 ?        00:00:00 ypserv
 1218 ?        00:00:00 xfs
 1278 ?        00:00:00 apmd
 1307 ?        00:00:00 rpc.ypxfrd
 1372 ?        00:00:00 atd
 1381 ?        00:00:00 kdm
 1401 ?        00:00:49 X
 1404 ?        00:00:00 saslauthd
 1406 ?        00:00:00 saslauthd
 1407 ?        00:00:00 saslauthd
 1408 ?        00:00:00 saslauthd
 1409 ?        00:00:00 saslauthd
 1435 ?        00:00:00 named
 1436 ?        00:00:00 named
 1440 ?        00:00:00 named
 1447 ?        00:00:00 named
 1448 ?        00:00:00 named
 1472 ?        00:00:00 ntpd
 1498 ?        00:00:00 routed
 1530 ?        00:00:00 sshd
 1579 ?        00:00:00 xinetd
 1620 ?        00:00:00 rpc.rquotad
 1631 ?        00:00:00 nfsd
 1632 ?        00:00:00 lockd
 1633 ?        00:00:00 rpciod
 1634 ?        00:00:00 nfsd
 1635 ?        00:00:00 nfsd
 1636 ?        00:00:00 nfsd
 1637 ?        00:00:00 nfsd
 1638 ?        00:00:00 nfsd
 1639 ?        00:00:00 nfsd
 1640 ?        00:00:00 nfsd
 1652 ?        00:00:00 rpc.mountd
 1679 ?        00:00:00 rpc.yppasswdd
 1859 ?        00:00:00 master
 1912 ?        00:00:00 sendmail.sendma
 1975 ?        00:00:00 proftpd
 2001 ?        00:00:00 crond
 2026 ?        00:00:00 mysqld_safe
 2027 ?        00:00:00 logger
 2070 ?        00:00:00 mysqld
 2071 ?        00:00:00 mysqld
 2072 ?        00:00:00 mysqld
 2101 ?        00:00:00 miniserv.pl
 2153 ?        00:00:00 smbd
 2167 ?        00:00:00 nmbd
 2648 vc/1    00:00:00 mingetty
 2649 vc/2    00:00:00 mingetty
 2650 vc/3    00:00:00 mingetty
 2651 vc/4    00:00:00 mingetty
 2652 vc/5    00:00:00 mingetty
 2653 vc/6    00:00:00 mingetty
 3236 ?        00:00:00 kdm
 3241 ?        00:00:00 kdm_greet
 4410 ?        00:00:00 httpd2
 4417 ?        00:00:00 advxsplitlogfil
 4418 ?        00:00:00 httpd2
 4419 ?        00:00:00 httpd2
 4420 ?        00:00:00 httpd2
 4421 ?        00:00:00 httpd2
 4422 ?        00:00:00 httpd2
 4455 ?        00:00:00 httpd2
 4456 ?        00:00:00 httpd2
 4457 ?        00:00:00 httpd2
12493 ?        00:00:00 httpd2
13585 ?        00:00:00 httpd2
21734 ?        00:00:00 pickup
21765 ?        00:00:00 sshd
21767 pts/0    00:00:00 bash
22013 ?        00:00:00 nqmgr
22039 pts/0    00:00:00 ps

Notice how many copies of httpd2 are running, as well as the other multiple processes. When I do a top, I only have about 6-10 megs of ram left to use. Now, for anyone who's ever run a webserver, you might as well be serving one text page with 1 hit per day with ram like that.

So, my question is: how can I prevent so many copies of processes from starting up (other than by explicitly killing them each time I reboot)? Should I just give in and use Red Hat or some other distro?

Thank you.


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