[Obm] indexation Minig et performance

bisson bissonromain at gmail.com
Fri Sep 16 15:06:32 CEST 2011


Bonjour, Ma connexion a MiniG fonctionne mais le temps de connexion est
relativement long environ 1min

 Quelqu’un a une idée en regardant les logs
suivants :

 

-         2011-09-16 17:04:08,939 CacheManager INFO - first indexing round
lock acquired. à cette ligne pose problem avec une première indexation

-         javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such
Object]; remaining name 'dc=local' à j’ai change l’autocomplétion avec mon
annuaire LDAP
 La latence peut-elle venir d’ici

 

le problème ne peut pas venir de la performance de mes machines car 3GO de
RAM et 2GO dédié à la tomcat

 

2011-09-16 17:03:37,182 Pool INFO - demo2 at defense.fr-pool: pool destroyed.

2011-09-16 17:03:53,674 LoginImpl INFO - imap: imap://10.67.162.151 smtp:
smtp://10.67.162.152 defaultDomain: null

2011-09-16 17:03:53,674 LocatorRegistry INFO - Locator resolved
imap://10.67.162.151 for demo2 at defense.fr as 10.67.162.151

2011-09-16 17:03:53,674 LocatorRegistry INFO - Locator resolved
smtp://10.67.162.152 for demo2 at defense.fr as 10.67.162.152

2011-09-16 17:03:53,674 LocatorRegistry INFO - Locator resolved
sieve://10.67.162.151 for demo2 at defense.fr as 10.67.162.151

2011-09-16 17:03:53,683 StoreClientCallback INFO - connected() callback
called.

2011-09-16 17:03:53,683 ClientSupport INFO - Connection established

2011-09-16 17:03:58,746 ClientSupport WARN - TLS not supported by IMAP
server.

2011-09-16 17:03:58,747 ClientSupport INFO - Sending demo2 at defense.fr login
informations.

2011-09-16 17:03:58,758 Pool INFO - demo2 at defense.fr-pool: Adding pooled
object...

2011-09-16 17:03:58,761 StoreClientCallback INFO - disconnected() callback
called.

2011-09-16 17:03:58,770 StoreClientCallback INFO - connected() callback
called.

2011-09-16 17:03:58,770 ClientSupport INFO - Connection established

2011-09-16 17:04:03,824 ClientSupport WARN - TLS not supported by IMAP
server.

2011-09-16 17:04:03,824 ClientSupport INFO - Sending demo2 at defense.fr login
informations.

2011-09-16 17:04:03,833 Pool INFO - demo2 at defense.fr-pool: Pooled object
added.

2011-09-16 17:04:03,834 Pool INFO - demo2 at defense.fr-pool: Adding pooled
object...

2011-09-16 17:04:03,844 StoreClientCallback INFO - connected() callback
called.

2011-09-16 17:04:03,844 ClientSupport INFO - Connection established

2011-09-16 17:04:08,900 ClientSupport WARN - TLS not supported by IMAP
server.

2011-09-16 17:04:08,900 ClientSupport INFO - Sending demo2 at defense.fr login
informations.

2011-09-16 17:04:08,905 Pool INFO - demo2 at defense.fr-pool: Pooled object
added.

2011-09-16 17:04:08,908 RunnableExtensionLoader INFO - SolrClientFactory
loaded.

2011-09-16 17:04:08,908 RunnableExtensionLoader INFO - Loaded 1 implementors
of fr.aliasource.index.core.indexfactory

2011-09-16 17:04:08,908 SolrClientFactory INFO - SOLR server url set to
'http://10.67.162.150:8080/solr/webmail'

2011-09-16 17:04:08,908 RunnableExtensionLoader INFO - CrawlerFactory
loaded.

2011-09-16 17:04:08,908 RunnableExtensionLoader INFO -
ConversationListenerFactory loaded.

2011-09-16 17:04:08,908 RunnableExtensionLoader INFO - Loaded 2 implementors
of fr.aliasource.index.core.crawlerfactory

2011-09-16 17:04:08,933 SolrClientFactory INFO - Got ping reply in 25ms.
Solr is alive.

2011-09-16 17:04:08,934 SearchDirector INFO - SearchDirector created.

2011-09-16 17:04:08,934 IMAPAccount INFO - Will now start caching & crawling
thread

2011-09-16 17:04:08,939 AccountCache INFO - Cache id:4

2011-09-16 17:04:08,939 AccountCache INFO - ds created:
org.minig.cache.JDBCDataStore at 728ce2

