title: Celluloid::TimeoutError: linking timeout of 5 seconds exceeded
body: <p>I'm working with Jruby 1.7.12 and Celluloid (0.16.0). My application is using pools and generates actors in a loop </p>
  
  <pre><code>require 'kaiwa'
  Kaiwa::Launcher.run
  Celluloid.logger = Kaiwa::Logger.logger
  
  class KaiwaTest
    include Celluloid
    Celluloid::LINKING_TIMEOUT = 5
  
    def initialize
    end
  
    def create_kaiwa_users(handle)
      Kaiwa::Manager.create_user(handle)
    end
  
   def send_kaiwa_messages(to_handle, from_handle, message)
     Kaiwa::Manager.send_message(to_handle, from_handle, message)
   end
  end
  
  kt = KaiwaTest.pool(size: 4)
  
  (0..1_00_000).to_a.each do |index|
    kaiwa_test_pool.async.create_kaiwa_users("user_#{index}") 
   end
  </code></pre>
  
  <p>Within my library each user is an actor which gets linked to the manager, which is also an actor. I've tried eliminating the linking altogether and the problem still persists. The minute i create more than 30 user actors my system hangs. </p>
  
  <p>There seems to be some similar timeout errors discussed with a mention of a JRuby issue but nothing that specifically touches the linking timeout issue. I cannot figure out what is causing the issue. </p>
  
  <p>Thanks in advance.</p>
  
  <p>The entire codebase is available at <a href="https://github.com/supersid/kaiwa" rel="nofollow">https://github.com/supersid/kaiwa</a></p>
  
  <p>Would appreciate any help I can get.</p>