LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-10-2004, 05:23 PM   #1
QtCoder
Member
 
Registered: Aug 2003
Location: USA
Distribution: Slackware 12.0 RC1
Posts: 129

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing multiple copies with cups (still not working) spotlight Linux - Hardware 0 09-14-2004 04:58 PM
Cron starting multiple copies of a server rmount Programming 0 05-11-2004 12:43 PM
Getting Multiple Copies of dhcpcd for Same Network Card MQMan Slackware 1 03-09-2004 11:41 AM
Printing multiple copies wjn Linux - Networking 4 12-16-2003 07:19 PM
network printing multiple copies drwolfson Linux - Hardware 0 12-11-2003 08:27 AM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration