Glaube Apache2 lastet mein System zu sehr aus. Kann man da was optimieren?
Benutze IPC!
Wieso ist Oscam zb 2x gestartet? Das verwirrt mich! Wieso sind da soviele Apache 2 Prozesse? Hmmm Wie stelle ich das ein das nur maximal 1 Apache prozess gestartet wird? Ich greife ja als einziger auf den drauf zu?
Code:
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 2024 592 ? Ss 10:30 0:02 init [2]
root 2 0.0 0.0 0 0 ? S 10:30 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 10:30 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 10:30 0:00 [watchdog/0]
root 5 0.1 0.0 0 0 ? S 10:30 0:03 [events/0]
root 6 0.0 0.0 0 0 ? S 10:30 0:00 [cpuset]
root 7 0.0 0.0 0 0 ? S 10:30 0:00 [khelper]
root 8 0.0 0.0 0 0 ? S 10:30 0:00 [netns]
root 9 0.0 0.0 0 0 ? S 10:30 0:00 [async/mgr]
root 10 0.0 0.0 0 0 ? S 10:30 0:00 [pm]
root 11 0.0 0.0 0 0 ? S 10:30 0:00 [sync_supers]
root 12 0.0 0.0 0 0 ? S 10:30 0:00 [bdi-default]
root 13 0.0 0.0 0 0 ? S 10:30 0:00 [kintegrityd/0]
root 14 0.0 0.0 0 0 ? S 10:30 0:00 [kblockd/0]
root 15 0.0 0.0 0 0 ? S 10:30 0:00 [kacpid]
root 16 0.0 0.0 0 0 ? S 10:30 0:00 [kacpi_notify]
root 17 0.0 0.0 0 0 ? S 10:30 0:00 [kacpi_hotplug]
root 18 0.0 0.0 0 0 ? S 10:30 0:00 [kseriod]
root 19 0.0 0.0 0 0 ? S 10:30 0:00 [kondemand/0]
root 20 0.0 0.0 0 0 ? S 10:30 0:00 [khungtaskd]
root 21 0.0 0.0 0 0 ? S 10:30 0:00 [kswapd0]
root 22 0.0 0.0 0 0 ? SN 10:30 0:00 [ksmd]
root 23 0.0 0.0 0 0 ? S 10:30 0:00 [aio/0]
root 24 0.0 0.0 0 0 ? S 10:30 0:00 [crypto/0]
root 146 0.0 0.0 0 0 ? S 10:30 0:00 [ksuspend_usbd]
root 147 0.0 0.0 0 0 ? S 10:30 0:00 [khubd]
root 148 0.0 0.0 0 0 ? S 10:30 0:00 [ata/0]
root 149 0.0 0.0 0 0 ? S 10:30 0:00 [ata_aux]
root 151 0.0 0.0 0 0 ? S 10:30 0:00 [scsi_eh_0]
root 152 0.0 0.0 0 0 ? S 10:30 0:00 [scsi_eh_1]
root 201 0.0 0.0 0 0 ? S 10:30 0:00 [kjournald]
root 262 0.0 0.4 2248 476 ? S<s 10:30 0:00 udevd --daemon
root 379 0.0 0.3 2244 392 ? S< 10:30 0:00 udevd --daemon
root 380 0.0 0.3 2244 388 ? S< 10:30 0:00 udevd --daemon
root 391 0.0 0.0 0 0 ? S 10:30 0:00 [flush-8:0]
root 403 0.0 0.0 0 0 ? S 10:30 0:00 [kpsmoused]
root 437 0.0 0.0 0 0 ? S 10:30 0:00 [kgameportd]
daemon 707 0.0 0.3 1800 352 ? Ss 10:30 0:00 /sbin/portmap
statd 719 0.0 0.5 1932 576 ? Ss 10:30 0:00 /sbin/rpc.statd
root 885 0.5 1.0 28204 1164 ? Sl 10:30 0:13 /usr/sbin/rsyslogd -c4
root 911 0.0 0.4 1700 468 ? Ss 10:30 0:00 /usr/sbin/acpid
root 926 0.0 7.1 40152 7832 ? Ss 10:30 0:01 /usr/sbin/apache2 -k start
daemon 951 0.0 0.2 2152 284 ? Ss 10:30 0:00 /usr/sbin/atd
root 972 0.0 0.8 3808 924 ? Ss 10:30 0:00 /usr/sbin/cron
108 978 0.0 0.7 2572 804 ? Ss 10:30 0:01 /usr/bin/dbus-daemon --system
avahi 991 0.0 1.3 2832 1456 ? S 10:30 0:01 avahi-daemon: running [xx.local]
avahi 992 0.0 0.4 2832 472 ? S 10:30 0:00 avahi-daemon: chroot helper
www-data 998 0.0 7.3 40600 7972 ? S 10:30 0:00 /usr/sbin/apache2 -k start
www-data 999 0.0 7.5 40708 8248 ? S 10:30 0:01 /usr/sbin/apache2 -k start
www-data 1000 0.1 9.8 44836 10704 ? S 10:30 0:03 /usr/sbin/apache2 -k start
www-data 1001 0.0 4.9 40200 5368 ? S 10:30 0:00 /usr/sbin/apache2 -k start
www-data 1002 0.0 8.1 41592 8948 ? S 10:30 0:00 /usr/sbin/apache2 -k start
root 1016 0.0 3.4 6024 3752 ? S 10:30 0:00 ddclient - sleeping for 100 seconds
110 1019 0.0 2.9 13980 3268 ? Ssl 10:30 0:01 /usr/sbin/hald
root 1024 0.0 1.0 3448 1148 ? S 10:30 0:00 hald-runner
root 1064 0.0 0.4 1744 524 ? S 10:30 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 1187 0.3 16.6 137444 18124 ? Sl 10:31 0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root 1188 0.0 0.4 1668 524 ? S 10:31 0:00 logger -t mysqld -p daemon.error
root 1202 0.0 1.0 3512 1124 ? S 10:31 0:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event1
110 1242 0.0 0.9 3328 1084 ? S 10:31 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 1245 0.0 1.0 3516 1128 ? S 10:31 0:01 hald-addon-storage: polling /dev/sda (every 2 sec)
root 1270 2.2 3.3 72308 3640 ? Ssl 10:31 0:51 /var/emu/cccam/CCcam.x86 -v -t
www-data 1567 0.0 4.9 40200 5368 ? S 10:31 0:00 /usr/sbin/apache2 -k start
101 1574 0.0 0.8 6528 928 ? Ss 10:31 0:00 /usr/sbin/exim4 -bd -q30m
root 1590 0.0 1.3 10996 1520 ? Ssl 10:31 0:02 /usr/sbin/pcscd
www-data 1633 0.0 4.9 40200 5368 ? S 10:31 0:00 /usr/sbin/apache2 -k start
proftpd 1690 0.0 1.4 7552 1616 ? Ss 10:31 0:00 proftpd: (accepting connections)
root 1713 0.0 0.8 5408 972 ? Ss 10:31 0:00 /usr/sbin/sshd
root 1733 0.0 0.4 1700 520 tty1 Ss+ 10:31 0:00 /sbin/getty 38400 tty1
root 1734 0.0 0.4 1700 520 tty2 Ss+ 10:31 0:00 /sbin/getty 38400 tty2
root 1735 0.0 0.4 1700 520 tty3 Ss+ 10:31 0:00 /sbin/getty 38400 tty3
root 1736 0.0 0.4 1700 520 tty4 Ss+ 10:31 0:00 /sbin/getty 38400 tty4
root 1737 0.0 0.4 1700 520 tty5 Ss+ 10:31 0:00 /sbin/getty 38400 tty5
root 1738 0.0 0.4 1700 520 tty6 Ss+ 10:31 0:00 /sbin/getty 38400 tty6
root 1785 0.0 2.7 18200 2980 ? Sl 10:31 0:01 /usr/sbin/console-kit-daemon --no-daemon
root 1884 0.0 2.8 8608 3108 ? Ss 10:32 0:01 sshd: root@pts/1
root 1889 0.0 3.3 6296 3608 pts/1 Ss 10:32 0:02 -bash
root 2337 1.3 5.0 59680 5548 ? Sl 10:33 0:28 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 2431 0.0 0.3 4500 340 ? Ss 10:35 0:00 /var/emu/oscam/oscam.x86 -b -c /var/etc
root 2433 1.2 2.3 23240 2524 ? S<l 10:35 0:25 /var/emu/oscam/oscam.x86 -b -c /var/etc
www-data 2471 0.0 4.2 40152 4600 ? S 10:35 0:00 /usr/sbin/apache2 -k start
www-data 2473 0.0 4.2 40152 4592 ? S 10:35 0:00 /usr/sbin/apache2 -k start
www-data 2474 0.0 4.2 40152 4592 ? S 10:35 0:00 /usr/sbin/apache2 -k start
root 4636 0.2 2.8 8608 3132 ? Ss 11:02 0:01 sshd: root@notty
root 4648 0.0 0.7 1924 864 ? Ss 11:02 0:00 /usr/lib/openssh/sftp-server
root 5246 0.0 0.9 3864 1008 pts/1 R+ 11:09 0:00 ps -aux
Benutze IPC!
Wieso ist Oscam zb 2x gestartet? Das verwirrt mich! Wieso sind da soviele Apache 2 Prozesse? Hmmm Wie stelle ich das ein das nur maximal 1 Apache prozess gestartet wird? Ich greife ja als einziger auf den drauf zu?