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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===<h1>Steps to Increase Maximum Contact Limit for a User</h1>===
+
{{BC|Certified}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Increase Maximum Contact Limit for a User=  
 
<hr>
 
<hr>
<br>
+
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}
 +
{{WIP}} 
  
<h2>Problem:</h2>
 
  
 +
====Problem====
 
Zimbra Desktop shows contact limit exceeded error.   
 
Zimbra Desktop shows contact limit exceeded error.   
  
 
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>
 
  
 +
====Solution====
 
By default all user accounts allowed to store 10000 contacts.  
 
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.
+
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:-
 +
zmprov ma USERNAME@DOMAIN.COM zimbraContactMaxNumEntries 20000
  
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. 
  
  
'''Note:''' Replace USERNAME@DOMAIN.COM with the actual user name according to your environment. 
 
  
 +
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10"
 +
|'''Submitted by''':  Heera Singh Koranga
 +
|}
  
Heera Singh Koranga
+
{{Article Footer|ZCS 8.8, 8.7, 8.6, 8.5, 8.0.x, 7.x|2017-08-23}}
 
 
"Heera Singh" <hsingh@zimbra.com>
 

Latest revision as of 07:21, 17 August 2018

Increase Maximum Contact Limit for a User


   KB 23344        Last updated on 2018-08-17  




0.00
(0 votes)


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
Verified Against: ZCS 8.8, 8.7, 8.6, 8.5, 8.0.x, 7.x Date Created: 2017-08-23
Article ID: https://wiki.zimbra.com/index.php?title=Steps_to_Increase_Maximum_Contact_Limit_for_a_User Date Modified: 2018-08-17



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search