Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Number of messages per folder ?

0 views
Skip to first unread message

Xavier Maillard

unread,
Sep 7, 2008, 4:10:32 AM9/7/08
to
Hi,

What is the current limit fr the number of messages per folder ?
I mean when doing scan +folder, on one of them it takes really
really long to execute. I have more than 50000 messages in this
folder.

Regards

Jerry Heyman

unread,
Sep 7, 2008, 10:22:00 PM9/7/08
to

I assume that the limit on the number of messages is the physical
limit on the number of files contained within a directory - as 1
message is the same as 1 file, and folders map onto directories.
I have no clue as to what those limits actually are.

One thing I've had to do is change the output from the scan
statement to support 5 digits (up to 99999) - rather than the default
of 4 digits (up to 9999).

> Regards

jerry
--
// Jerry Heyman | "Software is the difference between
// Amiga Forever :-) | hardware and reality"
\\ // hey...@acm.org |
\X/ http://www.hobbeshollow.com

Richard

unread,
Sep 8, 2008, 1:41:59 PM9/8/08
to
[Please do not mail me a copy of your followup]

Xavier Maillard <x...@gnu.org> spake the secret code
<87y7248...@gnu.org> thusly:

Its most likely the file system attempting to cope with a very large
number of files in a single directory than it is anything to do with
scan itself.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>

Legalize Adulthood! <http://blogs.xmission.com/legalize/>

Xavier Maillard

unread,
Sep 9, 2008, 1:18:41 AM9/9/08
to
Jerry Heyman <je...@hobbeshollow.com> writes:

> on Sunday 07 September 2008 4:10 am, x...@gnu.org (Xavier Maillard) wrote:
>
>> Hi,
>>
>> What is the current limit fr the number of messages per folder ?
>> I mean when doing scan +folder, on one of them it takes really
>> really long to execute. I have more than 50000 messages in this
>> folder.
>
> I assume that the limit on the number of messages is the physical
> limit on the number of files contained within a directory - as 1
> message is the same as 1 file, and folders map onto directories.
> I have no clue as to what those limits actually are.
>
> One thing I've had to do is change the output from the scan
> statement to support 5 digits (up to 99999) - rather than the default
> of 4 digits (up to 9999).

I already have this. It was not so slow few days ago. I shall
delete old messages or refile them in another folder.

Richard

unread,
Sep 9, 2008, 4:14:01 PM9/9/08
to
[Please do not mail me a copy of your followup]

Xavier Maillard <x...@gnu.org> spake the secret code

<87tzcp6...@gnu.org> thusly:

>I already have this. It was not so slow few days ago. I shall
>delete old messages or refile them in another folder.

You can also use packf to pack a bunch of messages into a single file
archive.

Jonathan Amery

unread,
Sep 10, 2008, 6:21:54 AM9/10/08
to
I have a folder with 237,751 messages which works fine if
occasionally slightly slowly. It's stored on an ext3 filesystem with
the dir_index option set.

--
Jonathan Amery. Oh, Master, grant that I may never seek
##### So much to be consoled as to console;
#######__o To be understood as to understand;
#######'/ To be loved as to love with all my soul.

Xavier Maillard

unread,
Sep 14, 2008, 9:49:43 PM9/14/08
to
Jonathan Amery <jda...@chiark.greenend.org.uk> writes:

> In article <87y7248...@gnu.org>, Xavier Maillard <x...@gnu.org> wrote:
>>Hi,
>>
>>What is the current limit fr the number of messages per folder ?
>>I mean when doing scan +folder, on one of them it takes really
>>really long to execute. I have more than 50000 messages in this
>>folder.
>>
> I have a folder with 237,751 messages which works fine if
> occasionally slightly slowly. It's stored on an ext3 filesystem with
> the dir_index option set.

Mine are stored on an ext2 filesystem (I am using a lowcost SSD)
but I do not know the dir_index option.

[update: it looks like dir_index is an ext3 feature not present
in ext2.]

Regards

Xavier Maillard

unread,
Sep 14, 2008, 9:50:17 PM9/14/08
to
legaliz...@mail.xmission.com (Richard) writes:

> [Please do not mail me a copy of your followup]
>
> Xavier Maillard <x...@gnu.org> spake the secret code
> <87tzcp6...@gnu.org> thusly:
>
>>I already have this. It was not so slow few days ago. I shall
>>delete old messages or refile them in another folder.
>
> You can also use packf to pack a bunch of messages into a single file
> archive.

Good idea !

0 new messages