Fedora Linux Support Community & Resources Center
  #1  
Old 20th March 2007, 03:35 PM
Wolle Offline
Registered User
 
Join Date: Mar 2007
Posts: 10
minimum services list in runlevel 3

Hi guys, I host a server which runs in runlevel 3 and is mainly there to host a game server.
The hole server lags from time to time and I was wondering if I could turn off a few services that are currently running in init 3. This is the list of services that are running atm.

PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [3]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [watchdog/0]
5 ? S< 0:00 [events/0]
6 ? S< 0:00 [khelper]
7 ? S< 0:00 [kthread]
56 ? R< 0:00 [kblockd/0]
57 ? S< 0:00 [kacpid]
123 ? S< 0:00 [cqueue/0]
124 ? S< 0:00 [ksuspend_usbd]
127 ? S< 0:00 [khubd]
129 ? S< 0:00 [kseriod]
147 ? S 0:00 [pdflush]
148 ? S 0:00 [pdflush]
149 ? S< 0:00 [kswapd0]
150 ? S< 0:00 [aio/0]
316 ? S< 0:00 [kpsmoused]
336 ? S< 0:00 [ata/0]
337 ? S< 0:00 [ata_aux]
340 ? S< 0:01 [kjournald]
362 ? S< 0:00 [kauditd]
990 ? S< 0:00 [kmirrord]
1450 ? Ss 0:00 /usr/sbin/sshd
1475 ? Ss 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
1486 ? Ss 0:00 /usr/sbin/httpd
1487 ? S 0:00 /usr/sbin/httpd
1488 ? S 0:00 /usr/sbin/httpd
1489 ? S 0:00 /usr/sbin/httpd
1490 ? S 0:00 /usr/sbin/httpd
1491 ? S 0:00 /usr/sbin/httpd
1492 ? S 0:00 /usr/sbin/httpd
1493 ? S 0:00 /usr/sbin/httpd
1494 ? S 0:00 /usr/sbin/httpd
1582 tty1 Ss+ 0:00 /sbin/mingetty tty1
1583 tty2 Ss+ 0:00 /sbin/mingetty tty2
1584 tty3 Ss+ 0:00 /sbin/mingetty tty3
1585 tty4 Ss+ 0:00 /sbin/mingetty tty4
1586 tty5 Ss+ 0:00 /sbin/mingetty tty5
1587 tty6 Ss+ 0:00 /sbin/mingetty tty6
1671 ? S 0:00 /bin/sh ./hlds_run -game cstrike +maxplayers 16 +map cs_assault_upc -autoupdate
1680 ? Sl 38:00 ./hlds_i686 -game cstrike +maxplayers 16 +map cs_assault_upc -autoupdate
3658 ? Ss 0:00 sshd: root@pts/1
3660 pts/1 Ss 0:00 -bash
3704 pts/1 R+ 0:00 ps ax
Reply With Quote
  #2  
Old 20th March 2007, 03:48 PM
Wolle Offline
Registered User
 
Join Date: Mar 2007
Posts: 10
These are available services

acpid
anacron
apmd
atd
auditd
autofs
capi
cpuspeed
crond
diskdump
gpm
haldaemon
httpd
ip6tables
iptables
irda
irqbalance
isdn
kudzu
mcstrans
messagebus
microcode_ctl
netdump
netfs
netplugd
network
nscd
ntpd
psacct
rdisc
readahead_early
readahead_later
restorecond
rhnsd
saslauthd
smartd
sshd
syslog
vsftpd
xinetd

which one of these are essential for runlevel 3 and which ones can be turned off?
Reply With Quote
  #3  
Old 20th March 2007, 04:03 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello:
A good place to start is by perusing through this guide :
http://www.mjmwired.net/resources/mj...-services.html
http://www.mjmwired.net/resources/mjm-services-fc6.html

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #4  
Old 20th March 2007, 04:26 PM
Wolle Offline
Registered User
 
Join Date: Mar 2007
Posts: 10
Thanks Seve, the 2nd link is really useful.
After a clean reboot I now have these services running.
Do you see a service that doesn't need to run? Im not sure about hald.

PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init [3]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [watchdog/0]
5 ? S< 0:00 [events/0]
6 ? S< 0:00 [khelper]
7 ? S< 0:00 [kthread]
56 ? S< 0:00 [kblockd/0]
57 ? S< 0:00 [kacpid]
123 ? S< 0:00 [cqueue/0]
124 ? S< 0:00 [ksuspend_usbd]
127 ? S< 0:00 [khubd]
129 ? S< 0:00 [kseriod]
147 ? S 0:00 [pdflush]
148 ? S 0:00 [pdflush]
149 ? S< 0:00 [kswapd0]
150 ? S< 0:00 [aio/0]
316 ? S< 0:00 [kpsmoused]
336 ? S< 0:00 [ata/0]
337 ? S< 0:00 [ata_aux]
340 ? S< 0:00 [kjournald]
362 ? S< 0:00 [kauditd]
391 ? S<s 0:00 /sbin/udevd -d
990 ? S< 0:00 [kmirrord]
1282 ? Ss 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0
1333 ? Ss 0:00 syslogd -m 0
1336 ? Ss 0:00 klogd -x
1356 ? Ss 0:00 dbus-daemon --system
1374 ? Ss 0:00 /usr/sbin/sshd
1385 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
1395 ? Ss 0:00 crond
1424 ? Ss 0:00 hald
1425 ? S 0:00 hald-runner
1431 ? S 0:00 hald-addon-acpi: listening on acpi kernel interface /proc/acpi/event
1440 ? S 0:00 hald-addon-keyboard: listening on /dev/input/event3
1443 ? S 0:00 hald-addon-keyboard: listening on /dev/input/event2
1458 ? Ss 0:00 sshd: root@pts/0
1460 pts/0 Ss 0:00 -bash
1484 pts/0 R+ 0:00 ps ax
Reply With Quote
  #5  
Old 20th March 2007, 04:52 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 56
Posts: 12,371
Hello:
You need haldameon, other than that is looks like you have pared it down a lot. You may also want to have a look at the jobs / schedulers that run from cron. If this kicks in when your server is very busy it may / will cause some performance lag.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
list, minimum, runlevel, services

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automout in runlevel 3 <> automount in runlevel 5 ? phe Installation, Upgrades and Live Media 5 22nd October 2008 07:35 PM
services delayed start, services dependencies, bootup pankajp Using Fedora 0 9th September 2008 02:23 PM
Problem switching from runlevel 5 to runlevel 3 Master Blaster Using Fedora 1 31st May 2008 03:40 AM
Minimum List of Services/Processes InfRecursion Using Fedora 2 10th August 2007 03:38 AM
change runlevel 5 to runlevel 3 carlainz Using Fedora 7 24th November 2006 10:08 PM


Current GMT-time: 19:37 (Thursday, 31-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat