← Back to team overview

sslug-teknik team mailing list archive

Apache problemer

 

Hej

Jeg har nogle mærkelige problemer med Apache på min webserver. Det er en
Redhat 6.2 med en del opdateringer. Jeg har selv compileret apache og
det har kørt fint ind til for omkring 2 måneder siden, hvor den begyndte
at lave mærkelige ting.

Først problem er at der er nogle defunct processer:
root     19027     1  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19053 19027  0 11:38 ?        00:00:06
/pack/apache-1.3.22/bin/httpd
nobody   19054 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19055 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19056 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19057 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19066 19027  0 11:38 ?        00:00:02
/pack/apache-1.3.22/bin/httpd
nobody   19069 19027  0 11:38 ?        00:00:06
/pack/apache-1.3.22/bin/httpd
nobody   19070 19027  0 11:38 ?        00:00:02
/pack/apache-1.3.22/bin/httpd
nobody   19071 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19074 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19075 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19076 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19077 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19078 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19079 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19080 19027  0 11:38 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   19083 19027  0 11:38 ?        00:00:04
/pack/apache-1.3.22/bin/httpd
nobody   19086 19027  0 11:38 ?        00:00:05
/pack/apache-1.3.22/bin/httpd
nobody   19092 19027  0 11:38 ?        00:00:09
/pack/apache-1.3.22/bin/httpd
nobody   19450 19092  0 11:49 ?        00:00:00 [httpd <defunct>]
nobody   19710 19092  0 12:01 ?        00:00:00 [httpd <defunct>]
nobody   19714 19083  0 12:02 ?        00:00:00 [httpd <defunct>]
nobody   19803 19083  0 12:11 ?        00:00:00 [httpd <defunct>]
nobody   20606 19092  0 13:16 ?        00:00:00 [httpd <defunct>]
nobody   22624 19092  0 15:44 ?        00:00:00 [httpd <defunct>]
nobody   23010 19083  0 16:18 ?        00:00:00 [httpd <defunct>]
nobody   23566 19092  0 17:01 ?        00:00:00 [httpd <defunct>]
nobody   24191 19069  0 18:02 ?        00:00:00 [httpd <defunct>]
nobody   24203 19053  0 18:05 ?        00:00:00 [httpd <defunct>]
nobody   24329 19027  0 18:21 ?        00:00:03
/pack/apache-1.3.22/bin/httpd
nobody   24330 19027  0 18:21 ?        00:00:02
/pack/apache-1.3.22/bin/httpd
nobody   24339 19027  0 18:24 ?        00:00:02
/pack/apache-1.3.22/bin/httpd
nobody   24371 19083  0 18:30 ?        00:00:00 [httpd <defunct>]
nobody   24389 19092  0 18:31 ?        00:00:00 [httpd <defunct>]
nobody   24430 19027  0 18:40 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   24482 19083  0 18:43 ?        00:00:00 [httpd <defunct>]
nobody   24483 19027  0 18:43 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   24484 19027  0 18:43 ?        00:00:01
/pack/apache-1.3.22/bin/httpd
nobody   24485 19027  0 18:43 ?        00:00:01
/pack/apache-1.3.22/bin/httpd
nobody   24832 19066  0 19:29 ?        00:00:00 [httpd <defunct>]
nobody   24890 19086  0 19:35 ?        00:00:00 [httpd <defunct>]
nobody   24964 19066  0 19:45 ?        00:00:00 [httpd <defunct>]
nobody   24999 19092  0 19:49 ?        00:00:00 [httpd <defunct>]
nobody   25075 19027  0 20:00 ?        00:00:00
/pack/apache-1.3.22/bin/httpd
nobody   25076 19066  0 20:00 ?        00:00:00 [httpd <defunct>]
nobody   25081 19027  0 20:01 ?        00:00:00
/pack/apache-1.3.22/bin/httpd

Det sjove/mærkelige er at det ikke er main apache processen der har
forket defunct processerne, men der i mod nogle childs - er det normalt?

Derudover laver apache nu og da en segmentation fault. Umiddelbart tror
jeg ikke det er relateret til ovenstående problem.

[Mon Feb  4 15:15:29 2002] [notice] child pid 19065 exit signal
Segmentation fault (11)
[Mon Feb  4 16:44:31 2002] [notice] child pid 19084 exit signal
Segmentation fault (11)
[Mon Feb  4 16:44:37 2002] [notice] child pid 19067 exit signal
Segmentation fault (11)
[Mon Feb  4 17:06:19 2002] [notice] child pid 19072 exit signal
Segmentation fault (11)
[Mon Feb  4 18:05:19 2002] [notice] child pid 19082 exit signal
Segmentation fault (11)
[Mon Feb  4 18:11:09 2002] [notice] child pid 19064 exit signal
Segmentation fault (11)
[Mon Feb  4 18:24:34 2002] [notice] child pid 19085 exit signal
Segmentation fault (11)
[Mon Feb  4 18:24:36 2002] [notice] child pid 19089 exit signal
Segmentation fault (11)
[Mon Feb  4 19:08:33 2002] [notice] child pid 19060 exit signal
Segmentation fault (11)
[Mon Feb  4 19:32:57 2002] [notice] child pid 19087 exit signal
Segmentation fault (11)

Er der nogen der har nogle gode ideer? Jeg har en mistanke om at det kan
være ram'en der fejler en gang i mellem....

Mvh
Ole Dalgaard



Follow ups