1000ende Prozesse per ps ax ?!

Apache, Lighttpd, nginx, Cherokee
Post Reply
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

1000ende Prozesse per ps ax ?!

Post by derdemo »

Hallo,

noch einmal eine frage

hist es normal das wenn ich mit
ps ax
laufende prozesse abfrage innerhalb von einer minute jede menge weitere einträge bekomme ?


kurzer auszug:

Code: Select all

PID TTY      STAT   TIME COMMAND
    1 ?        S      0:06 init [3]
    2 ?        SW     0:00 [keventd]
    3 ?        SWN    0:00 [ksoftirqd_CPU0]
    4 ?        SW     0:01 [kswapd]
    5 ?        SW     0:00 [bdflush]
    6 ?        SW     0:00 [kupdated]
   10 ?        SW     0:00 [khubd]
   11 ?        SW     0:00 [kjournald]
   56 ?        SW     0:00 [kjournald]
  536 ?        S      0:00 /sbin/dhcpcd -H -D -N -t 999999 -h linux eth0
  603 ?        S      0:00 /sbin/syslogd -a /var/lib/named/dev/log
  606 ?        S      0:00 /sbin/klogd -c 1 -2
  616 ?        S      0:00 /usr/sbin/saslauthd -a pam
  617 ?        S      0:00 /usr/sbin/saslauthd -a pam
  618 ?        S      0:00 /usr/sbin/saslauthd -a pam
  619 ?        S      0:00 /usr/sbin/saslauthd -a pam
  620 ?        S      0:00 /usr/sbin/saslauthd -a pam
  630 ?        S      0:00 /sbin/portmap
  676 ?        S      0:00 /sbin/startpar -f -- /etc/init.d/rc3.d/S12named
  679 ?        S      0:00 /usr/sbin/xinetd
  680 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  681 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  682 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  683 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  684 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  689 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid
  729 ?        S      0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
  737 ?        S      0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-fi
  746 ?        S      0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-fi
  747 ?        S      0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-fi
  903 ?        S      0:00 /usr/lib/postfix/master
  908 ?        S      0:00 pickup -l -t fifo -u
  909 ?        S      0:00 qmgr -l -t fifo -u
  921 ?        S      0:00 trivial-rewrite -n rewrite -t unix -u
 1006 ?        S      0:00 /usr/sbin/nscd
 1007 ?        S      0:00 /usr/sbin/nscd
 1008 ?        S      0:00 /usr/sbin/nscd
 1009 ?        S      0:00 /usr/sbin/nscd
 1010 ?        S      0:00 /usr/sbin/nscd
 1011 ?        S      0:00 /usr/sbin/cron
 1014 ?        S      0:00 /usr/sbin/nscd
 1015 ?        S      0:00 /usr/sbin/nscd
 1017 tty1     S      0:00 /sbin/mingetty --noclear tty1
 1018 tty2     S      0:00 /sbin/mingetty tty2
 1019 tty3     S      0:00 /sbin/mingetty tty3
 1020 tty4     S      0:00 /sbin/mingetty tty4
 1021 tty5     S      0:00 /sbin/mingetty tty5
 1022 tty6     S      0:00 /sbin/mingetty tty6
 1023 ttyS0    S      0:00 /sbin/agetty -L 57600 ttyS0 vt102
 1024 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1025 ?        S      0:00 /usr/bin/perl /root/confixx/pipelog.pl
 1087 ?        S      0:00 sshd: root@pts/0
 1089 ?        S      0:00 sshd: root@pts/0
 1091 pts/0    S      0:00 -bash
 1577 ?        S      0:00 proxymap -t unix -u
 1586 ?        S      0:03 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1616 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1623 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1626 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1644 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1648 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1653 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1660 ?        S      0:04 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1663 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1664 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1667 ?        S      0:03 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1680 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1703 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1726 ?        S      0:00 vsftpd
 1728 ?        S      0:00 vsftpd
 1731 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1733 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1741 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1743 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1744 ?        S      0:00 vsftpd
 1746 ?        S      0:00 vsftpd
 1755 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1758 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1767 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1790 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1797 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1800 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1806 ?        S      0:00 smtpd -n smtp -t inet -u
 1808 ?        S      0:00 smtpd -n smtp -t inet -u
 1809 ?        S      0:00 cleanup -z -t unix -u
 1810 ?        S      0:00 cleanup -z -t unix -u
 1811 ?        S      0:00 local -t unix
 1812 ?        S      0:00 local -t unix
 1813 ?        S      0:00 bounce -z -t unix -u
 1814 ?        S      0:00 smtp -t unix -u
 1815 ?        S      0:00 smtp -t unix -u
 1816 ?        S      0:00 smtp -t unix -u
 1817 ?        S      0:00 smtp -t unix -u
 1826 ?        S      0:00 sshd: root@pts/6
 1828 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1829 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1833 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1834 ?        S      0:00 sshd: root@pts/6
 1842 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1844 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1845 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1848 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1860 pts/6    S      0:00 -bash
 1878 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1879 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1880 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1882 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1883 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1886 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1890 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1891 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1893 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1894 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1895 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1897 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1902 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1906 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1907 ?        Z      0:00 [cron] <defunct>
 1908 ?        Z      0:00 [cron] <defunct>
 1929 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1930 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1931 ?        Z      0:00 [httpd2-prefork] <defunct>
 1932 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1933 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1935 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1936 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1937 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1938 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1939 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1940 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1941 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1942 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1944 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1945 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1946 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1947 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1948 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1949 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1955 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1961 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1962 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
 1968 ?        S      0:00 popper -s
 1969 pts/6    R      0:00 ps ax


