librelist archives

« back to archive

"wrong number of arguments" during worker shutdown (Sidekiq Pro)

"wrong number of arguments" during worker shutdown (Sidekiq Pro)

From:
Felix Holmgren
Date:
2013-11-28 @ 10:28
I know (something like) this has been an issue earlier, but probably in a 
new incarnation now.

From my logs:  

2013-11-25T14:06:11Z 2 TID-oudezfnyw INFO: Shutting down 10 quiet workers  
2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: {:context=>"Manager#stop died"}  
2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: wrong number of arguments (2 for 1)  
2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: 
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.5/lib/sidekiq/pro/reliable_fetch.rb:50:in
`bulk_requeue’  


From my Gemfile.lock:

      celluloid (>= 0.15.2)
      connection_pool (>= 1.0.0)
      json
      redis (>= 3.0.4)
      redis-namespace (>= 1.3.1)
    sidekiq-failures (0.2.2)
      sidekiq (>= 2.9.0)
    sidekiq-pro (1.2.5)
      sidekiq (>= 2.16.0)



What might be going on?

Thanks
/Felix


--  
Felix Holmgren
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

Re: [sidekiq] "wrong number of arguments" during worker shutdown (Sidekiq Pro)

From:
Claudio Poli
Date:
2013-11-28 @ 11:43
I'm seeing the same.

Sent from my iPhone

> On 28/nov/2013, at 11:28, Felix Holmgren <felix.holmgren@topvisible.se> wrote:
> 
> I know (something like) this has been an issue earlier, but probably in 
a new incarnation now.
> 
> From my logs:
> 
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw INFO: Shutting down 10 quiet workers 
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: {:context=>"Manager#stop died"} 
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: wrong number of arguments (2 for 1) 
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: 
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.5/lib/sidekiq/pro/reliable_fetch.rb:50:in
`bulk_requeue’ 
> 
> From my Gemfile.lock:
> 
>       celluloid (>= 0.15.2)
>       connection_pool (>= 1.0.0)
>       json
>       redis (>= 3.0.4)
>       redis-namespace (>= 1.3.1)
>     sidekiq-failures (0.2.2)
>       sidekiq (>= 2.9.0)
>     sidekiq-pro (1.2.5)
>       ; sidekiq (>= 2.16.0)
> 
> 
> What might be going on?
> 
> Thanks
> /Felix
> 
> 
> -- 
> Felix Holmgren
> Sent with Sparrow
> 

Re: [sidekiq] "wrong number of arguments" during worker shutdown (Sidekiq Pro)

From:
Jonathan Hyman
Date:
2013-11-28 @ 13:07
@mperham sidekiq pro 1.3.0 isn't released, it's still picking up 1.2.x. I
think that's the issue.

Sent from my mobile device
On Nov 28, 2013 6:44 AM, "Claudio Poli" <masterkain@gmail.com> wrote:

> I'm seeing the same.
>
> Sent from my iPhone
>
> On 28/nov/2013, at 11:28, Felix Holmgren <felix.holmgren@topvisible.se>
> wrote:
>
>  I know (something like) this has been an issue earlier, but probably in a
> new incarnation now.
>
> From my logs:
>
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw INFO: Shutting down 10 quiet workers
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: {:context=>"Manager#stop died"}
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: wrong number of arguments (2
> for 1)
> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN:
> 
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.5/lib/sidekiq/pro/reliable_fetch.rb:50:in
> `bulk_requeue’
>
> From my Gemfile.lock:
>
>       celluloid (>= 0.15.2)
>       connection_pool (>= 1.0.0)
>       json
>       redis (>= 3.0.4)
>       redis-namespace (>= 1.3.1)
>     sidekiq-failures (0.2.2)
>       sidekiq (>= 2.9.0)
>     sidekiq-pro (1.2.5)
>       ; ; sidekiq (>= 2.16.0)
>
>
> What might be going on?
>
> Thanks
> /Felix
>
>
> --
> Felix Holmgren
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
>

Re: [sidekiq] "wrong number of arguments" during worker shutdown (Sidekiq Pro)

From:
Mike Perham
Date:
2013-11-28 @ 13:13
1.3 will be released this morning. 

> On Nov 28, 2013, at 5:07, Jonathan Hyman <hyman.jon@gmail.com> wrote:
> 
> @mperham sidekiq pro 1.3.0 isn't released, it's still picking up 1.2.x. 
I think that's the issue.
> 
> Sent from my mobile device
> 
>> On Nov 28, 2013 6:44 AM, "Claudio Poli" <masterkain@gmail.com> wrote:
>> I'm seeing the same.
>> 
>> Sent from my iPhone
>> 
>>> On 28/nov/2013, at 11:28, Felix Holmgren <felix.holmgren@topvisible.se> wrote:
>>> 
>>> I know (something like) this has been an issue earlier, but probably 
in a new incarnation now.
>>> 
>>> From my logs:
>>> 
>>> 2013-11-25T14:06:11Z 2 TID-oudezfnyw INFO: Shutting down 10 quiet workers 
>>> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: {:context=>"Manager#stop died"} 
>>> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: wrong number of arguments 
(2 for 1) 
>>> 2013-11-25T14:06:11Z 2 TID-oudezfnyw WARN: 
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.5/lib/sidekiq/pro/reliable_fetch.rb:50:in
`bulk_requeue’ 
>>> 
>>> From my Gemfile.lock:
>>> 
>>>       celluloid (>= 0.15.2)
>>>       connection_pool (>= 1.0.0)
>>>       json
>>>       redis (>= 3.0.4)
>>>       redis-namespace (>= 1.3.1)
>>>     sidekiq-failures (0.2.2)
>>>       sidekiq (>= 2.9.0)
>>>     sidekiq-pro (1.2.5)
>>>       ; ; sidekiq (>= 2.16.0)
>>> 
>>> 
>>> What might be going on?
>>> 
>>> Thanks
>>> /Felix
>>> 
>>> 
>>> -- 
>>> Felix Holmgren
>>> Sent with Sparrow
>>> 

