Many seconds of hangs on webmail loading after login

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
rio_
Posts: 2
Joined: Tue Oct 17, 2017 8:25 am

Many seconds of hangs on webmail loading after login

Post by rio_ »

Hello, on upgrading to latest 8.8.15 p32 our users noticed an hang which occurs every time only after login.
In troubleshooting I saw that web UI javascripts always perform an SearchRequest of 100 Contacts into shared folders on login routine, unfortunately in GAL too (we have about 26k accounts),

A fast workaround consist in disable the getSharedFolders function in /opt/zimbra/jetty/webapps/zimbra/js/Startup1_1_all.js.zgz like this:

Code: Select all

16801 -ZmAppCtxt.prototype.getSharedFolders=function(f,e,a){if(!f||!f instanceof ZmFolder||!e||!Array.isArray(a)){return
16802 -}var d=f.children&&f.children.getArray();
16803 -for(var c=0;
16804 -c<d.length;
16805 -c++){appCtxt.getSharedFolders(d[c],e,a)
16806 -}if(f.owner&&f.type==e&&!f.noSuchFolder){a.push(f)
16807 -}}

16801 +ZmAppCtxt.prototype.getSharedFolders=function(f,e,a){if(!f||!f instanceof ZmFolder||!e||!Array.isArray(a)){return
16802 +0}}
Can this function be disabled without patching javascript?

Thanks,
Sergio.
Post Reply