Sziasztok
Van nekem egy apache webszerverem, amit http proxynak használok. Nincs betöltve semmilyen extrame modul, sem php, sem hasonló hogy a fent megjelölt [Segmentation fault (11)] hibát mondjuk egy hibás php script generálja. A logban ez látható:
[Tue Jun 24 10:50:12 2008] [notice] caught SIGTERM, shutting down [Tue Jun 24 10:50:16 2008] [notice] Apache/2.2.9 (Unix) configured -- resuming normal operations [Tue Jun 24 10:53:19 2008] [notice] SIGHUP received. Attempting to restart [Tue Jun 24 10:53:19 2008] [notice] Apache/2.2.9 (Unix) configured -- resuming normal operations [Tue Jun 24 10:55:58 2008] [notice] SIGHUP received. Attempting to restart [Tue Jun 24 10:55:58 2008] [notice] Apache/2.2.9 (Unix) configured -- resuming normal operations [Tue Jun 24 10:56:54 2008] [notice] child pid 6348 exit signal Segmentation fault (11) [Tue Jun 24 10:57:53 2008] [notice] SIGHUP received. Attempting to restart [Tue Jun 24 10:57:53 2008] [notice] Apache/2.2.9 (Unix) configured -- resuming normal operations [Tue Jun 24 10:59:10 2008] [notice] child pid 6647 exit signal Segmentation fault (11) [Tue Jun 24 11:10:17 2008] [notice] SIGHUP received. Attempting to restart [Tue Jun 24 11:10:17 2008] [notice] Apache/2.2.9 (Unix) configured -- resuming normal operations [Tue Jun 24 12:29:48 2008] [notice] child pid 10338 exit signal Segmentation fault (11) [Tue Jun 24 14:49:36 2008] [notice] child pid 16153 exit signal Segmentation fault (11) [Tue Jun 24 15:53:33 2008] [notice] child pid 19023 exit signal Segmentation fault (11) [Tue Jun 24 15:59:57 2008] [notice] child pid 19145 exit signal Segmentation fault (11) [Wed Jun 25 03:40:00 2008] [notice] child pid 3949 exit signal Segmentation fault (11) [Wed Jun 25 05:28:46 2008] [notice] child pid 7887 exit signal Segmentation fault (11) [Wed Jun 25 09:40:34 2008] [notice] child pid 12408 exit signal Segmentation fault (11) [Wed Jun 25 11:10:47 2008] [notice] child pid 16356 exit signal Segmentation fault (11) [Wed Jun 25 12:11:26 2008] [notice] child pid 18520 exit signal Segmentation fault (11) [Wed Jun 25 12:33:26 2008] [notice] child pid 19700 exit signal Segmentation fault (11) [Wed Jun 25 15:42:11 2008] [notice] child pid 26952 exit signal Segmentation fault (11) [Wed Jun 25 18:13:14 2008] [notice] child pid 32467 exit signal Segmentation fault (11) [Thu Jun 26 02:19:10 2008] [notice] child pid 9205 exit signal Segmentation fault (11) [Thu Jun 26 02:46:06 2008] [notice] child pid 10132 exit signal Segmentation fault (11) [Thu Jun 26 06:29:38 2008] [notice] child pid 18123 exit signal Segmentation fault (11) [Thu Jun 26 06:48:28 2008] [notice] child pid 18777 exit signal Segmentation fault (11) [Thu Jun 26 10:21:48 2008] [notice] child pid 27268 exit signal Segmentation fault (11) [Thu Jun 26 11:01:06 2008] [notice] child pid 28905 exit signal Segmentation fault (11) [Thu Jun 26 23:17:28 2008] [notice] child pid 18107 exit signal Segmentation fault (11) [Thu Jun 26 23:24:53 2008] [notice] caught SIGTERM, shutting down [Thu Jun 26 23:25:03 2008] [notice] Apache/2.2.9 (Unix) configured -- resuming normal operations
Volt már valakinek ilyen hibához szerencséje? A fő probléma nem a figyelmeztetés a logban hiszen a webszerver megy ettől függetlenül, hanem az, hogy beragad ettől 3-4 httpd process és 100%-on zabálja a cpu-t. A htop-ban a process elött pirossal ki van emelve az időpont, ez nem tudom mit tesz, de biztos nem normális.A apache forrásból lett lefordítva.
httpd.conf:
ServerRoot "/usr/local/apache" Listen 80 User www Group www ServerAdmin no@spam.thx ServerName www.xyx.eu:80 ServerSignature Off HostnameLookups Off ServerTokens Prod DocumentRoot "/home/www/www" AccessFileName .htaccess Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 ErrorLog "logs/error_log" LogLevel crit DefaultType text/plain LoadModule authz_host_module modules/mod_authz_host.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule evasive20_module modules/mod_evasive20.so «Directory "/home/www/www"» Options -Indexes +FollowSymLinks Allowoverride All Order allow,deny Allow from all «/Directory» «VirtualHost *» ServerAlias xyx.eu www.xyx.eu DocumentRoot /home/www/www/ ProxyRequests Off «Proxy *» Order deny,allow Allow from all «/Proxy» ProxyPass / balancer://xy/ nofailover=On ProxyPassReverse / http://www1.xyx.eu/ ProxyPassReverse / http://www2.xyx.eu/ «Proxy balancer://xy» BalancerMember http://www1.xyx.eu route=www1 BalancerMember http://www2.xyx.eu route=www2 ProxySet lbmethod=byrequests «/Proxy» «/VirtualHost» «IfModule mod_evasive20.c» DOSHashTableSize 3097 DOSPageCount 10 DOSSiteCount 100 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 10 DOSBlockingPeriod 600 «/IfModule»
Szerk: Idő közben megtaláltam a választ. Memória hibára utal a dolog. Lehet ez egy apache bug vagy tényleg hardware hiba? Nem egy gagyi szerverről van szó, sun szerver.
http://www.ayukov.com/essays/signal11.html
http://www.bitwizard.nl/sig11/
http://osdir.com/ml/debian.devel.apache/2002-07/msg00005.html
- 2121 megtekintés
Hozzászólások
Attól, hogy sun server nyílván ez is elromolhat. Azért én a te helyedben leellenőrízném a memóriát. Első ránázésre valóban az lehet a gond. Esetleg egy apache frissítés lehet, hogy segít. Ha apache hiba akkor valószínű, hogy már javították.
- A hozzászóláshoz be kell jelentkezni
Menet közben is lehet memtesztet futtatni? Vagy hogy nézzem meg?
- A hozzászóláshoz be kell jelentkezni
apt-get install memtester
- A hozzászóláshoz be kell jelentkezni
Memteszt-re semmi.. ez apache bug mert egy másik gépemen is tapasztalom. Csak hogy aki ide téved google-bol ne nagyon keresse tovább a hibát :-)
- A hozzászóláshoz be kell jelentkezni