Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2776

Tika server child restart

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.20
    • Component/s: None
    • Labels:
      None

      Description

      Hallo.
      I use tika server standalone started with the option:
      java -jar /opt/tika/tika-server-1.19.1.jar -spawnChild

      I use ManifoldCF and Solr to index file using tika server.
      It happens that indexing is continuously crashed because I obtain many:
      Tika down, retrying: Connection reset
      etc.

      I suspect that, when a process is restarted, the client crash as mentioned here:
      If the child process is in the process of shutting down, and it gets a new request it will return 503 – Service Unavailable. If the server times out on a file, the client will receive an IOException from the closed socket. Note that all other files that are being processed will end with an IOException from a closed socket when the child process shuts down; e.g. if you send three files to tika-server concurrently, and one of them causes a catastrophic problem requiring the child to shut down, you won't be able to tell which file caused the problems. In the future, we may implement a gentler shutdown than we currently have.

      as reported here https://wiki.apache.org/tika/TikaJAXRS

      How could I workaround it ?

      Thanks a lot

      Mario

        Attachments

        1. man_tika.zip
          138 kB
          Mario Bisonti
        2. MCF_JOB.png
          75 kB
          Mario Bisonti
        3. Log.zip
          393 kB
          Mario Bisonti
        4. tikalogchild.log
          1 kB
          Tim Allison
        5. log4j_child.xml
          1 kB
          Tim Allison
        6. log4j.xml
          1.0 kB
          Mario Bisonti
        7. log4j_child.xml
          1.0 kB
          Mario Bisonti

          Issue Links

            Activity

              People

              • Assignee:
                tallison Tim Allison
                Reporter:
                bisontim Mario Bisonti
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: