무엇내 디스크 공간을 차지하고 있어서 정말 짜증이 납니다. 오늘 아침에 나는 "남은 공간 없음" 알림을 듣고 일어났고 몇 주 동안 내 디스크 공간을 잡아먹고 있던 것이 내 토렌트 파일이 아니라는 것을 깨달았습니다. du
파일 시스템을 확인한 결과 다음과 같은 내용을 발견했습니다 .
/var/log > du -hs * | sort -h
...
480M kern.log.2.gz
492M syslog.2.gz
719M kern.log.3.gz
737M syslog.3.gz
1,2G kern.log.4.gz
1,2G syslog.4.gz
4,0G journal
14G kern.log
14G syslog
19G kern.log.1
19G syslog.1
파일을 확인하고 그 내용에 놀랐습니다.
/var/log > tail -n 10000000 syslog.1 | uniq -cd -w9
163183 Nov 13 15:52:09 raul-cloud kernel: [421137.114299] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1241786 Nov 13 16:00:00 raul-cloud kernel: [421607.842156] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1226956 Nov 13 17:00:00 raul-cloud kernel: [425207.640228] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1227458 Nov 13 18:00:00 raul-cloud kernel: [428807.427407] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1226084 Nov 13 19:00:00 raul-cloud kernel: [432407.225316] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1244380 Nov 13 20:00:00 raul-cloud kernel: [436007.023373] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1229629 Nov 13 21:00:00 raul-cloud kernel: [439606.810409] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1239934 Nov 13 22:00:00 raul-cloud kernel: [443206.608482] pcieport 0000:00:01.3: PME: Spurious native interrupt!
1153889 Nov 13 23:00:00 raul-cloud kernel: [446806.406534] pcieport 0000:00:01.3: PME: Spurious native interrupt!
46701 Nov 14 00:00:00 raul-cloud kernel: [450406.193587] pcieport 0000:00:01.3: PME: Spurious native interrupt!
( kern.log.1
, syslog
그리고 kern.log
비슷한 줄이 있습니다)
매 시간마다 깨어나서 4개의 다른 파일에 120만 줄의 소름끼치는 대사를 외치는 이 괴물을 어떻게 죽일 수 있습니까?
아니면 더 심각한 문제로, 이 줄을 기록하는 것이 무엇인지 어떻게 확인하고, 이를 중지하며, 어떤 로그를 안전하게 삭제할 수 있습니까?
편집 1: 답변해주셔서 감사합니다. 저는 Linux/Unix에 무서운 생물이 없다는 것을 알고 있습니다. :D 저는 운영 체제의 새로운 풀타임 사용자이고 지금까지 모든 것이 (대부분) 잘 작동했기 때문에 약간 당황스럽습니다.
어쨌든 출력은 다음과 같습니다 lspci
.
/ > sudo lspci -vv -s 00:01.3
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin ? routed to IRQ 27
IOMMU group: 2
Bus: primary=00, secondary=03, subordinate=1f, sec-latency=0
I/O behind bridge: 0000f000-0000ffff [size=4K]
Memory behind bridge: f7500000-f76fffff [size=2M]
Prefetchable memory behind bridge: [disabled]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Port (Slot+), MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 8GT/s (ok), Width x4 (ok)
TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
Slot #0, PowerLimit 0.000W; Interlock- NoCompl+
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet- LinkState+
RootCap: CRSVisible+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible+
RootSta: PME ReqID 1800, PMEStatus+ PMEPending+
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd+
AtomicOpsCap: Routing- 32bit+ 64bit+ 128bitCAS-
DevCtl2: Completion Timeout: 65ms to 210ms, TimeoutDis- LTR- OBFF Disabled, ARIFwd-
AtomicOpsCtl: ReqEn- EgressBlck-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee00000 Data: 0000
Capabilities: [c0] Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
RootCmd: CERptEn+ NFERptEn+ FERptEn+
RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
FirstFatal- NonFatalMsg- FatalMsg- IntMsg 0
ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
Capabilities: [270 v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: LaneErr at lane: 0 1 2 3
Capabilities: [2a0 v1] Access Control Services
ACSCap: SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd+ EgressCtrl- DirectTrans+
ACSCtl: SrcValid+ TransBlk- ReqRedir+ CmpltRedir+ UpstreamFwd+ EgressCtrl- DirectTrans-
Capabilities: [370 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2- PCI-PM_L1.1+ ASPM_L1.2- ASPM_L1.1+ L1_PM_Substates+
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
L1SubCtl2:
Capabilities: [3c4 v1] Designated Vendor-Specific: Vendor=1022 ID=0001 Rev=1 Len=44 <?>
Kernel driver in use: pcieport
문제는 01.1, 01.3, 03.1은 PCIe GPP Bridge
, 07.1, 08.1은 이라는 것 입니다 Internal PCIe GPP Bridge 0 to Bus B
. 하지만 이들이 어떻게 다른지, 왜 다른 것들은 오류가 발생하지 않는지 잘 모르겠습니다. 이것을 더 디버깅할 수 있는 방법이 있나요?