[
https://issues.apache.org/jira/browse/TIKA-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved TIKA-639.
--------------------------------
Resolution: Fixed
Done in revision 1091388.
> Maximum pool size for ForkParser
> --------------------------------
>
> Key: TIKA-639
> URL: https://issues.apache.org/jira/browse/TIKA-639
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Fix For: 1.0
>
>
> Currently the poolSize parameter in the ForkParser class just sets the number
> of processes that are kept in the background even if no active parsing tasks
> are in progress. New parsing request are always given a new process if there
> are none left in the pool. In the worst case this can cause lots of processes
> being forked during peak loads.
> I'd like to change the poolSize parameter to specify the maximum number of
> background processes that the ForkParser can
> use at any given time. Unused processes would stay in the pool up to the
> default five-second idle time after which they are reclaimed and the pool
> shrunk until new requests come in again.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira