Bernhard, Du hast natürlich recht. Das mit den 32K habe ich irgendwie im Hinterkopf gehabt...
In R6 gilt jetzt wohl 60KB Limit für Textfelder.
Inzwischen habe ich die Berechnungsgrundlage, auf die MOD hingewiesen hat, ausgegraben:
Size Limits on Nested and Expanded Groups in Domino
Problem:
A customer sends a message to a group (say, Company_All) that has several nested groups. The router reports the following:
Router: Unable to deliver message 005E986D, 005E5389 to Company_All @ Domain
Router: Unable to deliver message 005E986D, 005E5389 to Nested_Group1 @ Domain
Router: Unable to deliver message 005E986D, 005E5389 to Nested_Group2 @ Domain
etc....
The message is then purged from MAIL.BOX. No one gets the message, no delivery failures are generated, and the message does not show up as Dead in MAIL.BOX.
Solution:
This is due to a limitation the Router process has with group sizes. The total size of an expanded group is limited to 32KB (or 32768 bytes).
Calculating the group length:
The length of an expanded group incorporates the following variables:
the length (in bytes) of the group name
the length of all of the sub-group names
for each group, the length of the domain name + 1 (add one to incorporate the use of "@" when the group is stored in memory)
overhead in bytes, which equals 4 + 2*(total number of groups and subgroups)
Example 1:
Group name: TestGroup
Domain name: TestDomain
Group members: User1, User2, User3
The total length of this group = length(TestGroup) + (length(TestDomain) + 1)+ 4 + 2*1
= 9 + 10 + 1 + 4 + 2
= 26 bytes
Example 2:
Group name: TestGroup2
Domain name: TestDomain
Group members: User1, User2, User3, TestGroup3, TestGroup4
(TestGroup4 contains another group called TestGroup5)
Total length = length(TestGroup2) + (length(TestDomain) + 1)
+ length(TestGroup3) + (length(TestDomain) + 1)
+ length(TestGroup4) + (length(TestDomain) + 1)
+ length(TestGroup5) + (length(TestDomain) + 1)
+ 4 + 2*4
Total length = 10 + 11
+ 10 + 11
+ 10 + 11
+ 10 + 11
+ 4 + 8
= 96 bytes
Ways to avoid hitting the limitation:
The best way to avoid hitting this limitation is to keep the length of each group name as short as possible.
Also, 32K is actually fairly hard to hit unless there are several groups with extremely long names (over 20 characters, for instance). As an example, this scenario would hit the limit:
Domain name: 10 characters long (which counts for 11 bytes added to each group name)
Number of groups and subgroups: 1000
Length of each group (in characters/bytes): 20
Total group length: (20 + 11) * 1000
+ 4 + 2*1000
= 33,004 bytes
Andreas