nach ca. 2 min:

Code: Select all

PID TTY      STAT   TIME COMMAND
    1 ?        S      0:06 init [3]
    2 ?        SW     0:00 [keventd]
    3 ?        SWN    0:00 [ksoftirqd_CPU0]
    4 ?        SW     0:02 [kswapd]
    5 ?        SW     0:00 [bdflush]
    6 ?        SW     0:00 [kupdated]
   10 ?        SW     0:00 [khubd]
   11 ?        SW     0:00 [kjournald]
   56 ?        SW     0:00 [kjournald]
  536 ?        S      0:00 /sbin/dhcpcd -H -D -N -t 999999 -h linux eth0
  603 ?        S      0:00 /sbin/syslogd -a /var/lib/named/dev/log
  606 ?        S      0:00 /sbin/klogd -c 1 -2
  616 ?        S      0:00 /usr/sbin/saslauthd -a pam
  617 ?        S      0:00 /usr/sbin/saslauthd -a pam
  618 ?        S      0:00 /usr/sbin/saslauthd -a pam
  619 ?        S      0:00 /usr/sbin/saslauthd -a pam
  620 ?        S      0:00 /usr/sbin/saslauthd -a pam
  630 ?        S      0:00 /sbin/portmap
  676 ?        S      0:00 /sbin/startpar -f -- /etc/init.d/rc3.d/S12named
  679 ?        S      0:00 /usr/sbin/xinetd
  680 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  681 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  682 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  683 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  684 ?        S      0:00 /usr/sbin/named -t /var/lib/named -u named
  689 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=
  729 ?        S      0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
  737 ?        S      0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
  746 ?        S      0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
  747 ?        S      0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
  903 ?        S      0:00 /usr/lib/postfix/master
  908 ?        S      0:00 pickup -l -t fifo -u
  909 ?        S      0:00 qmgr -l -t fifo -u
  921 ?        S      0:00 trivial-rewrite -n rewrite -t unix -u
 1006 ?        S      0:00 /usr/sbin/nscd
 1007 ?        S      0:00 /usr/sbin/nscd
 1008 ?        S      0:00 /usr/sbin/nscd
 1009 ?        S      0:00 /usr/sbin/nscd
 1010 ?        S      0:00 /usr/sbin/nscd
 1011 ?        S      0:00 /usr/sbin/cron
 1014 ?        S      0:00 /usr/sbin/nscd
 1015 ?        S      0:00 /usr/sbin/nscd
 1017 tty1     S      0:00 /sbin/mingetty --noclear tty1
 1018 tty2     S      0:00 /sbin/mingetty tty2
 1019 tty3     S      0:00 /sbin/mingetty tty3
 1020 tty4     S      0:00 /sbin/mingetty tty4
 1021 tty5     S      0:00 /sbin/mingetty tty5
 1022 tty6     S      0:00 /sbin/mingetty tty6
 1023 ttyS0    S      0:00 /sbin/agetty -L 57600 ttyS0 vt102
 1024 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1025 ?        S      0:01 /usr/bin/perl /root/confixx/pipelog.pl
 1087 ?        S      0:00 sshd: root@pts/0
 1089 ?        S      0:00 sshd: root@pts/0
 1091 pts/0    S      0:00 -bash
 1664 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1680 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1726 ?        S      0:00 vsftpd
 1728 ?        S      0:00 vsftpd
 1743 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1767 ?        S      0:03 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1797 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1806 ?        S      0:00 smtpd -n smtp -t inet -u
 1809 ?        S      0:00 cleanup -z -t unix -u
 1810 ?        S      0:00 cleanup -z -t unix -u
 1811 ?        S      0:00 local -t unix
 1813 ?        S      0:00 bounce -z -t unix -u
 1816 ?        S      0:00 smtp -t unix -u
 1826 ?        S      0:00 sshd: root@pts/6
 1834 ?        S      0:00 sshd: root@pts/6
 1848 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1860 pts/6    S      0:00 -bash
 1897 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1906 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1938 ?        S      0:04 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 1946 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2019 ?        S      0:03 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2020 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2040 ?        S      0:00 vsftpd
 2042 ?        S      0:00 vsftpd
 2047 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2070 ?        S      0:00 smtp -t unix -u
 2075 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2086 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2095 ?        Z      0:01 [httpd2-prefork] <defunct>
 2100 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2111 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2133 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2139 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2150 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2154 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2156 ?        S      0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2158 ?        S      0:00 vsftpd
 2159 ?        S      0:00 vsftpd
 2163 ?        S      0:00 vsftpd
 2164 ?        S      0:00 vsftpd
 2174 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2175 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2178 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2187 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2190 ?        S      0:00 smtp -t unix -u
 2191 ?        S      0:00 smtp -t unix -u
 2198 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2207 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2208 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2215 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2217 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2223 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2227 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2235 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2245 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2246 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2248 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2250 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2251 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2252 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2253 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2254 ?        R      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2256 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2264 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
 2266 ?        S      0:00 sshd: root@pts/7
 2267 ?        S      0:00 vsftpd
 2268 ?        S      0:00 vsftpd
 2271 ?        S      0:00 vsftpd
 2272 ?        S      0:00 vsftpd
 2273 ?        S      0:00 sshd: root@pts/7
 2275 ?        S      0:00 bounce -z -n defer -t unix -u
 2276 ?        S      0:00 flush -z -t unix -u
 2277 ?        Z      0:00 [cron] <defunct>
 2280 pts/7    S      0:00 -bash
 2297 ?        S      0:00 popper -s
 2300 pts/7    R      0:00 ps ax
