Difference between revisions of "Steps to Increase Maximum Contact Limit for a User"

(Created page with "===<h1>Steps to Increase Maximum Contact Limit for a User</h1>=== <hr> <br> <h2>Problem:</h2> Zimbra Desktop shows contact limit exceeded error. Following exception occur...")
 
Line 1: Line 1:
===<h1>Steps to Increase Maximum Contact Limit for a User</h1>===
+
===<h1>Increase Maximum Contact Limit for a User</h1>===
 
<hr>
 
<hr>
 
<br>
 
<br>
Line 8: Line 8:
  
 
Following exception occurs while max contact limit exceeded.  
 
Following exception occurs while max contact limit exceeded.  
<pre>
+
com.zimbra.cs.mailbox.MailServiceException: exceeded limit of 10000 contacts
com.zimbra.cs.mailbox.MailServiceException: exceeded limit of 10000 contacts
+
ExceptionId:sync-mbox-USERNAME@DOMAIN.COM:1467815759742:769v284f3dd4013e
ExceptionId:sync-mbox-USERNAME@DOMAIN.COM:1467815759742:769v284f3dd4013e
+
Code:mail.TOO_MANY_CONTACTS Arglimit, NUM, "10000")
Code:mail.TOO_MANY_CONTACTS Arglimit, NUM, "10000")
+
          at com.zimbra.cs.mailbox.MailServiceException.TOO_MANY_CONTACTS(MailServiceException.java:303)
at com.zimbra.cs.mailbox.MailServiceException.TOO_MANY_CONTACTS(MailServiceException.java:303)
+
          at com.zimbra.cs.mailbox.Mailbox.updateContactCount(Mailbox.java:1083)
at com.zimbra.cs.mailbox.Mailbox.updateContactCount(Mailbox.java:1083)
+
          at com.zimbra.cs.mailbox.Contact.create(Contact.java:620)
at com.zimbra.cs.mailbox.Contact.create(Contact.java:620)
+
          at com.zimbra.cs.mailbox.Mailbox.createContact(Mailbox.java:6323)
at com.zimbra.cs.mailbox.Mailbox.createContact(Mailbox.java:6323)
+
          at com.zimbra.cs.mailbox.InitialSync.syncContact(InitialSync.java:973)
at com.zimbra.cs.mailbox.InitialSync.syncContact(InitialSync.java:973)
+
          at com.zimbra.cs.mailbox.InitialSync.syncContacts(InitialSync.java:999)
at com.zimbra.cs.mailbox.InitialSync.syncContacts(InitialSync.java:999)
+
          at com.zimbra.cs.mailbox.DeltaSync.syncItems(DeltaSync.java:267)
at com.zimbra.cs.mailbox.DeltaSync.syncItems(DeltaSync.java:267)
+
          at com.zimbra.cs.mailbox.DeltaSync.deltaSync(DeltaSync.java:187)
at com.zimbra.cs.mailbox.DeltaSync.deltaSync(DeltaSync.java:187)
+
          at com.zimbra.cs.mailbox.DeltaSync.sync(DeltaSync.java:124)
at com.zimbra.cs.mailbox.DeltaSync.sync(DeltaSync.java:124)
+
          at com.zimbra.cs.mailbox.DeltaSync.sync(DeltaSync.java:89)
at com.zimbra.cs.mailbox.DeltaSync.sync(DeltaSync.java:89)
+
          at com.zimbra.cs.mailbox.MailboxSync.sync(MailboxSync.java:192)
at com.zimbra.cs.mailbox.MailboxSync.sync(MailboxSync.java:192)
+
          at com.zimbra.cs.mailbox.ZcsMailbox.sync(ZcsMailbox.java:124)
at com.zimbra.cs.mailbox.ZcsMailbox.sync(ZcsMailbox.java:124)
+
          at com.zimbra.cs.mailbox.ZcsMailbox.syncOnTimer(ZcsMailbox.java:105)
at com.zimbra.cs.mailbox.ZcsMailbox.syncOnTimer(ZcsMailbox.java:105)
+
          at com.zimbra.cs.mailbox.SyncMailbox$1.run(SyncMailbox.java:279)
