<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <font face="Calibri"><big><small>Hello Jenifer,<br>
          <br>
          Into the OpenCms administration => Search management <br>
          <br>
          - Check the settings (index sources ...) of </small></big><span
        lang="EN-US">buscaPrincipalOnLineIndex and
        buscaPrincipalOffLineIndex </span><br>
      <big><small>- check the <b>rebuild mode</b> of </small></big><span
        lang="EN-US">buscaPrincipalOnLineIndex and
        buscaPrincipalOffLineIndex and set it to <b>auto </b>if it's
        not the case<br>
        <br>
        Or <br>
      </span></font>
    <pre wrap=""><font face="Calibri"><big>You can also make a change to the <i><b>opencms-search.xml </b></i>file to force OpenCms to remove a lock on the search index even when doing an incremental indexing.

By replacing the line

<b><i><forceunlock><font color="#000099">onlyfull</font></forceunlock></i></b>

with

<i><b><forceunlock><font color="#000099">always</font></forceunlock></b></i>

and restart tomcat after the change.</big>
</font></pre>
    <font face="Calibri"><br>
      Kind regards<br>
      ----------<br>
      <b>Joseph</b><br>
      <a class="moz-txt-link-abbreviated" href="http://www.abena09.com/joseph">www.abena09.com/joseph</a></font><br>
    <br>
    On 17/05/2011 23:08, Deiverson Silveira wrote:
    <blockquote
      cite="mid:BANLkTi=t+LOtqgyYM50hAkZjAZ5P=efNyg@mail.gmail.com"
      type="cite">Hi Jeniffer,
      <div><br>
      </div>
      <div>Try test with index default CmsVfsIndexer, If the same
        problem occurs! You can a real need to use this index custom?
        Perhaps with the CmsVfsIndexer resolved.</div>
      <div><br>
      </div>
      <div>Seu tomcat/postgresql/JVM está usando tunning?!</div>
      <div><br>
      </div>
      <div>Recomendo postar no <a moz-do-not-send="true"
          href="http://www.solutioncms.com/forum">http://www.solutioncms.com/forum</a>
        o problema, que o pessoal pode ajudar!</div>
      <div><br>
      </div>
      <div>Cordialmente,</div>
      <div><br>
      </div>
      <div>
        Deiverson Silveira</div>
      <div><br>
      </div>
      <div>-- <br>
        <i>
          <div><span style="font-style: normal;"><i>
                <div><span style="font-style: normal;"><i>
                      <div style="display: inline ! important;"><span
                          style="font-style: normal;"><i><a
                              moz-do-not-send="true"
                              href="http://www.solutioncms.com/"
                              target="_blank">www.solutioncms.com</a></i></span></div>
                    </i></span></div>
                <div><span style="font-style: normal;"><i><span
                        style="font-style: normal;"><i>
                          <div><span style="font-style: normal;"><i>
                                <div style="display: inline !
                                  important;"><span style="font-style:
                                    normal;"><i><span style="font-style:
                                        normal;"><i>
                                          <div style="display: inline !
                                            important;">
                                            <i>The Brazilian </i><span
                                              style="font-style:
                                              normal;"><i>
                                                <div style="display:
                                                  inline ! important;"><span
                                                    style="font-style:
                                                    normal;"><i><span
                                                        style="font-style:
                                                        normal;"><i>
                                                          <div
                                                          style="display:
                                                          inline !
                                                          important;"><i>Official
                                                          Provider
                                                          OpenCms</i></div>
                                                        </i></span></i></span></div>
                                              </i></span></div>
                                        </i></span></i></span></div>
                              </i></span></div>
                        </i></span></i></span></div>
              </i></span></div>
        </i></div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">2011/5/17 Jeniffer Bastos de Souza <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jeniffer.souza@itlab.com.br">jeniffer.souza@itlab.com.br</a>></span><br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div link="blue" vlink="purple" lang="PT-BR">
              <div>
                <p class="MsoNormal"><span lang="EN-US">Hi everyone.</span></p>
                <p class="MsoNormal">
                  <span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">I hope you guys
                    can help me.</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">I have a main
                    search in my site where the visitant can search
                    anything that he want.</span></p>
                <p class="MsoNormal"><span lang="EN-US">All my
                    documents, files and other things in VFS are indexed
                    in a index called buscaPrincipalOnLineIndex and
                    buscaPrincipalOffLineIndex.</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">OK.</span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
                <p class="MsoNormal"><span lang="EN-US">When any user
                    tried to publish any document that uses the main
                    index I received this message: </span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Updating
                      search index "buscaPrincipalOffLineIndex"</span></span><span
                    lang="EN-US"><br>
                    <span>( 1 ) Indexing file</span>
                    /sites/default/turismo/multimidia/radio_turismo/20110510.html
                    ... <br>
                    <span>failedTimeout while indexing file
                      /sites/default/turismo/multimidia/radio_turismo/20110510.html,
                      abandoning thread</span><br>
                    <span>... finished updating search index
                      "buscaPrincipalOffLineIndex"</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">It
                      happened with online and offline index. This log
                      is just an example.</span></span></p>
                <p class="MsoNormal">
                  <span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Sometimes
                      I just selected both indexes and rebuild them.
                      Everything go back to normal. But the problem got
                      bigger and besides not updating the index, Tomcat
                      was not responding any request related with the
                      main search. And this search is very demanded.
                      After a small period of time Tomcat gets
                      overloaded and crashes.</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">What could
                      it be? My client request to remove the main search
                      from the site, so I don't get any log to show.
                      (The problem disappears)</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">I remember
                      that the logs pointed to an error when executing a
                      select statement. </span></span></p>
                <p class="MsoNormal">
                  <span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">I attached
                      a print screen, maybe it can help.</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal">
                  <span><span lang="EN-US">Would the database or one of
                      it's tables/registers corrupted?</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Windows
                      could lock the index files?</span></span></p>
                <p class="MsoNormal">
                  <span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">I can't
                      restart Windows or repair the tables because the </span></span><span
                    lang="EN-US">environment<span> where OpenMCS runs is
                      on my client and I don't have full access and all
                      permissions to do that.</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">My site
                      runs on:</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Windows
                      Server 2008;</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Java 6;</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Tomcat
                      6.0.20;</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">OpenCMS
                      7.5.2;</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Postgres
                      8.4.5;</span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US"> </span></span></p>
                <p class="MsoNormal"><span><span lang="EN-US">Thanks in
                      advance.</span></span></p>
                <p class="MsoNormal"><span lang="EN-US"> </span></p>
              </div>
            </div>
            <br>
            <br>
            _______________________________________________<br>
            This mail is sent to you from the opencms-dev mailing list<br>
            To change your list options, or to unsubscribe from the
            list, please visit<br>
            <a moz-do-not-send="true"
              href="http://lists.opencms.org/mailman/listinfo/opencms-dev"
              target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <i>
          <div><span style="font-style: normal;"><i>
                <div>
                  <span style="font-style: normal;"><i>
                      <div style="display: inline ! important;"><span
                          style="font-style: normal;"><i><a
                              moz-do-not-send="true"
                              href="http://www.solutioncms.com"
                              target="_blank">www.solutioncms.com</a></i></span></div>
                    </i></span></div>
                <div>
                  <span style="font-style: normal;"><i><span
                        style="font-style: normal;"><i>
                          <div><span style="font-style: normal;"><i>
                                <div style="display: inline !
                                  important;"><span style="font-style:
                                    normal;"><i><span style="font-style:
                                        normal;"><i>
                                          <div style="display: inline !
                                            important;">
                                            <i>The Brazilian </i><span
                                              style="font-style:
                                              normal;"><i>
                                                <div style="display:
                                                  inline ! important;"><span
                                                    style="font-style:
                                                    normal;"><i><span
                                                        style="font-style:
                                                        normal;"><i>
                                                          <div
                                                          style="display:
                                                          inline !
                                                          important;"><i>Official
                                                          Provider
                                                          OpenCms</i></div>
                                                        </i></span></i></span></div>
                                              </i></span></div>
                                        </i></span></i></span></div>
                              </i></span></div>
                        </i></span></i></span></div>
              </i></span></div>
        </i><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
</pre>
    </blockquote>
    <br>
  </body>
</html>