David, 90,000 file is huge!!
Still, ls should handle it. Keep in mind that ls is going to sort the entries. It could be that ls has a really lousy sort algorithm. I't try running "top" while you do the ls on that directory, and see if ls is chewing up massive amounts of cpu time. I think if you let it go long enough, you will get some results out of it. Then, I'd consider a different way of storing all those files. It really puts the system through a workout. Adding a new file is especially painful, because the system needs to look at every single entry, to make sure the file doesn't already exist. Jim McQuillan [EMAIL PROTECTED] On Wed, 6 Mar 2002, Rose, David wrote: > Hello all. > On a more general note, I have a directory on my linux server which has > over 90,000 files. when I do a dir | wc -l I receive a number of >46,000 > (which I take to be >90,000 files since dir gives me 2 columns of file > names. > > However, I can't ls. I have waited for up to 15 minutes. Can ls not > handle the vast quantity of files in the directory? Is there a way around > this 'ceiling'? > > Thank you. > Dave > > > ---------------------------------------------------------------------------- > > This e-mail and any attachments may be confidential or legally privileged. > If you received this message in error or are not the intended recipient, you > should destroy the e-mail message and any attachments or copies, and you are > prohibited from retaining, distributing, disclosing or using any information > contained herein. Please inform us of the erroneous delivery by return > e-mail. > > Thank you for your cooperation. > > ---------------------------------------------------------------------------- > > > > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.openprojects.net > -- _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net