ext4_dx_add_entry:2024: Directory index full!
http://blog.chinaunix.net/uid-23284114-id-5749136.html
巡檢時,一臺oracle資料庫作業系統/var/log/message日誌中有大量如下warning:
Aug 4 09:18:23 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:23 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:23 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
產生warning原因如下:
單個目錄下的子目錄和檔案超過64k個。
經排查,Oracle的adump目錄下有9113975個.aud檔案,將檔案刪除後,warning不再產生。
涉及命令:
1) 統計當前資料夾下檔案的個數
ls -l |grep "^-"|wc -l
2) 統計當前資料夾下目錄的個數
ls -l |grep "^d"|wc -l
3) 統計當前資料夾下檔案的個數,包括子資料夾裡的
ls -lR|grep "^-"|wc -l
4) 統計資料夾下目錄的個數,包括子資料夾裡的
ls -lR|grep "^d"|wc -l
巡檢時,一臺oracle資料庫作業系統/var/log/message日誌中有大量如下warning:
Aug 4 09:18:23 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:23 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:23 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
Aug 4 09:18:25 your_hostname kernel: EXT4-fs warning (device sda5): ext4_dx_add_entry:2024: Directory index full!
產生warning原因如下:
單個目錄下的子目錄和檔案超過64k個。
經排查,Oracle的adump目錄下有9113975個.aud檔案,將檔案刪除後,warning不再產生。
涉及命令:
1) 統計當前資料夾下檔案的個數
ls -l |grep "^-"|wc -l
2) 統計當前資料夾下目錄的個數
ls -l |grep "^d"|wc -l
3) 統計當前資料夾下檔案的個數,包括子資料夾裡的
ls -lR|grep "^-"|wc -l
4) 統計資料夾下目錄的個數,包括子資料夾裡的
ls -lR|grep "^d"|wc -l
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31397003/viewspace-2153463/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 20180316不使用INDEX FULL SCAN (MIN/MAX)Index
- 【SqlServer】管理全文索引(FULL TEXT INDEX)SQLServer索引Index
- 【最佳化】INDEX FULL SCAN (MIN/MAX)訪問路徑Index
- 【TUNE_ORACLE】列出走了INDEX FULL SCAN的SQL參考OracleIndexSQL
- zookeeper報錯 service not available now, maybe disk full, CL: 0.95 CQ: 0.95 INDEX: 0.95, maybeAIIndex
- [LintCode] Check Full Binary Tree
- Full GC (Metadata GC Threshold)GC
- Bad magic number for central directory
- Flume - [02] Spooling Directory Source
- `FULL JOIN` 和 `UNION ALL`
- The directory xx is registered as a Git rootGit
- Index of /virtualboxIndex
- PostgreSQL:INDEXSQLIndex
- 全面掌握Directory.Build.propsUI
- conda search --full-name pythonPython
- MySQL 之 only_full_group_byMySql
- docker容器掛載 No such file or directoryDocker
- oracle invisible index與unusable index的區別OracleIndex
- Python, pandas: how to sort dataframe by index// Merge two dataframes by indexPythonIndex
- index.jspIndexJS
- null與indexNullIndex
- create index .. onlineIndex
- ERROR 1114 (HY000) The table '' is fullError
- go install: no install location for directory outside GOPATHGoIDE
- PostgreSQL xlog格式之no backup full pageSQL
- PostgreSQL xlog格式之backup full pageSQL
- Ruby on Rails Mountable vs. Full EngineAI
- 解決IDEA Error:Output directory is not specifiedIdeaError
- gitbook no such file or directory 怎麼解決Git
- git遇到問題safe.directoryGit
- MySQL 預設 only_full_group_byMySql
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop
- mysql 禁用 ONLY_FULL_GROUP_BY,暫時解決錯誤(sql_mode=only_full_group_by)MySql
- 小程式報錯Invoke event bindViewTap in page: pages/index/indexViewIndex
- Artificial Intelligence Index:2018年AI Index報告出爐IntelIndexAI
- PostgreSQL DBA(119) - pgAdmin(LIMIT:Index Scan vs Bitmap Index Scan)SQLMITIndex