RE: Max # of Files in a Directory?

2004-09-16 Thread Dan MacMillan
stheg olloydson said:
 it was said:
 
  ... I started seeing all kinds of errors when
  trying to copy more than 16383 messages into one
  of my folders there.  I'm retrieving mail from a
  pop3 server using Outlook then copying them into
  my imap folder, also using Outlook.
 
 Hello,
 
 16383 was a limit in OL before version 8.03 (2000). Go to the MS
 knowledge base and search on Outlook using 16383 as the keyword. You
 will find a number of articles related to this issue.

Thank you to everyone who answered.  It definitely is an Outlook issue
as I now have 16402 messages in the folder and I can read them using
mutt.

-- 
Danny
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Max # of Files in a Directory?

2004-09-02 Thread Danny MacMillan
Hi.

I googled for this but I couldn't find an answer.

What is the largest number of files that can exist
in a single directory in FreeBSD?  I ask because
I'm using courier-imap using a Maildir mailbox
and I started seeing all kinds of errors when
trying to copy more than 16383 messages into one
of my folders there.  I'm retrieving mail from a
pop3 server using Outlook then copying them into
my imap folder, also using Outlook.

I guess my real question is, what is the bottleneck
in this situation?  Outlook?  courier-imap?  Or
FreeBSD?

-- 
Danny

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Max # of Files in a Directory?

2004-09-02 Thread Erik Trulsson
On Thu, Sep 02, 2004 at 04:40:43PM -0600, Danny MacMillan wrote:
 Hi.
 
 I googled for this but I couldn't find an answer.
 
 What is the largest number of files that can exist
 in a single directory in FreeBSD?  I ask because
 I'm using courier-imap using a Maildir mailbox
 and I started seeing all kinds of errors when
 trying to copy more than 16383 messages into one
 of my folders there.  I'm retrieving mail from a
 pop3 server using Outlook then copying them into
 my imap folder, also using Outlook.
 
 I guess my real question is, what is the bottleneck
 in this situation?  Outlook?  courier-imap?  Or
 FreeBSD?

I don't think there is any limit to how many files you can have in a
single directory - or, if there is some limit, the limit is very large:
on the order of hundreds of thousands of files or more (at which point
directory operations would extremly slow anyway so nobody in his right
mind would have so many files in a single directory.)

There is a limit to how many subdirectories you can have in a single
directory - that limit is 32765.  This is tied to the how many
hardlinks you can have to a single directory entry (32767: the value is
stored in the inode as a signed 16-bit value) and every subdirectory
contains a hardlink to its parent (the .. entry.)


Anyway, if you run into trouble when trying to copy more than 16383
messages, then it is not FreeBSD which is to blame.
Personally I would bet on Outlook being the culprit, but then I am a
bit prejudiced against all Microsoft products.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Max # of Files in a Directory?

2004-09-02 Thread Dan Nelson
In the last episode (Sep 02), Danny MacMillan said:
 I googled for this but I couldn't find an answer.
 
 What is the largest number of files that can exist in a single
 directory in FreeBSD?  I ask because I'm using courier-imap using a
 Maildir mailbox and I started seeing all kinds of errors when trying
 to copy more than 16383 messages into one of my folders there.  I'm
 retrieving mail from a

There's a limit of 16384 subdirectories in a single directory (due to
the fact that each subdir has a .. file that's linked to the parent),
but there's no real limit on the number of file.  Try truss'ing the
imap process and see exactly what syscalls are failing.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Max # of Files in a Directory?

2004-09-02 Thread Dan Nelson
In the last episode (Sep 02), Dan Nelson said:
 In the last episode (Sep 02), Danny MacMillan said:
  I googled for this but I couldn't find an answer.
  
  What is the largest number of files that can exist in a single
  directory in FreeBSD?  I ask because I'm using courier-imap using a
  Maildir mailbox and I started seeing all kinds of errors when trying
  to copy more than 16383 messages into one of my folders there.  I'm
  retrieving mail from a
 
 There's a limit of 16384 subdirectories in a single directory (due to

Sorry; Erik's right, the limit is 32767.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Max # of Files in a Directory?

2004-09-02 Thread stheg olloydson
it was said:

 ... I started seeing all kinds of errors when
 trying to copy more than 16383 messages into one
 of my folders there.  I'm retrieving mail from a
 pop3 server using Outlook then copying them into
 my imap folder, also using Outlook.

Hello,

16383 was a limit in OL before version 8.03 (2000). Go to the MS
knowledge base and search on Outlook using 16383 as the keyword. You
will find a number of articles related to this issue.

HTH,

Stheg



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]