无法启动应用内核变量

无法启动应用内核变量

这是片段journalctl结果:

Jan 09 12:37:26 Host systemd[1]: Starting Apply Kernel Variables...
Jan 09 12:37:26 Host systemd-sysctl[329]: Couldn't write '65536' to 'fs/inotify/max_user_watches': Input/output error
Jan 09 12:37:26 Host systemd-sysctl[329]: Couldn't write '50000000' to 'net/core/rmem_max': Input/output error
Jan 09 12:37:26 Host systemd-sysctl[329]: Couldn't write '1048576' to 'net/core/wmem_max': Input/output error
Jan 09 12:37:26 Host systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Jan 09 12:37:26 Host systemd[1]: systemd-sysctl.service: Failed with result 'exit-code'.
Jan 09 12:37:26 Host systemd[1]: Failed to start Apply Kernel Variables.
Jan 09 12:37:26 Host kernel: systemd-sysctl wrote to max_user_watches when file position was not 0!
                             This will not be supported in the future. To silence this
                             warning, set kernel.sysctl_writes_strict = -1

systemctl status systemd-sysctl.service结果:

root@Host:~# systemctl status systemd-sysctl.service
* systemd-sysctl.service - Apply Kernel Variables
   Loaded: loaded (/lib/systemd/system/systemd-sysctl.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-01-09 12:37:26 CET; 32min ago
     Docs: man:systemd-sysctl.service(8)
           man:sysctl.d(5)
  Process: 329 ExecStart=/lib/systemd/systemd-sysctl (code=exited, status=1/FAILURE)
 Main PID: 329 (code=exited, status=1/FAILURE)

Jan 09 12:37:26 Host systemd[1]: Starting Apply Kernel Variables...
Jan 09 12:37:26 Host systemd-sysctl[329]: Couldn't write '65536' to 'fs/inotify/max_user_watches': Input/output error
Jan 09 12:37:26 Host systemd-sysctl[329]: Couldn't write '50000000' to 'net/core/rmem_max': Input/output error
Jan 09 12:37:26 Host systemd-sysctl[329]: Couldn't write '1048576' to 'net/core/wmem_max': Input/output error
Jan 09 12:37:26 Host systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Jan 09 12:37:26 Host systemd[1]: systemd-sysctl.service: Failed with result 'exit-code'.
Jan 09 12:37:26 Host systemd[1]: Failed to start Apply Kernel Variables.

这些日志都是关于什么的?我想摆脱这些错误消息。我该怎么做?

相关内容