Skip to content

Too many open files #155

@heaven

Description

@heaven

Seeing this in the sidekiq's log:

2015-12-17T17:42:03.264Z 31734 TID-1nasn0 ERROR: Too many open files @ rb_sysopen - /var/www/crm.wegohealth.com/shared/bundle/ruby/2.2.0/gems/sidekiq-unique-jobs-4.0.9/redis/aquire_lock.lua
2015-12-17T17:42:03.265Z 31734 TID-1nasn0 ERROR: /var/www/crm.wegohealth.com/shared/bundle/ruby/2.2.0/gems/sidekiq-unique-jobs-4.0.9/lib/sidekiq_unique_jobs/scripts.rb:39:in `read'

Also found the gem is not reliable some times, there are orphaned locks in the queue, and they supposed to contain the job id, but sometimes they contain one of these values: [], null, false.

UPD: all this was observed with 4.0.9, just upgraded to 4.0.13, testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions