Probleme Festplatte, Absturz Apache

mattla93

New Member
Hallo,

vor kurzem ist Apache auf meinem Server abgestürzt:
Code:
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:02 2011] [emerg] (43)Identifier removed: couldn't grab the accept mutex
[Sat Oct 22 06:29:03 2011] [alert] Child 30653 returned a Fatal error... Apache is exiting!
[Sat Oct 22 06:29:06 2011] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Sat Oct 22 06:29:18 2011] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Sat Oct 22 06:29:21 2011] [emerg] (22)Invalid argument: couldn't release the accept mutex

In der Syslog sah ich dass Bind9 gestartet wurde, was aber ansich auch schon bei Systemstart starten sollte:
Code:
Oct 22 06:29:02 echo484 named[26314]: starting BIND 9.7.3 -t /var/named/run-root -c /etc/named.conf -u bind
Oct 22 06:29:02 echo484 named[26314]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS='
Oct 22 06:29:02 echo484 named[26314]: adjusted limit on open files from 1024 to 1048576
Oct 22 06:29:02 echo484 named[26314]: found 4 CPUs, using 4 worker threads
Oct 22 06:29:02 echo484 named[26314]: using up to 4096 sockets


auch drweb und postfix wurden zu diesem Zeitpunkt neu gestartet, diese waren aber vorher bereits gestartet.


Ausgabe apache -v
Code:
Server version: Apache/2.2.16 (Debian)
Server built:   Sep 29 2011 20:59:05
Server's Module Magic Number: 20051115:24
Server loaded:  APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/apache2"
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="mime.types"
 -D SERVER_CONFIG_FILE="apache2.conf"

Ich habe eher den Verdacht auf einen Festplattenfehler, aber im Kernel Log, Syslog konnte ich keine I/O oder andere derartige Fehler erkennen, ein long test von Smart ergab allerdings:
Code:
smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.11 family
Device Model:     ST31000333AS
Serial Number:    9TE11H9L
Firmware Version: BD25
User Capacity:    1,000,204,886,016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Sat Oct 22 11:42:44 2011 CEST

==> WARNING: There are known problems with these drives,
see the following Seagate web pages:
http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207931
http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207951
http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207957

SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 116)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		 ( 617) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 209) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x103b)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   117   099   006    Pre-fail  Always       -       157377467
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       14
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       4
  7 Seek_Error_Rate         0x000f   087   060   030    Pre-fail  Always       -       529325949
  9 Power_On_Hours          0x0032   079   079   000    Old_age   Always       -       18735
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       1
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       14
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   098   000    Old_age   Always       -       31
189 High_Fly_Writes         0x003a   001   001   000    Old_age   Always       -       180
190 Airflow_Temperature_Cel 0x0022   057   046   045    Old_age   Always       -       43 (Lifetime Min/Max 42/47)
194 Temperature_Celsius     0x0022   043   054   000    Old_age   Always       -       43 (0 17 0 0)
195 Hardware_ECC_Recovered  0x001a   024   023   000    Old_age   Always       -       157377467
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       40%     18721         1306937695
# 2  Extended offline    Interrupted (host reset)      90%     18719         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Wurde bei 60% nach einer Read Failure abgebrochen, sind aber 2 Platten im Raid verbunden, die andere hat den Manuellen Long test bestanden.

Überlastet ist der Server in keinster Weise, es ist nur eine Statische Seite drauf (Plesk 10).
Code:
server:~# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 0  0      0 6596036 128792 850576    0    0    74    14   55   41  1  0 99  0

Code:
free -m
             total       used       free     shared    buffers     cached
Mem:          7880       1438       6441          0        125        830
-/+ buffers/cache:        482       7398
Swap:         3903          0       3903


Ist das wirklich ein Plattenfehler, mir kommt komisch vor dass Apache dazu nicht mehr ausspuckt, in den Logs vom vhost gibts auch nicht mehr Informationen. Die Kiste ist bei server4you, und ich denke auch dass die mir keine Festplatte austauschen, mit diesen Logs.
 
Back
Top