APT 致命 -> 无法分叉

Mul*_*gno 16 memory cron cron.daily fork apt

我看到很多关于这个的问题,但我的似乎有点不同。

这是我收到的:

/etc/cron.weekly/apt-xapian-index:
FATAL -> Failed to fork.
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 100
Run Code Online (Sandbox Code Playgroud)

/etc/cron.daily/apt:
FATAL -> Failed to fork.
Run Code Online (Sandbox Code Playgroud)

/etc/cron.daily/apt:
DB Update failed, database locked
Run Code Online (Sandbox Code Playgroud)

我总是有至少 600 MB 的可用 RAM。如果我尝试手动运行sudo /etc/cron.daily/apt什么也不会发生..shell 挂起。

可能是什么问题呢?

编辑: Ubuntu 服务器 14.04

Nil*_*ann 20

我看到这个消息很多。在所有情况下,“致命 -> 无法分叉。” 意味着没有足够的内存来运行 apt cron 作业。增加此 cron 作业的可用内存。

  • 谢谢你。“立即重启”解决了我的内存问题,然后标准的 apt-get 命令让我回到了正轨。 (2认同)