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
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
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/>
> 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.
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. 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.
> 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
> [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 !