mit der folge das der server schon mehrmal abgeschmiert ist ?!

jemand eine idee ?!

gruss dennis
bungeebug
Posts: 187
Joined: 2004-04-14 10:08
 

Re: 1000ende Prozesse per ps ax ?!

Post by bungeebug »

also entweder hast du richtig viele Benutzer und das ist richtig so oder deine Config is falsch :)

:arrow: MaxChilds oder so dürfte die Option heißen.
maexle
Posts: 28
Joined: 2003-06-12 15:53
 

Re: 1000ende Prozesse per ps ax ?!

Post by maexle »

Hast du irgendeine Software à la Confixx oder Visas am laufen? Diese Programme starten so alle 5 Minuten den Apachen neu, sollten diesen aber i.d.R. davor beenden (bzw. einfach restarten), was bei dir anscheinend nicht der Fall ist.

Oder soll der webserver 25mal gestartet sein?
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

...gestartet oder user

Post by derdemo »

hallo,
erst einmal vielen dank für die schnellen antworten... :)

also das der indianer 25 gestartet wurde kann ich eigentlich ausschliessen...

viele benutzer ?!
könnte sein, je nach dem welche ihr meint.

confixx user existieren 9

besucher auf webseite (bzw. zugriffe auf seiten) würde hinhauen...

jetzt ist nur die frage was sagt mir dieser eintrag aus ?!

Code: Select all

 1940 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL 

gruss dennis
bungeebug
Posts: 187
Joined: 2004-04-14 10:08
 

Re: 1000ende Prozesse per ps ax ?!

Post by bungeebug »

Hi,

das dürfte nen normales schlafendes Indianer Kind sein ... mach doch mal bitte nen "px faux" dann sieht man, ob der Apache wirklich öffter läuft als gewollt oder ob das nur Kinder sind.
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: 1000ende Prozesse per ps ax ?!

Post by alexander newald »

poste mal

pstree

Ansonsten sind das auch nicht soviele Prozesse
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

Re: 1000ende Prozesse per ps ax ?!

Post by derdemo »

hier mal der gewünschte auszug...

Code: Select all

 # pstree
