这是我的 elasticsearch 应用程序,它在启动时终止,显示:
bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
Run Code Online (Sandbox Code Playgroud)
我在我的 limits.conf 文件中进行了更改nofile以更改为 65536,如下所示:
* soft nofile 65536
* hard nofile 65536
Run Code Online (Sandbox Code Playgroud)
并为同一用户(非 root 用户)重新启动一个新会话,但是当我打开一个新会话时,我在终端上得到的第一件事是:
bash: ulimit: max user processes: cannot modify limit: Operation not permitted
Run Code Online (Sandbox Code Playgroud)
我的 ulimit 也没有改变。可能是什么原因?虽然我能够成功地为 root 用户更改它。
我的笔记本电脑上连接了一个外接显示器。
为了在屏幕之间切换,我需要将鼠标移动到一个角落才能切换到另一个屏幕。
有没有键盘快捷键或其他方法可以做到这一点?