我正在将 opswork 与 t2.medium 机器一起使用,其中运行着 ruby 发条。
我们每 30 秒触发一次工作。
SPAWNED BG JOB FOR TASK: 20 for SC: 20 with Sidekiq id: 3afda705eaf597edb4bcc257
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
SPAWNED BG JOB FOR TASK: 25 for SC: 25 with Sidekiq id: f9142190bd44736815c10645
在发条日志中,我看到以下错误和发条功能停止。当我重新启动发条时,它开始工作。我不知道。
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
请帮忙
更新: 我们使用 ruby Logger 在 sql.log 中记录消息的更多信息。它有一个默认的日志轮换选项。 关联
提前致谢。