【问题标题】:Firefox killed by sigbus while running inside DockerFirefox 在 Docker 中运行时被 sigbus 杀死
【发布时间】:2020-06-05 18:02:34
【问题描述】:

Firefox 在 Redhat Linux 中被 SIGBUS 内核警报杀死。或者,一旦您开始查看 Firefox 日志,您会发现“A content process crashed Firefox”,然后是在 firefox.log 中看到的连接错误。

【问题讨论】:

    标签: docker firefox


    【解决方案1】:

    Firefox 崩溃可能是因为容器内 /dev/shm 的内存限制太小 增加此内存将解决由于 SIGBUS 导致的崩溃。

    在启动 docker 容器时添加 --shm-size "1g"。

    在 docker-compose 中

    services:
      yourservice:
        build:
          context: ./docker
        shm_size: '1gb'
    

    更多细节在 bugzilla。 [https://bugzilla.mozilla.org/show_bug.cgi?id=1245239][1]

    【讨论】:

      猜你喜欢
      • 2021-05-21
      • 2023-03-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-06-03
      • 2015-11-26
      • 1970-01-01
      相关资源
      最近更新 更多