2011-09-16 17:04:08,939 CacheManager INFO - taking for first indexing round
lock...

2011-09-16 17:04:08,939 CacheManager INFO - first indexing round lock
acquired.

2011-09-16 17:04:49,115 CacheManager INFO - [demo2 at defense.fr]: [flagSync]
INBOX changes found. (21ms (loadCache: 5ms, updCache: 16ms))

2011-09-16 17:04:49,121 ListConversationsCommand INFO - merge with
oldRefs.size: 35 added: 36

2011-09-16 17:04:49,299 ListConversationsCommand INFO -
[demo2 at defense.fr][INBOX] fetched 36 in 176ms.

2011-09-16 17:04:49,319 ConversationFactory INFO - merge updates: real
updates: 0 similar: 35

2011-09-16 17:04:49,323 ConversationFactory INFO - [demo2 at defense.fr][INBOX]
merge result: 0 / 35 / 0 (total conv: 35) in 6ms.

2011-09-16 17:04:49,346 RunnableExtensionLoader INFO - ImagePreviewGenerator
loaded.

2011-09-16 17:04:49,348 RunnableExtensionLoader INFO - Loaded 1 implementors
of fr.aliasource.webmail.common.previewer

2011-09-16 17:04:49,349 AttachmentsPreviewManager INFO - 1 attachments
previewer registered

2011-09-16 17:04:49,375 IdentitySource ERROR - [LDAP: error code 32 - No
Such Object]

javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object];
remaining name 'dc=local'

        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3066)

        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)

        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)

        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1826)

        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1749)

        at
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.ja
va:368)

        at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeD
irContext.java:338)

        at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeD
irContext.java:321)

        at
javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)

        at fr.aliasource.utils.LdapUtils.getAttributes(LdapUtils.java:60)

        at
org.minig.identity.ldap.IdentitySource.getIdentities(IdentitySource.java:52)

        at
org.minig.backend.identity.IdentityManager.getIdentities(IdentityManager.jav
a:37)

        at
org.minig.backend.identity.IdentitySettingsProvider$IdentitySP.getData(Ident
itySettingsProvider.java:58)

        at
org.minig.backend.settings.SettingsAction.appendSettings(SettingsAction.java
:71)

        at
org.minig.backend.settings.SettingsAction.execute(SettingsAction.java:59)

        at
fr.aliasource.webmail.proxy.Controller.processConnectedRequest(Controller.ja
va:189)

        at
fr.aliasource.webmail.proxy.Controller.service(Controller.java:72)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

        at
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.ser
vice(ServletManager.java:180)

        at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(
ServletRegistration.java:90)

        at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxySer
vlet.java:111)

        at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.
java:75)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

        at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServic
eServlet.service(HttpServerManager.java:318)

        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)

        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380)

        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

        at org.mortbay.jetty.Server.handle(Server.java:324)

        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)

        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:
880)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:748)

        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)

        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520
)

2011-09-16 17:04:49,419 SettingService INFO - reflect method: 2, 3, 25

2011-09-16 17:04:49,423 OBMProvider INFO - return 24 settings for userid:
demo2 at defense.fr

2011-09-16 17:04:49,854 SearchDirector INFO - type demo2 at defense.fr removed
from runningCrawlers

2011-09-16 17:04:49,856 SearchDirector INFO - type demo2 at defense.fr/chat
removed from runningCrawlers

2011-09-16 17:04:50,518 FetchVacation INFO - fetchVacation for user
demo2 at defense.fr

 

 

Pourtant il n’y a rien à indexer avex obm-solr

 

root at obmui:/usr/share/obm-solr# ./obm_index_init.py

INFO: Fetch solr servers

INFO: Connect to solr 10.67.162.150 for domain defense.fr

INFO: Event indexing for domain defense.fr

INFO: Add 15 events

INFO: Solr commit

INFO: Connect to solr 10.67.162.150 for domain defense.fr

INFO: Contact indexing for domain defense.fr

INFO: Add 1 contacts

INFO: Solr commit

 

 

Ma configuration de mon /etc/minig/backend_conf.ini

 

completion.ldap.url=ldap://10.67.162.90

completion.ldap.basedn=dc=mydomaine,dc=com

completion.ldap.filter=(&(mail=*)(|(cn=*%q*)(mail=*%q*)))

 

 

MERCI DE VOTRE AIDE !!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.obm.org/pipermail/obm/attachments/20110916/9513aaa9/attachment-0001.htm 


More information about the Obm mailing list