- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- du runs forever
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 05:45 AM
03-02-2005 05:45 AM
du runs forever
A "du -srkx ./*" has spent about 1:20 so far on one of the subdirs that has approx 14k directorys within it. I'm watching the bopen files via Glance and it is moving along. Haven't see any errors pop either.
Anyone got any ideas why du would be so slow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 05:49 AM
03-02-2005 05:49 AM
Re: du runs forever
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 05:56 AM
03-02-2005 05:56 AM
Re: du runs forever
It's probably because that subdir tree that you've asked it to walk has a sizeable chunk of those 4.5 Million inodes. :-)
All kidding aside, I've seen directories exhibit this behavior after having lots and lots of little files and being nearly full.
Let it run, and finish so you can see what you're dealing with.
It could be that the problem is that you've got that many inodes out there, and it is what it is.
But it could also be just a simple case of backing up everything out there, doing a newfs on it, and restoring everthing back onto the mount point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 07:59 AM
03-02-2005 07:59 AM
Re: du runs forever
Seriously, the command you used is a valid command, the size of your filesystem (75 GB) is just HUGE and it will take time to traverse the files in order to total up the disk usage ... so, just let it run. If it's tying up your screen, open another xterm window or submit your command in the background and have it dump the output to a file. Otherwise, if the command running does not hinder your work, just let it run.
Hang in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 03:13 PM
03-02-2005 03:13 PM
Re: du runs forever
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2005 01:44 AM
03-03-2005 01:44 AM
Re: du runs forever
By the way, the filesystem size and nameing conventions within it, and retention periods were setup way before my time and I've had multiple people tell me there ain't no way that part is going to get straightened out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 12:53 AM
04-06-2006 12:53 AM
Re: du runs forever
Is there any faster alternative to du ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 03:33 AM
04-06-2006 03:33 AM
Re: du runs forever
Now you can speed up access and directory searches by replacing the 70Gb disk space with a RAM disk appliance. Might be (OK, it is really) pricey, but response time is phenomenal.
Bill Hassell, sysadmin