- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: find slows system down to a crawl
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
05-26-2004 10:51 PM
05-26-2004 10:51 PM
I've just been running a find command on an HP-UX 11.00 system.
I had to abort the command because the users complained that the system had slowed down to a crawl. When I aborted the command the system started running at an acceptable rate again.
This is the only system I support where this has happened. Any ideas as to what may cause it? And even more important, how do I prevent it?
Mark Syder (like the drink but spelt different)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 10:54 PM
05-26-2004 10:54 PM
Re: find slows system down to a crawl
Regards,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 10:56 PM
05-26-2004 10:56 PM
Re: find slows system down to a crawl
You are running find command from root, it seems. Try running it from different filesystems/directories separately.
regards,
RDL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 10:56 PM
05-26-2004 10:56 PM
Re: find slows system down to a crawl
please reply with the options use for the find command and also:
# what /usr/bin/find
to check the patch level of the command
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 10:59 PM
05-26-2004 10:59 PM
Re: find slows system down to a crawl
This is typical for find. In a Performance and Tuning class we used multiple find commands to choke the systems for demonstration purposes.
If you're using the -exec option, you may be able to improve things by instead piping to xargs, i.e.
find /tmp -mtime +2 |xargs rm
- rather than -
find /tmp -mtime +2 -exec rm {} \;
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 11:00 PM
05-26-2004 11:00 PM
Re: find slows system down to a crawl
Change the housekeeping policies and tell the apps guys that filesystem is not a database !
Regds,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 11:00 PM
05-26-2004 11:00 PM
Re: find slows system down to a crawl
find / -name (filename) -print
what /usr/bin/find:
$Revision: 82.3 $
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 11:03 PM
05-26-2004 11:03 PM
Re: find slows system down to a crawl
If so, that is destiny :) You asked for it, you got it. Either (temporarily) unmount all NFS/AFS/DFS filesystems, or be sure to find only in the dir trees that do not include these type of FS's
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 11:13 PM
05-26-2004 11:13 PM
Re: find slows system down to a crawl
Moreover, in the command-line, give
find / -name
If you are giving some regular expressions in place of exact file name, then use double quotes. e.g.
find / -name "*file*".
Regards,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 11:54 PM
05-26-2004 11:54 PM
Re: find slows system down to a crawl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:04 AM
05-27-2004 12:04 AM
Re: find slows system down to a crawl
# find /opt -type f ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:24 AM
05-27-2004 12:24 AM
Re: find slows system down to a crawl
Some useful things to be going on with there.
Yes, it is searching an NFS mounted drive with a very large filesystem on it - I think we may be on to something here. It's a manufacturing server, so if I dismount the fs I won't get out of the building alive!
I like the look on Antunes' possible solutions though. I'll give them a try and award points where I haven't already done so in due course.
Thanks to everyone for the suggestions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:47 AM
05-27-2004 12:47 AM
Re: find slows system down to a crawl
Mark
PS - any spare tickets for Euro 2004? ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 07:55 PM
05-27-2004 07:55 PM
Re: find slows system down to a crawl
Unfortunatelly have I no tickets at all... :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 08:08 PM
05-27-2004 08:08 PM
Re: find slows system down to a crawl
F1 otoh ... Go Button, go!
Enjoy, Have FUN! H.Merijn [ driving a Honda ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2004 01:59 AM
05-28-2004 01:59 AM
Re: find slows system down to a crawl
You should use "nice" on such a command so that the system shares the resources rather than hogging them. Do "man nice" and check it out. Your command should look like:
# nice find / -name (filename) -print
This may take a bit longer to run because you are sharing the resources, but you won't have the system dropping to its knees.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:27 PM
06-21-2004 09:27 PM
Re: find slows system down to a crawl
Just in case any Chelsea supporters read this - he's not for sale! (I'm an Evertonian in case you hadn't guessed.)
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 04:13 AM
06-22-2004 04:13 AM
Re: find slows system down to a crawl
The Portuguese colors aren't green, red and yellow anymore: see the new Portuguese flag in attachment... ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 07:06 PM
06-24-2004 07:06 PM
Re: find slows system down to a crawl
I would have given you more points if that perfectly good goal had been allowed!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 08:21 PM
06-24-2004 08:21 PM
Re: find slows system down to a crawl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 08:32 PM
06-24-2004 08:32 PM
Re: find slows system down to a crawl
the curse of the penalty kicks ... it happen in WC '90, EC '96 and it is happening again.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 08:47 PM
06-24-2004 08:47 PM
Re: find slows system down to a crawl
I know I started it, but could I politely suggest that we stop talking football now in case people are opening this thread thinking it's still about a unix problem? I don't want people complaining about me on the "issues" thread!
Of course, I have no objection to someone starting a new thread dedicated to football - as long as the title makes it clear so people who aren't interested can avoid it.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2004 08:52 PM
06-27-2004 08:52 PM
Re: find slows system down to a crawl
We had the same referee talk here in EC 2000 when we loose against France with a penalty due to Abel Xavier's hand...
I think the referees in this championship are doing a great job.