search for: sync_unlock

Displaying 7 results from an estimated 7 matches for "sync_unlock".

2006 Oct 01
11
Mongrel woes fixed
...when severely loaded. I believe to have resolved these two issues and have attached patches which shows the resolution (simple as it is). Explanation of the patches is given below. The first problem is handled by the patch to sync.rb from the standard library. What is happening here is that when sync_unlock is called Thread.critical is set to true. Now if the thread is not the sync_ex_locker an exception is thrown without Thread.critical being set to false. This in turn resulted in a situation where the mongrel_sleeper_thread (configurator.rb:270) was the only thread getting back on the cpu and Thread...
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
...ems brought into Puppet. I installed it on several this morning without incident, but there are two (more or less identical RHEL 5.3 systems) that throw horrible errors. These systems did not have Puppet or Ruby installed prior to today. # puppet --version /usr/lib/ruby/1.8/sync.rb:214:in `sync_unlock'': stack level too deep (SystemStackError) from /usr/lib/ruby/1.8/sync.rb:231:in `synchronize'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:290:in `name'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:288:in `each'' from /u...
2012 Sep 15
1
err: Could not request certificate: stack level too deep
...certificate for ca debug: Using cached certificate for ca /usr/lib/ruby/1.8/sync.rb:58:in `Fail'': Thread(#<Thread:0x2af83efcd378 run>) not locked. (Sync_m::Err::UnknownLocker) from /usr/lib/ruby/1.8/sync.rb:64:in `Fail'' from /usr/lib/ruby/1.8/sync.rb:184:in `sync_unlock'' from /usr/lib/ruby/1.8/sync.rb:232:in `synchronize'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:650:in `uninterpolated_value'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:800:in `each_source'' from /usr/lib/ruby/site_rub...
2006 Sep 18
2
Random(?) action hanging
....Mon Sep 18 13:16:44 PDT 2006: Error calling Dispatcher.dispatch #<Sync_m::Err::UnknownLocker: Thread(#<Thread:0x3388f10 run>) not locked.> /usr/local/lib/ruby/1.8/sync.rb:57:in `Fail'' /usr/local/lib/ruby/1.8/sync.rb:63:in `Fail'' /usr/local/lib/ruby/1.8/sync.rb:183:in `sync_unlock'' /usr/local/lib/ruby/1.8/sync.rb:231:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:83:in `process'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in `process_client'' /usr/local/lib/ruby/gems/1.8/ge...
2006 Oct 31
9
Problems with mongrel dying
...ng restart: Tue Oct 31 07:26:30 PST 2006: Error calling Dispatcher.dispatch #<Sync_m::Err::UnknownLocker: Thread(#<Thread:0xb7544c58 aborting>) not locked.> /usr/lib/ruby/1.8/sync.rb:57:in `Fail'' /usr/lib/ruby/1.8/sync.rb:63:in `Fail'' /usr/lib/ruby/1.8/sync.rb:183:in `sync_unlock'' /usr/lib/ruby/1.8/sync.rb:231:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel/rails.rb:81:in `process'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/mongrel.rb:583:in `process_client'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.5/lib/...
2006 Oct 24
9
[WARN] Got 99% CPU?
Hey folks, I ran into a few people at RubyConf who were having 99% CPU issues. Please contact me if you meet the following criteria: 1. You are running a production site. 2. You are experiencing 99% CPU errors. 3. This is frequent enough that you cannot manage it. Thank you. Please contact me off-list about it. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/
2006 Sep 13
7
Mongrel spewing backtraces and nanosleeping
...Wed Sep 13 00:34:42 CEST 2006: Error calling Dispatcher.dispatch #<Sync_m::Err::UnknownLocker: Thread(#<Thread:0x8f1a364 run>) not locked.> /usr/local/lib/ruby/1.8/sync.rb:57:in `Fail'' /usr/local/lib/ruby/1.8/sync.rb:63:in `Fail'' /usr/local/lib/ruby/1.8/sync.rb:183:in `sync_unlock'' /usr/local/lib/ruby/1.8/sync.rb:231:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:83:in `process'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in `process_client'' /usr/local/lib/ruby/gems/1.8/ge...