Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witajcie. Od dluzszego czasu zaobserwowałem niepokojące objawy w postaci ogromnych loadów przy niewielkim ruchu WWW. Zrobiłem test dysku. Czy mam się czym martwić?
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: SanDisk based SSDs Device Model: SanDisk SDSSDP128G Serial Number: 151595404831 LU WWN Device Id: 5 001b44 e575f4a1f Firmware Version: 3.2.0 User Capacity: 126,035,288,064 bytes [126 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 1.8 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 T13/2015-D revision 3 SATA Version is: SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s) Local Time is: Thu May 4 08:51:31 2017 CEST 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: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 120) seconds. Offline data collection capabilities: (0x51) SMART execute Offline immediate. No Auto Offline data collection support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. No 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: ( 2) minutes. Extended self-test routine recommended polling time: ( 21) minutes. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0002 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0002 100 100 000 Old_age Always - 15754 12 Power_Cycle_Count 0x0002 100 100 000 Old_age Always - 71 165 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 2255913 171 Program_Fail_Count 0x0002 100 100 000 Old_age Always - 0 172 Erase_Fail_Count 0x0002 100 100 000 Old_age Always - 0 173 Avg_Write_Erase_Ct 0x0002 100 100 000 Old_age Always - 577 174 Unexpect_Power_Loss_Ct 0x0002 100 100 000 Old_age Always - 24 187 Reported_Uncorrect 0x0002 100 100 000 Old_age Always - 0 194 Temperature_Celsius 0x0022 075 025 000 Old_age Always - 25 (Min/Max 13/42) 230 Perc_Write_Erase_Count 0x0002 100 100 000 Old_age Always - 1923 232 Perc_Avail_Resrvd_Space 0x0003 100 100 005 Pre-fail Always - 0 234 Perc_Write_Erase_Ct_BC 0x0002 100 100 000 Old_age Always - 2044 241 Total_LBAs_Written 0x0002 100 100 000 Old_age Always - 32459026418 242 Total_LBAs_Read 0x0002 100 100 000 Old_age Always - 14256076189 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] 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
Offline
Coś dziwnie Ci raportuje atrybut 241- ale może Sandisk inaczej interpretuje ilość zapisanych danych?
Dla mojego [tt]Device Model: KINGSTON SUV400S37120G[/tt] przy [tt] 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 4004
[/tt] mam [tt]241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 2961[/tt]
Czyli przy prawie czterokrotnie większej ilości motogodzin masz na oko 11 milionów razy więcej przejechanych danych? XD
Tak ze smarta dysk wydaje się być w porządku, martwi trochę jego obsługa ([tt]174 Unexpect_Power_Loss_Ct 0x0002 100 100 000 Old_age Always - 24[/tt]), no ale niech pierwszy rzuci kamień kto nie wyszarpał prądu ze serwera w biegu xD
Loady obserwuj topem a na drugiej konsoli iotopem- będziesz miał przynajmniej jakiś pogląd na to co się dzieje w systemie.
W jakiej konfiguracji ten dysk działa (raid?) i z jakimi opcjami jest montowany?
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00102 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.14.135.82' WHERE u.id=1 |
0.00076 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.14.135.82', 1732222066) |
0.00044 | SELECT * FROM punbb_online WHERE logged<1732221766 |
0.00048 | SELECT topic_id FROM punbb_posts WHERE id=310563 |
0.00088 | SELECT id FROM punbb_posts WHERE topic_id=29554 ORDER BY posted |
0.00061 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=29554 AND t.moved_to IS NULL |
0.00012 | SELECT search_for, replace_with FROM punbb_censoring |
0.00076 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=29554 ORDER BY p.id LIMIT 0,25 |
0.01253 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29554 |
Total query time: 0.01774 s |