init-+-agetty
     |-bdflush
     |-cron
     |-dhcpcd
     |-httpd2-prefork-+-53*[httpd2-prefork]
     |                `-pipelog.pl
     |-keventd
     |-khubd
     |-2*[kjournald]
     |-klogd
     |-ksoftirqd_CPU0
     |-kswapd
     |-kupdated
     |-master-+-4*[bounce]
     |        |-2*[cleanup]
     |        |-flush
     |        |-2*[local]
     |        |-pickup
     |        |-proxymap
     |        |-qmgr
     |        |-21*[smtp]
     |        |-smtpd
     |        `-trivial-rewrite
     |-6*[mingetty]
     |-mysqld_safe---mysqld---mysqld---mysqld
     |-named---named---3*[named]
     |-nscd---nscd---5*[nscd]
     |-portmap
     |-saslauthd---4*[saslauthd]
     |-sshd---sshd-+-bash---pstree
     |             `-sshd
     |-startpar
     |-syslogd
     `-xinetd

direkt nach neustart, da server wieder abgekracht.... :(

gruss dennis
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

weitere infos...

Post by derdemo »

hier noch auszug von ps ax:
# ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:06 init [3]
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:00 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
10 ? SW 0:00 [khubd]
11 ? SW 0:00 [kjournald]
56 ? SW 0:00 [kjournald]
536 ? S 0:00 /sbin/dhcpcd -H -D -N -t 999999 -h linux eth0
603 ? S 0:00 /sbin/syslogd -a /var/lib/named/dev/log
606 ? S 0:00 /sbin/klogd -c 1 -2
616 ? S 0:00 /usr/sbin/saslauthd -a pam
617 ? S 0:00 /usr/sbin/saslauthd -a pam
618 ? S 0:00 /usr/sbin/saslauthd -a pam
619 ? S 0:00 /usr/sbin/saslauthd -a pam
620 ? S 0:00 /usr/sbin/saslauthd -a pam
630 ? S 0:00 /sbin/portmap
676 ? S 0:00 /sbin/startpar -f -- /etc/init.d/rc3.d/S12named
679 ? S 0:00 /usr/sbin/xinetd
684 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=
689 ? S 0:00 /usr/sbin/named -t /var/lib/named -u named
693 ? S 0:00 /usr/sbin/named -t /var/lib/named -u named
694 ? S 0:00 /usr/sbin/named -t /var/lib/named -u named
695 ? S 0:00 /usr/sbin/named -t /var/lib/named -u named
696 ? S 0:00 /usr/sbin/named -t /var/lib/named -u named
731 ? S 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
733 ? S 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
745 ? S 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
746 ? S 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
915 ? S 0:00 /usr/lib/postfix/master
919 ? S 0:00 pickup -l -t fifo -u
920 ? S 0:00 qmgr -l -t fifo -u
934 ? S 0:00 trivial-rewrite -n rewrite -t unix -u
940 ? S 0:00 smtp -t unix -u
950 ? S 0:00 smtp -t unix -u
951 ? S 0:00 smtp -t unix -u
952 ? S 0:00 smtp -t unix -u
953 ? S 0:00 smtp -t unix -u
954 ? S 0:00 smtp -t unix -u
955 ? S 0:00 smtp -t unix -u
956 ? S 0:00 smtp -t unix -u
957 ? S 0:00 smtp -t unix -u
958 ? S 0:00 smtp -t unix -u
959 ? S 0:00 smtp -t unix -u
960 ? S 0:00 smtp -t unix -u
961 ? S 0:00 smtp -t unix -u
962 ? S 0:00 smtp -t unix -u
963 ? S 0:00 smtp -t unix -u
964 ? S 0:00 smtp -t unix -u
965 ? S 0:00 bounce -z -n defer -t unix -u
966 ? S 0:00 smtp -t unix -u
967 ? S 0:00 bounce -z -n defer -t unix -u
968 ? S 0:00 flush -z -t unix -u
969 ? S 0:00 smtp -t unix -u
970 ? S 0:00 smtp -t unix -u
971 ? S 0:00 smtp -t unix -u
972 ? S 0:00 smtp -t unix -u
1003 ? S 0:00 /usr/sbin/cron
1008 ? S 0:00 /usr/sbin/nscd
1009 ? S 0:00 /usr/sbin/nscd
1010 ? S 0:00 /usr/sbin/nscd
1011 ? S 0:00 /usr/sbin/nscd
1012 ? S 0:00 /usr/sbin/nscd
1013 ? S 0:00 /usr/sbin/nscd
1014 ? S 0:00 /usr/sbin/nscd
1016 tty1 S 0:00 /sbin/mingetty --noclear tty1
1017 tty2 S 0:00 /sbin/mingetty tty2
1018 tty3 S 0:00 /sbin/mingetty tty3
1019 tty4 S 0:00 /sbin/mingetty tty4
1020 tty5 S 0:00 /sbin/mingetty tty5
1021 tty6 S 0:00 /sbin/mingetty tty6
1022 ttyS0 S 0:00 /sbin/agetty -L 57600 ttyS0 vt102
1023 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1024 ? S 0:00 /usr/bin/perl /root/confixx/pipelog.pl
1025 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1027 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1028 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1029 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1030 ? R 0:00 sshd: root@pts/0
1031 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1033 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1034 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1038 ? S 0:00 smtpd -n smtp -t inet -u
1039 ? S 0:00 proxymap -t unix -u
1041 ? S 0:00 local -t unix
1042 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1044 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1046 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1051 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1053 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1054 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1056 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1066 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1067 ? S 0:00 local -t unix
1070 ? S 0:00 sshd: root@pts/0
1072 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1074 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1076 pts/0 S 0:00 -bash
1100 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1101 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1103 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1104 ? D 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1105 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1107 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1109 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1130 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1137 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1139 ? S 0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1142 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1144 ? D 0:00 cleanup -z -t unix -u
1145 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1146 ? S 0:00 cleanup -z -t unix -u
1147 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1149 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1150 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1154 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1159 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1160 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1163 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1165 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1169 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1171 ? S 0:00 bounce -z -t unix -u
1172 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1173 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1175 ? D 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1177 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1178 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1181 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1182 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1183 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1186 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1188 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1189 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1190 ? S 0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1191 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1192 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1193 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1194 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1195 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1196 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1197 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1198 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1200 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1201 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1204 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1205 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1207 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1208 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1209 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1210 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1211 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1213 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1215 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1217 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1218 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1219 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1220 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1221 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1222 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1223 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1224 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1225 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1226 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1227 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1228 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1229 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1234 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1235 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1236 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1238 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1241 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1243 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1244 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1248 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1249 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1253 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1254 ? S 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
1255 ? S 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
1256 ? S 0:00 /USR/SBIN/CRON
1257 ? S 0:00 /root/confixx/confixx_counterscript.pl
1259 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1260 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1261 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1264 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1265 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1266 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1267 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1268 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1269 ? D 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1270 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1271 pts/0 R 0:00 ps ax
1272 ? D 0:00 popper -s
1273 ? D 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
1274 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1275 ? D 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
1276 ? R 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
1278 ? D 0:00 bounce -z -t unix -u
1279 ? R 0:00 cleanup -z -t unix -u
1280 ? S 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -
You have new mail in /var/mail/root
auch wieder nach ca. 2 min neugestartetem server (der server ist gaaaanz langsam...)


wenn ich jetzt noch befehl who ausführen möchte passiert gaaarnichts mehr....doch....nach ca. 2min ?!

ich versteh das nicht ...

System habe ich gestern "frisch" installiert !

kann es sein das evtl. zu viele zugriffe von extern kommen und der server einfach überlastet ist ?!

ansonsten irgend ein hardware defekt ?!

gruss dennis
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: 1000ende Prozesse per ps ax ?!

Post by Joe User »

1) Anpassen der httpd.conf:

