Hallo!
Mir kommt da auf dem Server etwas komisch vor!
Kurz die Eckdaten:
Suse 10.2 mit SA24
Hier erstmal die Ausgabe von "ps aux":
Wenn ich mir das nun genau anschaue, macht es den Anschein, dass hier zwei Apache Dienste laufen. Zumindest, weil sie mit unterschiedlichen httpd.conf geladen werden.
Einmal
und zum anderen
Beide werden wohl mit unterschiedlichen Konfigurationen geladen, woraus ich ableite, dass auch zwei Apache Dienste gestartet sind.
Sehe ich das richtig?
Wenn ich mir in yast die geladenen Dienste anschaue, finde ich auch zwei gestartete Apaches:
Ist das denn normal?
Beide benutzen dei gleiche server-tuning.conf....
Habe ich dadurch den Vorteil, dass ich den "www-run" Apache von den modulen her ander konfigurieren kann, als den SA24 Apache?
Bzw. ist es nicht ausreichend, wenn ein Apache läuft?
Ich hoffe ihr könnt Licht ins Dunkle bringen!
Gruß,
gammla
Mir kommt da auf dem Server etwas komisch vor!
Kurz die Eckdaten:
Suse 10.2 mit SA24
Hier erstmal die Ausgabe von "ps aux":
Code:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 740 288 ? Ss Apr13 0:01 init [3]
root 2 0.0 0.0 0 0 ? S Apr13 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Apr13 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< Apr13 0:00 [events/0]
root 5 0.0 0.0 0 0 ? S< Apr13 0:00 [khelper]
root 6 0.0 0.0 0 0 ? S< Apr13 0:00 [kthread]
root 9 0.0 0.0 0 0 ? S< Apr13 0:00 [kblockd/0]
root 10 0.0 0.0 0 0 ? S< Apr13 0:00 [kacpid]
root 133 0.0 0.0 0 0 ? S< Apr13 0:00 [cqueue/0]
root 134 0.0 0.0 0 0 ? S< Apr13 0:00 [kseriod]
root 176 0.0 0.0 0 0 ? S Apr13 0:00 [pdflush]
root 177 0.0 0.0 0 0 ? S Apr13 0:00 [pdflush]
root 178 0.0 0.0 0 0 ? S< Apr13 0:00 [kswapd0]
root 179 0.0 0.0 0 0 ? S< Apr13 0:00 [aio/0]
root 430 0.0 0.0 0 0 ? S< Apr13 0:00 [kpsmoused]
root 784 0.0 0.0 0 0 ? S< Apr13 0:00 [ata/0]
root 785 0.0 0.0 0 0 ? S< Apr13 0:00 [ata_aux]
root 905 0.0 0.0 0 0 ? S< Apr13 0:00 [md1_raid1]
root 917 0.0 0.0 0 0 ? S< Apr13 0:01 [kjournald]
root 961 0.0 0.1 1932 624 ? S<s Apr13 0:00 /sbin/udevd --daemon
root 1310 0.0 0.0 0 0 ? S< Apr13 0:00 [khubd]
root 1850 0.0 0.0 0 0 ? S< Apr13 0:00 [md0_raid1]
100 2199 0.0 0.1 3552 920 ? Ss Apr13 0:00 /usr/bin/dbus-daemon --system
root 2208 0.0 0.1 1584 536 ? Ss Apr13 0:00 /sbin/acpid
root 2237 0.0 0.1 1824 648 ? Ss Apr13 0:00 /sbin/resmgrd
root 2283 0.0 0.3 3252 1716 ? Ss Apr13 0:00 /usr/sbin/polkitd
101 2294 0.0 0.7 5280 3772 ? Ss Apr13 0:00 /usr/sbin/hald --daemon=yes
root 2295 0.0 0.2 2952 1100 ? S Apr13 0:00 hald-runner
root 2660 0.0 0.2 3020 1212 ? S Apr13 0:00 /usr/lib/hal/hald-addon-cpufreq
101 2667 0.0 0.1 2028 900 ? S Apr13 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 2816 0.0 0.0 1616 256 ? Ss Apr13 0:00 /sbin/dhcpcd -C -H -D -K -N -t 999999 -h h1385133 -c /etc/sysconfig/network/scripts/dhcpcd-h
root 2964 0.0 0.1 2108 656 ? Ss Apr13 0:00 /sbin/syslog-ng -a /var/lib/named/dev/log
root 2972 0.0 0.1 1720 532 ? Ss Apr13 0:00 /sbin/klogd -c 1 -x -x
root 3003 0.0 0.0 1580 420 ? S Apr13 0:00 /usr/sbin/courierlogger -pid=/var/run/authdaemon.courier-imap/pid -start /usr/lib/courier-au
root 3004 0.0 0.1 3532 832 ? S Apr13 0:00 /usr/lib/courier-authlib/authdaemond
root 3007 0.0 0.2 2636 1280 ? S Apr13 0:00 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/lib/mysql/mysqld.p
root 3009 0.0 0.2 5712 1396 ? Ss Apr13 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root 3069 0.0 0.0 3532 364 ? S Apr13 0:00 /usr/lib/courier-authlib/authdaemond
root 3070 0.0 0.0 3532 364 ? S Apr13 0:00 /usr/lib/courier-authlib/authdaemond
root 3071 0.0 0.0 3532 364 ? S Apr13 0:00 /usr/lib/courier-authlib/authdaemond
root 3072 0.0 0.0 3532 364 ? S Apr13 0:00 /usr/lib/courier-authlib/authdaemond
root 3073 0.0 0.0 3532 364 ? S Apr13 0:00 /usr/lib/courier-authlib/authdaemond
mysql 3075 0.1 3.1 91764 16372 ? Sl Apr13 1:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/my
root 3078 0.0 0.0 1580 332 ? S Apr13 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd /usr/lib/courier-imap/cou
root 3079 0.0 0.0 1680 504 ? S Apr13 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentl
root 3094 0.0 0.0 1580 332 ? S Apr13 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start -name=imapd-ssl /usr/lib/courier-
root 3104 0.0 0.0 1676 500 ? S Apr13 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentl
root 3121 0.0 0.0 1576 416 ? S Apr13 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d /usr/lib/courier-imap/cou
root 3122 0.0 0.1 1680 528 ? S Apr13 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentl
root 3141 0.0 0.0 1576 328 ? S Apr13 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d-ssl.pid -start -name=pop3d /usr/lib/courier-imap
nobody 3144 0.0 0.0 1632 432 ? Ss Apr13 0:00 /sbin/portmap -i 127.0.0.1
root 3152 0.0 0.0 1680 504 ? S Apr13 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentl
root 3221 0.0 0.0 0 0 ? S< Apr13 0:00 [kondemand/0]
root 3225 0.0 0.1 3572 992 ? S Apr13 0:00 /usr/sbin/vsftpd
named 3234 0.0 0.5 30912 3020 ? Ssl Apr13 0:00 /usr/sbin/named -t /var/lib/named -u named
root 3238 0.0 0.1 2304 976 ? Ss Apr13 0:00 /usr/sbin/xinetd
ntp 3276 0.0 0.2 4552 1312 ? Ss Apr13 0:00 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp
root 3294 0.0 0.2 106568 1080 ? Ssl Apr13 0:00 /usr/sbin/nscd
mail 3301 0.0 0.2 8520 1316 ? Ss Apr13 0:00 /usr/sbin/exim -bd -q30m
root 3319 0.0 0.1 1972 580 ? Ss Apr13 0:00 /usr/sbin/cron
root 3365 0.0 1.4 55068 7604 ? Ss Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
sa24 3375 0.0 0.7 55068 3772 ? S Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
sa24 3376 0.0 0.7 55068 3760 ? S Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
sa24 3377 0.0 0.7 55068 3760 ? S Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
sa24 3378 0.0 0.7 55068 3760 ? S Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
sa24 3382 0.0 0.7 55068 3760 ? S Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
root 3386 0.0 5.5 31448 28520 ? Ss Apr13 0:00 /usr/sbin/spamd -d -q -x -L -u spamd -r /var/run/spamd.pid
spamd 3390 0.0 5.3 31448 27304 ? S Apr13 0:00 spamd child
spamd 3391 0.0 5.2 31448 27200 ? S Apr13 0:00 spamd child
root 3399 0.0 0.1 2056 636 tty1 Ss+ Apr13 0:00 /sbin/mingetty --noclear tty1
root 3403 0.0 0.1 2056 640 tty2 Ss+ Apr13 0:00 /sbin/mingetty tty2
root 3404 0.0 0.1 2060 640 tty3 Ss+ Apr13 0:00 /sbin/mingetty tty3
root 3408 0.0 0.1 2056 636 tty4 Ss+ Apr13 0:00 /sbin/mingetty tty4
root 3410 0.0 0.1 2060 640 tty5 Ss+ Apr13 0:00 /sbin/mingetty tty5
root 3416 0.0 0.1 2056 636 tty6 Ss+ Apr13 0:00 /sbin/mingetty tty6
root 3428 0.0 0.0 1584 500 ttyS0 Ss+ Apr13 0:00 /sbin/agetty -L 57600 ttyS0 vt102
root 3471 0.0 0.0 0 0 ? S< Apr13 0:00 [kauditd]
root 10749 0.0 0.3 4416 1736 ? S Apr13 0:00 /usr/sbin/powersaved -d -f /var/run/acpid.socket -v 3
root 11767 0.0 1.5 55644 7804 ? Ss Apr13 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -DMAILMAN
root 11768 0.0 0.0 1632 452 ? S Apr13 0:00 /usr/local/sa24/cronolog/cronolog --symlink=/usr/local/sa24/logfiles/pestalozzischule-lamper
root 11769 0.0 0.0 1636 460 ? S Apr13 0:00 /usr/local/sa24/cronolog/cronolog --symlink=/usr/local/sa24/logfiles/schule-ratgeber.de/acce
root 11770 0.0 0.0 1636 456 ? S Apr13 0:00 /usr/local/sa24/cronolog/cronolog --symlink=/usr/local/sa24/logfiles/rehmann-software.de/acc
wwwrun 15989 0.0 0.9 56044 4956 ? S 09:59 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -DMAILMAN
501 16029 0.2 3.0 26784 15912 ? S 10:05 0:30 /srv/www/cgi-bin/php5
root 17772 0.0 0.5 9428 2800 ? Ss 12:53 0:00 sshd: root@pts/0
root 17787 0.0 0.3 4280 1944 pts/0 Ss 12:54 0:00 -bash
wwwrun 18413 0.1 0.9 55908 4824 ? S 12:56 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -DMAILMAN
wwwrun 18430 0.0 0.9 55908 4800 ? S 12:58 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -DMAILMAN
root 18470 0.0 0.1 2484 864 pts/0 R+ 13:01 0:00 ps aux
Wenn ich mir das nun genau anschaue, macht es den Anschein, dass hier zwei Apache Dienste laufen. Zumindest, weil sie mit unterschiedlichen httpd.conf geladen werden.
Einmal
Code:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.sa24.conf -DSSL -DMAILMAN
Code:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -DMAILMAN
Beide werden wohl mit unterschiedlichen Konfigurationen geladen, woraus ich ableite, dass auch zwei Apache Dienste gestartet sind.
Sehe ich das richtig?
Wenn ich mir in yast die geladenen Dienste anschaue, finde ich auch zwei gestartete Apaches:
Code:
apache2 │Ja │ │ │ │ │3│5│ │ │Apache 2.2 httpd
│apache2.sa24 │Ja │ │ │ │ │3│5│ │ │Apache2 httpd
Ist das denn normal?
Beide benutzen dei gleiche server-tuning.conf....
Habe ich dadurch den Vorteil, dass ich den "www-run" Apache von den modulen her ander konfigurieren kann, als den SA24 Apache?
Bzw. ist es nicht ausreichend, wenn ein Apache läuft?
Ich hoffe ihr könnt Licht ins Dunkle bringen!
Gruß,
gammla