Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ext4_dx_add_entry:2024: Directory index full!

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Http://blog.chinaunix.net/uid-23284114-id-5749136.html

When patrolling, an oracle database operating system / var/log/message log contains a large number of the following 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!

The reasons for warning are as follows:

There are more than 64k subdirectories and files in a single directory.

After investigation, there are 9113975 .aud files in the adump directory of Oracle. After deleting the files, warning is no longer generated.

Commands are involved:

1) count the number of files under the current folder

Ls-l | grep "^ -" | wc-l

2) count the number of directories under the current folder

Ls-l | grep "^ d" | wc-l

3) count the number of files in the current folder, including those in the subfolder

Ls-lR | grep "^ -" | wc-l

4) count the number of directories in the folder, including those in the subfolder

Ls-lR | grep "^ d" | wc-l

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report