Code: Select all

<IfModule prefork.c>
    StartServers         5
    MinSpareServers      5
    MaxSpareServers     10
    ServerLimit        150
    MaxClients         150
    MaxRequestsPerChild  0
</IfModule>
2) Anpassen der php.ini:

Code: Select all

sed 's/allow_persistent = On/allow_persistent = Off/g' -i /etc/php.ini
3) Apache restarten:

Code: Select all

/etc/init.d/apache2 restart
HTH
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

hab da was gefunden ?!

Post by derdemo »

hallo,

@JOE: hab deine sachen nohc nicht realisiert , war erst einmal auf der suche ...

und ich denke da hab ich was gefunden....

/var/log/messages
May 10 03:36:26 h4837 -- MARK --
May 10 03:56:26 h4837 -- MARK --
May 10 03:59:00 h4837 /USR/SBIN/CRON[22861]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
May 10 04:14:00 h4837 /USR/SBIN/CRON[23584]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.daily)
May 10 04:36:27 h4837 -- MARK --
May 10 04:56:39 h4837 -- MARK --
May 10 04:59:22 h4837 /USR/SBIN/CRON[25968]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
May 10 05:14:53 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:15:29 h4837 last message repeated 3 times
May 10 05:15:29 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:15:29 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:15:29 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:15:29 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:15:29 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:15:59 h4837 last message repeated 3 times
May 10 05:15:59 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:16:09 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:16:28 h4837 last message repeated 6 times
May 10 05:18:20 h4837 last message repeated 4 times
May 10 05:18:21 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0xf0/0)
May 10 05:18:26 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:18:26 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:18:26 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:22:40 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:22:50 h4837 last message repeated 3 times
May 10 05:22:50 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:22:51 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:23:03 h4837 last message repeated 2 times
May 10 05:23:03 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:23:04 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:24:32 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:24:33 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:24:33 h4837 kernel: VM: killing process smtp
May 10 05:24:33 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:24:33 h4837 kernel: VM: killing process confixx_counter
May 10 05:24:33 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:24:37 h4837 last message repeated 2 times
May 10 05:24:37 h4837 kernel: VM: killing process cron
May 10 05:24:37 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
May 10 05:24:37 h4837 last message repeated 2 times
May 10 05:25:21 h4837 last message repeated 6 times
May 10 05:25:21 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:25:21 h4837 kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
messages lines 1083-1125/1711 67%

