- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- problems with the find cmd
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
Discussions
Discussions
Forums
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
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
тАО05-24-2004 02:03 AM
тАО05-24-2004 02:03 AM
problems with the find cmd
In the past, I have written some scripts that use the 'find' cmd to scan a system for files owned by root and with bad file permissions.
This always worked fine. However, on some v5.1B systems, find is giving me trouble.
It complains about ' : Too many open files"
This seems strange. It seems that find open file it accesses, so I am not supprised that sooner or later, there no open file descriptors.
It does not seem logical, find should only open the current file it checks.
Has anybody had similar problems?
With kind regards,
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 03:12 AM
тАО05-24-2004 03:12 AM
Re: problems with the find cmd
a command like
find *
so the OS tries to open all the files listed in the directory.
You have to supply a path to find .
to use the meta * character you have to increase the max_open_file with the
ulimit
or thru a c program. which runs find as a 'son' process
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 03:27 AM
тАО05-24-2004 03:27 AM
Re: problems with the find cmd
# ulimit -Hn 8192
ksh: ulimit: exceeds allowable limit
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 04:18 AM
тАО05-24-2004 04:18 AM
Re: problems with the find cmd
http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=T64KIT0020861-V51BB24-E-20031125&context=tru:tru64:5.1b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 05:21 AM
тАО05-24-2004 05:21 AM
Re: problems with the find cmd
Thanks Mathias.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 10:03 AM
тАО05-24-2004 10:03 AM
Re: problems with the find cmd
So the answer was:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=267908
Due to such postings the quality within the forum will be lowered by time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2004 04:58 PM
тАО05-24-2004 04:58 PM
Re: problems with the find cmd
I had similar problem, after installing patchkit 3, problem has been solved.