at com.zimbra.cs.mailbox.SyncMailbox$1.run(SyncMailbox.java:279)
+
          at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.mainLoop(Unknown Source)
+
          at java.util.TimerThread.run(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
+
 
</pre>
 
  
 
<h2>Solution:</h2>
 
<h2>Solution:</h2>
Line 36: Line 35:
 
This setting controlled by the attribute ''zimbraContactMaxNumEntries'', and with the following steps we can check and update currently configured value.
 
This setting controlled by the attribute ''zimbraContactMaxNumEntries'', and with the following steps we can check and update currently configured value.
  
1) Command to check :-  
+
'''1).''' Command to check :-  
  
 
       zmprov ga USERNAME@DOMAIN.COM zimbraContactMaxNumEntries   
 
       zmprov ga USERNAME@DOMAIN.COM zimbraContactMaxNumEntries   
  
2) Command to update:-
+
'''2).''' Command to update:-
  
 
       zmprov ma USERNAME@DOMAIN.COM zimbraContactMaxNumEntries 20000  
 
       zmprov ma USERNAME@DOMAIN.COM zimbraContactMaxNumEntries 20000  
  
  
'''Note:''' Replace USERNAME@DOMAIN.COM with the actual user name according to your environment.   
+
'''Note:''' Replace '''USERNAME@DOMAIN.COM''' with the actual user name according to your environment.   
 +
 
  
  
Heera Singh Koranga
 
  
"Heera Singh" <hsingh@zimbra.com>
+
Submitted by: Heera Singh Koranga

Revision as of 14:14, 20 August 2017

Increase Maximum Contact Limit for a User



Problem:

Zimbra Desktop shows contact limit exceeded error.

Following exception occurs while max contact limit exceeded.

com.zimbra.cs.mailbox.MailServiceException: exceeded limit of 10000 contacts
ExceptionId:sync-mbox-USERNAME@DOMAIN.COM:1467815759742:769v284f3dd4013e
Code:mail.TOO_MANY_CONTACTS Arglimit, NUM, "10000")
         at com.zimbra.cs.mailbox.MailServiceException.TOO_MANY_CONTACTS(MailServiceException.java:303)
         at com.zimbra.cs.mailbox.Mailbox.updateContactCount(Mailbox.java:1083)
         at com.zimbra.cs.mailbox.Contact.create(Contact.java:620)
         at com.zimbra.cs.mailbox.Mailbox.createContact(Mailbox.java:6323)
         at com.zimbra.cs.mailbox.InitialSync.syncContact(InitialSync.java:973)
         at com.zimbra.cs.mailbox.InitialSync.syncContacts(InitialSync.java:999)
         at com.zimbra.cs.mailbox.DeltaSync.syncItems(DeltaSync.java:267)
         at com.zimbra.cs.mailbox.DeltaSync.deltaSync(DeltaSync.java:187)
         at com.zimbra.cs.mailbox.DeltaSync.sync(DeltaSync.java:124)
         at com.zimbra.cs.mailbox.DeltaSync.sync(DeltaSync.java:89)
         at com.zimbra.cs.mailbox.MailboxSync.sync(MailboxSync.java:192)
         at com.zimbra.cs.mailbox.ZcsMailbox.sync(ZcsMailbox.java:124)
         at com.zimbra.cs.mailbox.ZcsMailbox.syncOnTimer(ZcsMailbox.java:105)
         at com.zimbra.cs.mailbox.SyncMailbox$1.run(SyncMailbox.java:279)
         at java.util.TimerThread.mainLoop(Unknown Source)
         at java.util.TimerThread.run(Unknown Source)


Solution:

By default all user accounts allowed to store 10000 contacts.

This setting controlled by the attribute zimbraContactMaxNumEntries, and with the following steps we can check and update currently configured value.

1). Command to check :-

     zmprov ga USERNAME@DOMAIN.COM zimbraContactMaxNumEntries  

2). Command to update:-

     zmprov ma USERNAME@DOMAIN.COM zimbraContactMaxNumEntries 20000 


Note: Replace USERNAME@DOMAIN.COM with the actual user name according to your environment.



Submitted by: Heera Singh Koranga

Jump to: navigation, search