....

und warn
May 10 01:55:28 h4837 postfix/smtp[16864]: warning: no MX host for redseven.de has a valid A record
May 10 03:02:08 h4837 postfix/smtp[20329]: warning: no MX host for redseven.de has a valid A record
May 10 03:58:21 h4837 postfix/smtpd[22836]: warning: 69.199.56.223: hostname CPE00045a99f5ac-CM0000397e045f.cpe.net.cable.rog
ers.com verification failed: Host not found
May 10 04:08:49 h4837 postfix/smtp[23356]: warning: no MX host for redseven.de has a valid A record
May 10 04:16:31 h4837 postfix/smtpd[23708]: warning: 65.19.225.47: hostname 65-19-225-47.dsl.3rivers.net verification failed:
Host not found
May 10 04:16:49 h4837 postfix/smtpd[23708]: warning: 24.177.27.21: hostname ip-wv-24-177-27-021.charterwv.net verification fa
iled: Host not found
May 10 04:56:31 h4837 postfix/smtpd[25560]: warning: 68.116.253.33: hostname 68.116.253.33.ts46v-02.dntn.tx.charter.com verif
ication failed: Host not found
May 10 05:15:29 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:15:59 h4837 last message repeated 2 times
May 10 05:18:26 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:18:47 h4837 postfix/master[903]: warning: unix_trigger_event: read timeout for service public/flush
May 10 05:22:50 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:23:03 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:24:33 h4837 kernel: VM: killing process smtp
May 10 05:24:33 h4837 kernel: VM: killing process confixx_counter
May 10 05:24:37 h4837 kernel: VM: killing process cron
May 10 05:24:44 h4837 postfix/master[903]: warning: process /usr/lib/postfix/smtp pid 26414 killed by signal 9
May 10 05:25:21 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:28:48 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:30:31 h4837 kernel: VM: killing process popper
May 10 05:30:35 h4837 kernel: VM: killing process vsftpd
May 10 05:30:35 h4837 kernel: VM: killing process popper
May 10 05:30:35 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:30:39 h4837 kernel: VM: killing process vsftpd
May 10 05:30:47 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:30:55 h4837 postfix/qmgr[11089]: fatal: watchdog timeout
May 10 05:32:22 h4837 postfix/master[903]: warning: process /usr/lib/postfix/qmgr pid 11089 exit status 1
May 10 05:36:11 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:36:13 h4837 kernel: VM: killing process smtpd
May 10 05:36:22 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:36:26 h4837 postfix/master[903]: warning: unix_trigger_event: read timeout for service public/flush
May 10 05:36:35 h4837 postfix/master[903]: warning: process /usr/lib/postfix/smtpd pid 26702 killed by signal 9
May 10 05:36:35 h4837 postfix/master[903]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
May 10 05:39:34 h4837 kernel: VM: killing process confixx_counter
May 10 05:42:15 h4837 kernel: VM: killing process confixx_counter
May 10 05:42:31 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:47:01 h4837 kernel: VM: killing process confixx_counter
May 10 05:48:42 h4837 kernel: VM: killing process httpd2-prefork
May 10 05:48:53 h4837 kernel: VM: killing process sh
warn lines 232-270/391 73%

also irgendwas ist da doch gegen 05:00 dort passiert ?!