wrong number of arguments during shutdown (SKP 1.3.2)

From:
Felix Holmgren
Date:
2013-12-05 @ 11:45
Just updated to Sidekiq Pro 1.3.2, but still getting weirness during 
worker shutdown:

  app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospolr6hs INFO: Shutting down  
  app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: 
{:context=>"Manager#stop died"}  
  app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: wrong number 
of arguments (2 for 1)  
  app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: 
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.in `sidekiq'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:211:in
`requeue'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:196:in
`shutdown'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:61:in
`clean_up_for_graceful_shutdown'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:53:in
`block in stop'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/util.rb:15:in
`watchdog'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:42:in
`stop'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in
`public_send'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in
`dispatch'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in
`dispatch'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in
`block in handle_message'  
  app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in
`block in task’  


From Gemfile.lock:

sidekiq (2.17.0)
  celluloid (>= 0.15.2)
  connection_pool (>= 1.0.0)
  json
  redis (>= 3.0.4)
  redis-namespace (>= 1.3.1)
sidekiq-failures (0.2.2)
  sidekiq (>= 2.9.0)
sidekiq-pro (1.3.2)
  sidekiq (>= 2.17.0)

Re: [sidekiq] wrong number of arguments during shutdown (SKP 1.3.2)

From:
Mike Perham
Date:
2013-12-05 @ 17:53
Looks like you're not shutting down Pro 1.3, but 1.2.  It should work fine
with new processes.


On Thu, Dec 5, 2013 at 3:45 AM, Felix Holmgren <felix.holmgren@topvisible.se
> wrote:

> Just updated to Sidekiq Pro 1.3.2, but still getting weirness during
> worker shutdown:
>
>   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospolr6hs INFO: Shutting down
>   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN:
> {:context=>"Manager#stop died"}
>   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: wrong number
> of arguments (2 for 1)
>   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN:
> /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.in `sidekiq'
>   app/sidekiq.2:
>  /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:211:in
> `requeue'
>   app/sidekiq.2:
>  /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:196:in
> `shutdown'
>   app/sidekiq.2:
>  /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manag
> er.rb:61:in `clean_up_for_graceful_shutdown'
>   app/sidekiq.2:
>  /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:53:in
> `block in stop'
>   app/sidekiq.2:
>  /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/util.rb:15:in
> `watchdog'
>   app/sidekiq.2:
>  /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:42:in
> `stop'
>   app/sidekiq.2:
>  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in
> `public_send'
>   app/sidekiq.2:
>  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in
> `dispatch'
>   app/sidekiq.2:
>  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in
> `dispatch'
>   app/sidekiq.2:
>  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in
> `block in hand le_message'
>   app/sidekiq.2:
>  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in
> `block in task’
>
> From Gemfile.lock:
>
> sidekiq (2.17.0)
>   celluloid (>= 0.15.2)
>   connection_pool (>= 1.0.0)
>   json
>   redis (>= 3.0.4)
>   redis-namespace (>= 1.3.1)
> sidekiq-failures (0.2.2)
>   sidekiq (>= 2.9.0)
> sidekiq-pro (1.3.2)
>   sidekiq (>= 2.17.0)
>
>

Re: [sidekiq] wrong number of arguments during shutdown (SKP 1.3.2)

From:
Felix Holmgren
Date:
2013-12-06 @ 10:01
Gah, of course, those were the last dying throes of the old actors.  

Thanks

/Felix


On Thursday, December 5, 2013 at 6:53 PM, Mike Perham wrote:

> Looks like you're not shutting down Pro 1.3, but 1.2.  It should work 
fine with new processes.
>  
>  
> On Thu, Dec 5, 2013 at 3:45 AM, Felix Holmgren 
<felix.holmgren@topvisible.se (mailto:felix.holmgren@topvisible.se)> 
wrote:
> > Just updated to Sidekiq Pro 1.3.2, but still getting weirness during 
worker shutdown:
> >  
> >   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospolr6hs INFO: Shutting down  
> >   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: 
{:context=>"Manager#stop died"}  
> >   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: wrong 
number of arguments (2 for 1)  
> >   app/sidekiq.2:  2013-12-04T15:01:52Z 2 TID-ospor0qgk WARN: 
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-pro-1.2.in 
(http://sidekiq-pro-1.2.in) `sidekiq'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:211:in
`requeue'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:196:in
`shutdown'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manag 
er.rb:61:in `clean_up_for_graceful_shutdown'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:53:in
`block in stop'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/util.rb:15:in
`watchdog'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/manager.rb:42:in
`stop'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in
`public_send'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in
`dispatch'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in
`dispatch'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in
`block in hand le_message'  
> >   app/sidekiq.2:  
/app/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in
`block in task’  
> >  
> >  
> > From Gemfile.lock:
> >  
> > sidekiq (2.17.0)
> >   celluloid (>= 0.15.2)
> >   connection_pool (>= 1.0.0)
> >   json
> >   redis (>= 3.0.4)
> >   redis-namespace (>= 1.3.1)
> > sidekiq-failures (0.2.2)
> >   sidekiq (>= 2.9.0)
> > sidekiq-pro (1.3.2)
> >   sidekiq (>= 2.17.0)
> >  
>