Maximum number of files in a folder ?

Hello, what is the maximum number of files in a folder OS X can handle ?
I used a file recovery software called FileSalvage to save some files of an external 300GB with a corrupted disk directory (unable to repair with the usual repair/recovery programs).
FileSalvage recovered about 435,000 files and sorted them by extension in individual folders, unfortunately it does not recognize the file names and just sequentially names the files per extension.
The .jpeg, .gif and .html folders had up to 75,000 files. After recovery the external FW drives started to behave very strange, unresponsive, just hanging, time-out. I tried on a Mac Mini, iMac G5, an iBook and PowerBook, OS X 10.3.9 and 10.4.3, FW400/800 and USB 2.0 interface, they all had pretty much the same failure mode after a while.
Running Disk Utility on the drives with the recovered FileSalvage folders showed a corrupted directory (invalid file count) and unable to repair, although I could copy most of the folders of the disk (deleted the folders with more than 10,000 files per folder).
I suspect that File Salvage copies more files in a folder than OS X allows, causing unpredicable problems.
Any ideas ?

From "Mac OS X: Mac OS Extended Format volume and file limits"
"Maximum number of files (or files and folders) in a folder … up to 2.1 billion"
According to a note in the document, the above is subject to the drive's size (maximum 16 terabytes in "Tiger") and block size, ie. the number of available blocks.
So it would appear that the number of files you mentioned would be well within theoretical limits, although I suppose there could be a bug in some other part of OS X. Otherwise, maybe there is a problem with the drive...