vielleicht hilft das noch was ?!

gruss dennis
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: 1000ende Prozesse per ps ax ?!

Post by alexander newald »

Wieviel RAM hat der Rechner?
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

ram...

Post by derdemo »

Hi,

gerade wieder passiert :(

der rechner hat 512 Ram bei ca. 300 Prozessen gabs den crash...


war gleichzeitig mit top in der shell...

auszug: was ich noch sehen konnte...

Code: Select all

top - 15:19:34 up 30 min,  1 user,  load average: 124.69, 70.59, 31.30
Tasks: 319 total,   1 running, 318 sleeping,   0 stopped,   0 zombie
Cpu(s):  39.3% user,  60.7% system,   0.0% nice,   0.0% idle
Mem:    514388k total,   510076k used,     4312k free,     1132k buffers
Swap:   514072k total,   413864k used,   100208k free,    13356k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5789 wwwrun     9   0 13800  11m 4724 S  2.2  2.3   0:00.45 httpd2-prefork
  994 root      13   0  1132 1072  772 R  0.7  0.2   0:36.59 top
 6101 wwwrun    14   0 11276 9452 4640 S  0.7  1.8   0:00.61 httpd2-prefork
 5934 root      13   0  3888 3884 1284 D  0.4  0.8   0:00.27 confixx_counter
 6105 wwwrun    10   0 11960 9.9m 4636 S  0.4  2.0   0:00.27 httpd2-prefork
    4 root      12   0     0    0    0 S  0.3  0.0   0:05.57 kswapd
 6112 wwwrun    10   0 12488  10m 4616 S  0.3  2.1   0:00.33 httpd2-prefork
 5785 wwwrun    11   0 13664  11m 4836 D  0.3  2.3   0:01.32 httpd2-prefork
 5456 wwwrun    10   0 14312  11m 5664 D  0.2  2.3   0:00.57 httpd2-prefork
 6111 wwwrun    10   0 12532  10m 4620 S  0.2  2.1   0:00.23 httpd2-prefork
 5482 wwwrun    10   0 11740 6872 4852 D  0.2  1.3   0:00.33 httpd2-prefork
 5618 wwwrun    10   0 13104  10m 4832 D  0.2  2.2   0:03.07 httpd2-prefork
 5698 root      12   0  9668 9292 1408 S  0.2  1.8   0:00.96 confixx_counter
 6106 wwwrun    10   0 11956 9.9m 4636 D  0.2  2.0   0:00.28 httpd2-prefork
 6147 wwwrun    12   0  7320 5556 4280 S  0.2  1.1   0:00.04 httpd2-prefork
 5554 wwwrun    10   0 11712 8400 4844 D  0.1  1.6   0:00.27 httpd2-prefork
 6131 wwwrun     9   0 12064 9.9m 4428 D  0.1  2.0   0:00.08 httpd2-prefork
 6144 wwwrun    11   0 12024 9.8m 4436 D  0.1  2.0   0:00.03 httpd2-prefork
 3986 wwwrun    10   0 13252 5684 4848 D  0.1  1.1   0:02.50 httpd2-prefork
 4733 wwwrun     9   0 11928 5216 4692 D  0.1  1.0   0:01.57 httpd2-prefork
 5196 wwwrun     9   0 13100 5816 4868 D  0.1  1.1   0:00.79 httpd2-prefork
 5262 wwwrun    10   0 11032 5680 4952 D  0.1  1.1   0:00.67 httpd2-prefork
 5522 wwwrun    11   0 11692 7540 4848 D  0.1  1.5   0:00.33 httpd2-prefork
 5532 wwwrun    10   0 11688 7424 4844 D  0.1  1.4   0:00.32 httpd2-prefork
 6143 wwwrun    10   0 12024 9.8m 4428 D  0.1  2.0   0:00.02 httpd2-prefork
  851 root       9   0  1720 1396 1272 S  0.0  0.3   0:01.05 sshd
 1079 root      10   0   856  752  640 D  0.0  0.1   0:01.51 pipelog.pl
 4068 wwwrun     9   0 13696 5424 4836 D  0.0  1.1   0:01.87 httpd2-prefork
 4498 wwwrun     9   0 11932 6524 4812 D  0.0  1.3   0:01.15 httpd2-prefork
 4693 wwwrun     9   0 13404 6440 4684 D  0.0  1.3   0:03.78 httpd2-prefork
 4736 wwwrun     9   0 13232 5256 4680 D  0.0  1.0   0:02.18 httpd2-prefork
 4803 wwwrun    10   0 12424 8312 5640 D  0.0  1.6   0:00.36 httpd2-prefork
 4919 wwwrun    10   0 12448 5816 4824 D  0.0  1.1   0:01.67 httpd2-prefork
 4920 wwwrun     9   0 13696 6184 4808 D  0.0  1.2   0:02.72 httpd2-prefork
 4977 wwwrun     9   0 13692 6724 4828 D  0.0  1.3   0:01.42 httpd2-prefork
 5180 wwwrun    10   0 13656 5828 5120 D  0.0  1.1   0:01.00 httpd2-prefork
 5215 wwwrun    10   0 13212 8912 4848 D  0.0  1.7   0:01.09 httpd2-prefork
ps ax
You have new mail in /var/mail/root
Gruss dennis
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: 1000ende Prozesse per ps ax ?!

Post by Joe User »

Ã?ndere bitte die httpd.conf:

Code: Select all

<IfModule prefork.c>
    StartServers         5
    MinSpareServers      5
    MaxSpareServers     10
    ServerLimit        150
    MaxClients         150
    MaxRequestsPerChild  0
</IfModule>
Und die php.ini:

Code: Select all

mysql.allow_persistent = Off
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

Ã?nderungen durchgeführt...

Post by derdemo »

@joe: habe deine änderungen durchgeführt...

jetzt habe ich nur noch die frage an dich was die änderungen genau bewirken ?!

wenn ich es richtig verstanden habe werden die verbindungen (perfork) auf max 150 limitiert ?!

mit persistant SQL werden Sql verbindungen verwaltet d.h. nicht dauerhaft ?!

würde mich freuen wenn du das noch kurz erklären kannst, will ja dazulernen... :)

