小编Joh*_*n D的帖子

如何在作为服务运行时设置Elasticsearch 5内存(堆)大小

在作为服务运行的Elasticsearch 5.x中,如何设置内存(堆)大小?

环境变量

ES_MIN_MEM   ES_MAX_MEM    ES_HEAP_SIZE
Run Code Online (Sandbox Code Playgroud)

使用基于Debian的发行版(Ubuntu,Mint等)上的Systemd作为服务启动Elasticsearch时,不会将其读取或考虑在内

sudo service elasticsearch start
Run Code Online (Sandbox Code Playgroud)

elasticsearch

4
推荐指数
1
解决办法
5056
查看次数

如何在Timelion中指定索引和日期/时间字段?

我正在尝试在Kibana中使用Timelion应用程序,但我找不到指定索引名称和时间字段的位置.有没有办法在运行中执行此操作,还是必须在某个配置文件中完成?如果是这样,那个文件在哪里?

elasticsearch kibana timelion

3
推荐指数
1
解决办法
3413
查看次数

安装scrapy 0.22时出错(在Ubuntu 12.04上):'gcc'失败,退出状态为1

尝试使用pip从命令行安装Scrapy时
sudo pip install scrapy
出现以下错误:
error: command 'gcc' failed with exit status 1

在错误输出中查看几行,我看到在尝试安装'cryptography'包时发生错误,这似乎是pyOpenSSL的依赖

我尝试自己安装pyOpenSSL,它给出了同样的错误.通过读取错误输出,我发现此错误的可能原因是丢失文件:

ffi.h: No such file or directory

我该怎么办?

ubuntu scrapy

2
推荐指数
1
解决办法
1058
查看次数

Python(pip)包安装失败,出现'致命错误:limits.h:没有这样的文件或目录'

当我尝试安装某个python包(hunspell)时,它失败并出现以下错误:

/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61:
fatal error: limits.h: No such file or directory
Run Code Online (Sandbox Code Playgroud)

知道怎么做才能纠正这个问题吗?

我正在使用新的Linux Mint 18'Sarah'安装.

python gcc g++ pip

2
推荐指数
1
解决办法
3143
查看次数

通过 pip 安装 Python hunspell 包失败

hunspell python 包(通过 pip)的安装失败并出现以下错误:

hunspell.c:21:22: fatal error: hunspell.h: No such file or directory
 #include <hunspell.h>
                      ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)

知道该怎么做才能解决这个问题吗?

python pip hunspell

2
推荐指数
1
解决办法
2343
查看次数

标签 统计

elasticsearch ×2

pip ×2

python ×2

g++ ×1

gcc ×1

hunspell ×1

kibana ×1

scrapy ×1

timelion ×1

ubuntu ×1