Similar Messages

  • Maximum number displayed files in Folder in Dock?

    One of our users has over 800 files saved directly in her Documents folder. We keep this folder in the usual location, and also have it displayed in the Dock as a "list". When she clicks on the folder, about the first half of the files show up - if displayed alphabetically for example, she gets A - M.
    Does anyone know if this is fixable? I'm assuming here that there is some maximum number of displayed files which maybe I can fix by editing a .plist or something. It drives her nuts to have to do the "open in Finder" thing half the time, but not the other half of the time (obviously, when she opens this folder as a Finder window everything is there, it is only the display in the Dock which refuses to show all items).
    Thanks!

    Thanks for the info. There is indeed a maximum number of files that the dock will show in the contextual menu. Yeah, it would be best if the user wouldn't keep everything organized like that, but it isn't possible to lean over someone's shoulder all the time...

  • Maximum number of files supported in a folder for FileTable feature

    Hi,
    I have implemented a solution using SQL 2012 FileTable with an expected workload of 150K files a year. File's size is not that big, just a few KB EDI file but I am wondering what is supported/recommended limit of number of files in a folder for FileTable?
    Thanks
    Usman Shaheen MCTS BizTalk Server http://usmanshaheen.wordpress.com

    The theoretical limit is the NTFS volume limit. This is provided in the below article.
    NTFS Physical Structure
    However the practical limit depends on your application and business scenario. You can read about FILESTREAM and FileTable internals and about performance considerations from the below excellent article
    Microsoft SQL Server 2012 Internals: Special Storage - Kalen Delaney and Craig Freedman
    Krishnakumar S

  • I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel rec

    I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel receive the same message.Some one can tel what to do please? Thanks

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • Illustrator won't run: "unable to set maximum number of files to be opened"

    I have an intel macbook pro (core duo with 2GB ram) and a copy of purchased adobe creative suite 2. Other applications in the suite like photoshop, acrobat, etc can run on my mac without any problem. But when I try to run illustrator, it just shows an error message "Unable to set maximum number of files to be opened" and quits. I also installed a trial version of illustrator cs3 and got the same problem. Can anyone help? Thanks.
    CC

    Hi, I realize this is an old thread but it was unanswered and the issue has come up again in a newer thread:
    http://forums.adobe.com/message/2534652
    If the original poster sees this, can you reply tin the new thread and let us know if you were ever to solve this problem?
    Thanks!

  • How to find number of files in a folder using pl/sql

    please someone guide as to how to find number of files in a folder using pl/sql
    Regards

    The Java option works well.
    -- results table that will contain a file list result
    create global temporary table directory_list
            directory       varchar2(1000),
            filename        varchar2(1000)
    on commit preserve rows
    -- allowing public access to this temp table
    grant select, update, insert, delete on directory_list to public;
    create or replace public synonym directory_list for directory_list;
    -- creating the java proc that does the file listing
    create or replace and compile java source named "ListFiles" as
    import java.io.*;
    import java.sql.*;
    public class ListFiles
            public static void getList(String directory, String filter)
            throws SQLException
                    File path = new File( directory );
                    final String ExpressionFilter =  filter;
                    FilenameFilter fileFilter = new FilenameFilter() {
                            public boolean accept(File dir, String name) {
                                    if(name.equalsIgnoreCase(ExpressionFilter))
                                            return true;
                                    if(name.matches("." + ExpressionFilter))
                                            return true;
                                    return false;
                    String[] list = path.list(fileFilter);
                    String element;
                    for(int i = 0; i < list.length; i++)
                            element = list;
    #sql {
    insert
    into directory_list
    ( directory, filename )
    values
    ( :directory, :element )
    -- creating the PL/SQL wrapper for the java proc
    create or replace procedure ListFiles( cDirectory in varchar2, cFilter in varchar2 )
    as language java
    name 'ListFiles.getList( java.lang.String, java.lang.String )';
    -- punching a hole in the Java VM that allows access to the server's file
    -- systems from inside the Oracle JVM (these also allows executing command
    -- line and external programs)
    -- NOTE: this hole MUST be secured using proper Oracle security (e.g. AUTHID
    -- DEFINER PL/SQL code that is trusted)
    declare
    SCHEMA varchar2(30) := USER;
    begin
    dbms_java.grant_permission(
    SCHEMA,
    'SYS:java.io.FilePermission',
    '<<ALL FILES>>',
    'execute, read, write, delete'
    dbms_java.grant_permission(
    SCHEMA,
    'SYS:java.lang.RuntimePermission',
    'writeFileDescriptor',
    dbms_java.grant_permission(
    SCHEMA,
    'SYS:java.lang.RuntimePermission',
    'readFileDescriptor',
    commit;
    end;
    To use:
    SQL> exec ListFiles('/tmp', '*.log' );
    PL/SQL procedure successfully completed.
    SQL> select * from directory_list;
    DIRECTORY FILENAME
    /tmp X11_newfonts.log
    /tmp ipv6agt.crashlog
    /tmp dtappint.log
    /tmp Core.sd-log
    /tmp core_intg.sd-log
    /tmp da.sd-log
    /tmp dhcpclient.log
    /tmp oracle8.sd-log
    /tmp cc.sd-log
    /tmp oms.log
    /tmp OmniBack.sd-log
    /tmp DPISInstall.sd-log
    12 rows selected.
    SQL>

  • Error maximum number of files already open error.No Other files can be opened or printed until some are closed

    Hi everyone,
    While opening a file in Adobe reader 10 in Windows 7,I am getting the error as
    "The maximum number of files are already open.No Other files can be opened or printed until some are closed."
    Can Anyone help or suggest a setting for this ?
    Thanks in Advance
    Omkar

    Hello omkar841987,
    Could you please let me know how many files have you opened simultaneously.
    This count will include files that are being displayed as well as opened (without being shown in the viewer).
    Using Reader, you cannot make any setting for the same, but close some of the files before crossing that limit.
    It also depends on your OS and memory size as you would need enough memory to open many files at a time.
    Regards,
    Anubha

  • Choose a set number of files in a folder?

    Is there a way using AppleScript to choose a set number of files inside a folder?
    I've created an Automator workflow to convert some files (Illustrator to PDF) but the folders contain a large number of files (nearly 500). If I ran the workflow on this amount of files I'm pretty sure it would crash, as the workflow opens the files & then saves them in the other format (so it would open all 500 files).
    So what the workflow does at the moment is ask me to choose the files to convert, I select around 50 & let it convert them & closes the files. It loops, so once it's completed them I it asks again to choose more files to convert etc...
    If I could make it choose a set number of files (via some AppleScript & add this to the workflow) it could open & convert (for example) 50 files, then open & convert the next files. And keep doing this until it completes converting all of them.

    red_menace wrote:
    What happens to the original item after the conversion? Is it moved, or will some method need to be used to keep track of what has already been converted?/Trim Input Items.action.zip
    After the files have been converted they are moved to another folder so that I don't choose them again & again, & so that I know they've been converted.
    So if I used the Trim Input Items action it would choose only 9 items, convert them & then (with the workflow looping) convert another 9 files, & so on & so on. Is that correct? If so that could work for me.
    The Dispense Items Incrementally action could also work for me. If I understand correctly it would convert 1 file at a time & I'd set to loop so it goes through all the items 1 at a time.
    Camelot wrote:
    I don't see the need to select a set number of files in the folder.
    From your description it sounds like you want to process them all anyway, it's just that your existing (manual-select) workflow works by selecting a few at a time.
    What's wrong with the script identifying all files and processing them all in one loop?
    Because my workflow (at the moment) opens all the files at once, & then converts them. So it would open nearly 500 Illustrator files in one go rather then opening a few of them, or opening them 1 at a time. I'm pretty sure it would choke my system opening up 500 files (not particularly small files either).

  • Maximum number of file/socket descriptors set to 800

    Hi
    When we are trying to restart opmn services in discover server, it is giving below error.
    [disc@odhappstest bin]$ ./opmnctl startall
    opmnctl startall: starting opmn and all managed processes...
    ================================================================================
    opmn id=odhappstest:6701
    5 of 6 processes started.
    ias-instance id=asinst_1
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    webcache1/WebCache-admin/WebCache-admin/
    Error
    --> Process (index=1,uid=1314995949,pid=25917)
    failed to start a managed process after the maximum retry limit
    Log:
    /disc/Oracle/Middleware/asinst_1/diagnostics/logs/WebCache/webcache1/console~WebCache-admin~1.log
    The OPMNCTL status showing :
    [disc@odhappstest bin]$ opmnctl status
    Processes in Instance: asinst_1
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    emagent_asinst_1 | EMAGENT | 25577 | Alive
    Discoverer_asinst_1 | PreferenceServer | 25576 | Alive
    Discoverer_asinst_1 | ServicesStatus | 25579 | Alive
    webcache1 | WebCache-admin | N/A | Down
    webcache1 | WebCache | 25580 | Alive
    ohs1 | OHS | 25574 | Alive
    And we checked in log file and we have found entries as :
    Oracle Web Cache 11g (11.1.1.2), Build 11.1.1.2.0 091028.1147
    Maximum number of file/socket descriptors set to 800.
    Unable to allocate or access a shared memory segment of size 240 bytes. shmget(): Invalid argument
    The server process could not initialize.
    The server is exiting.
    Oracle Web Cache process of ID 16797 exits with code 1 at line 650 of file main.c [label: Build 11.1.1.2.0 091028.1147]
    We have applied patch 9262845 to resolve this issue according to MOS documnet :
    11G WEBCACHEADMIN FAILS TO START WITH "Unable to allocate or access a shared memory segment" [ID 1057444.1]
    But after applying this patch also issue not resolved.
    Plz help us to resolve this issue.
    Regards
    Shaik

    Hi Sheik,
    I believe it has got something to do with pre-requisites. May be you need to edit the "hard nofile" parameters in /etc/securuty/limits.conf.
    Please make sure you have done all the pre-requisites.
    Thanks

  • The maximum number of files already open....

    I just started getting a message  in adobe  reader 9, The maximum number of files are already open.  No other files can be open or printed until some are closed.   I only have 1 file open.  Any suggestions other than getting rid of Adobe!

    Try a search of the forum. I faintly remember such a thing being brought up before in the last month or two.

  • The maximum number of files have been indexed

    Hi
    I've just tried using Edge Code with a large project. Upon attempting to use Quick Edit on a class name I got the following error: "Error indexing files. The maximum number of files have been indexed. Actions that look up files in the index may function incorrectly."
    After closing the pop-up window, the Quick Editor fails to work.
    Are there any plans to increase the size of the index limit? I'm very impressed with the software so far, but not being able to use the quick edit function defeats the purpose of using Edge Code.
    Cheers,
    Roberto

    Each device can only set up 3 iCloud accounts.  After that, all you can do is re-use one of the accounts that has already been set up on this device, or set up a new account on a different device if you have one.

  • Recommended Maximum Number of Files

    Does Apple recommend a maximum number of files per directory for Finder? This is similar to the question posted here at <http://tinyurl.com/24hw7w>, but a little more specific.
    This is not about the file system, but about the Finder. Just because the file system can address 2 billion files does not mean it's wise to dump even 1/1,000th of that into a directory, then open it in Finder. Display could slow to a crawl, for example.
    I seem to recall that there was an Apple advisory on this, but I cannot find it.

    Look at http://docs.info.apple.com/article.html?artnum=25557
     Cheers, Tom

  • Maximum number of files reached

    I keep getting a message on my phone that you've reached maximum number of files. Please remove applications and/or files to clear space. When I hit button for help it says to got to www.vzw.com/baplus to find: -FAQs/help -manage contacts -contact support. When I go into my verizon and my device (with my phone number) I get a backup assistance list of another phone on my plan. It shows their number in the upper left corner on the back up assistance. I cannot get to my backup assistance numbers to manage.

        Thanks for trying to get to your information already, BrutusgoBucks. Please make sure that when you're visiting www.vzw.com/baplus, log into My Verizon as your mobile number. Going to My Verizon and logging in with the account number will result in seeing the main number registered to that user name instead of your information, even if you select your number later in the page. If you've never created a My Verizon account for your line, no worries! It's easy. Just select register instead of sign in and create an account for your specific line. That way you'll be able to view your line's content on Backup Assistant Plus and the media center.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • MultiFileSelectPopup maximum number of files

    Hi,
    What is the maximum number of files that can be opened with this command/popup:
    MultiFileSelectPopup
    Thanks

    Hello,
    The Windows API limits the input field to 32767 bytes so you will not be able to select more than that number of files. Have a great day!
    Best Regards,
    Adam G 
    National Instruments
    Applications Engineer

  • Where to find the number of files in a folder (in Finder)?

    I just upgraded from Snow Leopard.
    In the past I could look at the bottom of the finder window and see how many files where in a particular folder.  And how much megawattage they respresented in total.
    Is there some kind of preference I can set in Mountain Lion to be able to see the 'number' of files in a given folder?
    All ears,
    Ben

    Thank you Kurt,
    You're an ace.
    Much appreciated.
    Ben

Maybe you are looking for

  • Error while approving change document(TR lost project code)

    Hi All, I am having issue in change document approval, when we are approving change document for unit testing or if release management approving change for pre-production or production approval, we are getting error, I started coming from last two da

  • Cash Discount after Sales Tax

    Dear Friends i could understand that we need to assign a GL Account for the Lost Cash discount (net Procedure) - Transaction Code - OBXV. i want to know the Exact Path in the SPRO for this T Code - OBXV. Pl can any body help me out with the IMG Path

  • Adobe Acrobat 6.0 Standard

    Hello! I have Adobe Acrobat 6.0 Standard in a computer. I want to insert a word 2003 document into a pdf document. I try to do it but without any solution. It started doing something but then you see that there is nothing in the pdf document; in othe

  • Vignette in lightroom 5 results in gradient lines

    When using the post crop vignette all my images have bad lines/gradient marks. I was using the same camera on my previous laptop and had no problem. My camera is a Pentax K5 ii shooting in RAW(DNG) sRGB at full 16mp. My Laptop is an ASUS N550JK i7, w

  • New Clean Mac - Best Migration Path?

    I currently have a iMac G5 running Tiger and iLife 06 and have just recieved a new iMac with Leopard pre-installed and was looking for some advice in the best migration path. I would like to know wether people recommend just using the Migration Assis