hoffe das wars dann ?!


gruss und nochmal danke dennis
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: 1000ende Prozesse per ps ax ?!

Post by Joe User »

PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

scheint als wäre es noch nicht erledigt...

Post by derdemo »

und nochmal...

gerade hat sich der server wieder verabschiedet....


obwohl ich die änderungen durchgeführt habe und den apache neu gestartet habe....

also mir fällt bald nichts mehr ein....


gruss dennis
kawfy
Posts: 307
Joined: 2002-08-08 23:45
 

mysql

Post by kawfy »

:!: schau dir doch mal mit "mysqladmin processlist" die laufenden Mysql-Queries an ... und bei top zeige mal per klick - äh - "druck" auf "M" die nach Speicherverbrauch sortierte Liste der Prozesse an.

:!: Dein Server ist am Anschlag. Ob jetzt, weil da zu viele WWW-Anfragen kommen oder weil es zu teure Mysql-Queries auf nicht optimierte Datenbanktabellen gibt, wird sich dann zeigen ...
derdemo
Posts: 43
Joined: 2004-11-15 20:04
 

erledigt !

Post by derdemo »

Hi @all,

hat sich mittlerweile erledigt...

die änderungen von JOE.. :wink: haben nach einem REBOOT anscheinend doch gefruchtet ! DANKE ! ! !
:)

gruss dennis
thegateway
Posts: 61
Joined: 2004-02-03 20:11
 

Re: 1000ende Prozesse per ps ax ?!

Post by thegateway »

wie mein apache bekommt inidaner kinder ?? muss ich nun kondome kaufen oder was ?
lord_pinhead
Posts: 774
Joined: 2004-04-26 15:57
 

Re: 1000ende Prozesse per ps ax ?!

Post by lord_pinhead »

Ja, pass auf die kleinen Racker auf, nicht das die deine Haftpflicht zu sehr strapazieren :D
xxbeginnerxx
Posts: 27
Joined: 2005-08-18 22:28
 

Re: 1000ende Prozesse per ps ax ?!

Post by xxbeginnerxx »

Schade das es solche Bereichte nie für deutschsprachige Anwender gibt.

Gruss
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: 1000ende Prozesse per ps ax ?!

Post by chris76 »

XXbeginnerXX wrote:
Schade das es solche Bereichte nie für deutschsprachige Anwender gibt.

Gruss
Nunja Englisch ist in der Administration unabdingbar. Du wirst damit immer konfrontiert sein.
Gruß Christian

BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
chaosad
Posts: 137
Joined: 2005-05-06 15:48
 

Re: 1000ende Prozesse per ps ax ?!

Post by chaosad »

versuchs doch mal mit dem link hier:

http://www.php.net/manual/de/features.p ... ctions.php
:wink:
Post Reply