Extra Form
PHP PHP 7.4
CMS Rhymix 2.1

이미지 업로드할때 딜레이가 심해서 속도테스를 해봤습니다. 구글링했습니다. 서버에 대해 무지랭이라 -_-

 

root@myserver:~# smartctl -q errorsonly -H -l selftest -l error /dev/sda
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
194 Temperature_Celsius     0x0022   066   037   050    Old_age   Always   In_the_past 34 (Min/Max 24/63)

Warning: ATA error count 0 inconsistent with error log pointer 2

ATA Error Count: 0
Error 0 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
Error -4 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)

 

마지막에 Error -4 가 걸리는데요 문제 없을까요?

지금보면 떠 업로드는 잘되기는 합니다. 0__0

 

===================================================

root@myserver:~# smartctl -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-19-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT480BX500SSD1
Serial Number:    1833E152E117
LU WWN Device Id: 0 000000 000000000
Firmware Version: M6CR013
User Capacity:    480,103,981,056 bytes [480 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
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.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Mar 13 10:26:17 2023 KST
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
See vendor-specific Attribute list for marginal Attributes.

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:                    (0x11) 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.
                                        No Selective Self-test supported.
SMART capabilities:            (0x0002) Does not save 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:        (  10) 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
  1 Raw_Read_Error_Rate     0x002f   100   100   050    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   050    Old_age   Always       -       17807
 12 Power_Cycle_Count       0x0032   100   100   050    Old_age   Always       -       184
171 Program_Fail_Count      0x0032   100   100   050    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   050    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   050    Old_age   Always       -       73
174 Unexpect_Power_Loss_Ct  0x0032   100   100   050    Old_age   Always       -       110
180 Unused_Reserve_NAND_Blk 0x0032   100   100   050    Old_age   Always       -       100
183 SATA_Interfac_Downshift 0x0032   100   100   050    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   050    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   050    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   072   037   050    Old_age   Always   In_the_past 28 (Min/Max 24/63)
196 Reallocated_Event_Count 0x0032   100   100   050    Old_age   Always       -       0
197 Current_Pending_ECC_Cnt 0x0032   100   100   050    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   050    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   050    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   096   096   001    Old_age   Offline      -       96
206 Write_Error_Rate        0x002e   100   100   050    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   050    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   050    Old_age   Always       -       15580030797
247 Host_Program_Page_Count 0x0032   100   100   050    Old_age   Always       -       486875962
248 FTL_Program_Page_Count  0x0032   100   100   050    Old_age   Always       -       648454144

SMART Error Log Version: 1
Warning: ATA error count 0 inconsistent with error log pointer 2

ATA Error Count: 0
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 0 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 00 00 00 00 00 00   at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 60 48 0c f9 00 00      00:00:00.000  READ FPDMA QUEUED
  60 08 60 48 0c f9 00 00      00:00:00.000  READ FPDMA QUEUED
  60 08 60 48 0c f9 00 00      00:00:00.000  READ FPDMA QUEUED
  60 00 38 00 48 26 00 00      00:00:00.000  READ FPDMA QUEUED
  60 00 38 00 48 26 00 00      00:00:00.000  READ FPDMA QUEUED

Error -4 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 00 00 00 00 00 00   at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 08 c8 e0 05 e6 40 08      00:00:00.000  WRITE FPDMA QUEUED
  61 08 50 b8 c2 d5 40 08      00:00:00.000  WRITE FPDMA QUEUED
  ea 00 00 00 00 00 a0 08      00:00:00.000  FLUSH CACHE EXT
  ec 00 01 00 00 00 00 08      00:00:00.000  IDENTIFY DEVICE
  61 08 08 50 a4 f3 40 08      00:00:00.000  WRITE FPDMA QUEUED

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

Selective Self-tests/Logging not supported
 

  • profile
    소프트웨어 문제겠죠.. 설마 하드디스크 문제일까요
  • profile ?
    아 감사합니다
  • profile
    파일을 직접 쓰는 테스트를 해보시고(dd 등... 구글링해보시면 나올겁니다) 해당 명령어 실행시에도 쓰기속도가 느리면 하드 문제가 맞고 아니라면 소프트웨어 문제인겁니다. 라이믹스라면 애드온이나 모듈에 문제가 있어 첨부 이후 첨부파일 처리에 시간이 오래 걸릴수 있습니다.
  • profile ?
    넵 감사드립니다.
  • profile
    혹시 유료 "이미지 최적화 모듈" 사용하시나요? 저는 얼마전에 구입해서 사용하다가 사진 업로드 후 2~3초 정도 딜레이 생겨서 끄고 하니 바로 업로드 되더군요. 라이트세일 사용하는데 코어가 낮아서 그럴수 있을거라 생각합니다 ^^; CPU문제인지 모듈문제인지 나중에 상품 업그레이드 하면 다시 한 번 켜보려고 합니다.
  • profile ?
    아뇨 다른 모듈은 사용하지 않습니다. 이미지크기를 살펴보니 해상도가 4096 이었던가 하더라고요. 그래서 1024로 줄였는데 잘됩니다.