Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 11, 2013, 02:40 AM   #1
mrz0diak
macrumors newbie
 
Join Date: Jan 2013
Question Moved 270k files and Dock hangs up

Hi everyone

I faced interesting problem. I needed to move 270k files (around 30KB each) from one directory to another. Because of "argument list too long" problem I wasn't able to use simple "mv", so I used workaround with find: find . -type f -name '*' -exec mv {} my_target_dir/ \;
Not fasted solution ever, but.... anyway

After moving files Mac totally hangs up. A little later it become sloooooowly responsive. I assumed that Spotlight indexing files at new location, so I managed to open Spotlight preferences and add my_target_dir into exceptions. Then it come better. But Dock still totally not responsive. Reboot didn't help. I see that Dock consumes memory just more, more, more untill I'm out of free space on my HDD and warning appears. Looks like it also doing some indexing. Any ideas what it can be and how to fix it?

Environment: Mac OS X 10.7 Lion, Macbook Pro 2009
mrz0diak is offline   0 Reply With Quote
Old Jan 11, 2013, 02:52 AM   #2
justperry
macrumors 603
 
justperry's Avatar
 
Join Date: Aug 2007
Location: 7 Km South of an active upside down volcano.
Try to move (move not delete) the com.apple.dock.plist to the desktop and restart the dock.
justperry is offline   0 Reply With Quote
Old Jan 11, 2013, 07:59 AM   #3
Bear
macrumors 603
 
Join Date: Jul 2002
Location: Sol III - Terra
Are these files all in one directory? Or are they in subdirectories? If they aren't in subdirectories, I would recommend you make that happen.

A single directory with 270K files directly in it is going to eat a lot of overhead whenever you access it.
__________________
-----Bear
Bear is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:46 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC