Apache TIKA:无法建立新连接:[Errno 111]连接被拒绝

问题描述

Apacke Tika 1.24。

Tika在服务器模式下运行如下:

NA

我正在观察以下连接错误。我无法确定根本原因是什么。最初,我认为当多个客户端连接(python-tika)尝试使用同一台服务器时会发生这种情况,但是我不确定,因为我将同时运行的进程数减少到10,但仍然发生相同的问题。我在哪里可以找到解决方案?

library(dplyr)
library(purrr)

n <- 10

rerun(n,largetable %>% 
  group_by(PlotCode) %>% 
  slice_sample(n = 2,replace = TRUE) %>%
  count(PlotCode,Category)) %>%
  reduce(full_join,by = c('PlotCode','Category')) %>%
  rename_with(~paste0('n',seq_along(.)),starts_with('n')) %>%
  mutate(across(starts_with('n'),tidyr::replace_na,0))

#  PlotCode Category    n1    n2    n3    n4    n5    n6    n7    n8    n9   n10
#  <chr>    <chr>    <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#1 Plot1    A            1     0     2     2     0     1     0     1     2     2
#2 Plot1    B            1     0     0     0     1     1     2     1     0     0
#3 Plot2    B            1     0     0     0     1     0     0     0     0     0
#4 Plot2    C            1     2     0     0     0     0     1     1     0     0
#5 Plot1    C            0     2     0     0     1     0     0     0     0     0
#6 Plot2    A            0     0     2     2     1     2     1     1     2     2

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)