I use opswork with a t2.medium machine with a ruby mechanism working in it.
every 30 seconds we start work.
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
in the clockwork logs, I see below the error and the clock that stops. when I start the hour work, it starts to work. I have no idea.
log rotation inter-process lock failed. No such file or directory @ rb_sysopen - log/sql.log
help me please
Updated: some information that we use ruby Logger to log messages in sql.log. it has a default log rotation option. Link
Thanks in advance.
source share