Displaying 9 results from an estimated 9 matches for "sync_waiting".
2006 Sep 18
2
Random(?) action hanging
Is this the behavior that supposedly indicates a problem with a
particular action? Mongrel in development mode randomly hangs on
random actions. Further requests cause USR1 logs like:
Mon Sep 18 13:04:03 PDT 2006: 0 threads sync_waiting for /, 2 still active in mongrel.
Mon Sep 18 13:07:52 PDT 2006: 1 threads sync_waiting for /public/stylesheets/table.css, 3 still active in mongrel.
Mon Sep 18 13:08:21 PDT 2006: 2 threads sync_waiting for /, 4 still active in mongrel.
0 threads sync_waiting? Isn''t that good? Sync waiting...
2006 Oct 31
9
Problems with mongrel dying
Hi
One of the two mongrel processes has died in the middle of the night
four times in the past 9 days, and I need help debugging this.
Each time the symptoms are the same:
* Each time I can restart the process via cap -a restart_app.
* Before the restart, there is nothing unusual in production.log or
mongrel.log.
* During the restart, about 100 repetitions of an error message are
generated in
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 04
10
mongrel proxies waiting endlessly
Sometime my mongrel server threads..would simply stop responding to the
requests...and in the logs i get following error:
Tue Sep 05 03:56:40 IST 2006: ERROR: Transport endpoint is not connected -
getpeername(2)
Tue Sep 05 03:59:21 IST 2006: ERROR: Transport endpoint is not connected -
getpeername(2)
Tue Sep 05 03:59:21 IST 2006: ERROR: Transport endpoint is not connected -
getpeername(2)
Tue Sep
2006 Sep 04
2
The real reason why Sync and Mutex behave differently
....shift
t.wakeup if t
rescue ThreadError
retry
end
Thread.critical = false
begin
t.run if t
rescue ThreadError
end
self
With Mutex, the next thread to unlock is shifted off the beginning of the array.
With Sync, there is one key difference:
wait = sync_waiting
self.sync_waiting = []
Thread.critical = false
for w in wait
w.run
end
With Sync, a copy is made of the array or waiting threads, the waiting
thread queue is set to a fresh, empty array, and all of the threads
pointed to in the copy are woken up. One will get the lock, and t...
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
Recently while i turned on USR1 debugging...mongrel running behind
Apache2.2threw following debugging messages:
Thu Sep 07 15:58:30 IST 2006: 0 threads sync_waiting for /charts/%5EBSESN, 1
still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
/images/tab_but_normal1.png, 3 still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for /images/msgBg1.gif,
3 still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 t...
2006 Sep 13
7
Mongrel spewing backtraces and nanosleeping
Hi list,
I''m seeing a couple of issues with Mongrel. I''m running FreeBSD 6.1 and
have previously been told that there are known conflicts between this
and Mongrel, yet I hope these issues will be resolved with time.
I''m overloading Mongrel with httperf on my local workstation. Mongrel is
started directly with the mongrel_rails command and there is only one
mongrel
2006 Oct 01
11
Mongrel woes fixed
...hread.critical = true; sync_try_lock_sub(m))
if sync_sh_locker[Thread.current]
sync_upgrade_waiting.push [Thread.current, sync_sh_locker[Thread.current]]
sync_sh_locker.delete(Thread.current)
else
+ STDERR.print "[sync_lock:2] Pushing #{Thread.current.inspect} behind #{sync_waiting.size} others\n"
sync_waiting.push Thread.current
end
+ print_critical("sync_lock", "3", "false")
Thread.stop
end
+ print_critical("sync_lock", "4", "false")
Thread.critical = false
self
end...
2017 Mar 13
1
[ANNOUNCE] intel-gpu-tools 1.18
A new intel-gpu-tools quarterly release is available with the
following changes:
Library changes:
- Various changes to library functions so that they don't assume Intel
hardware. (Lyude)
- Added helper functions for managing synchronization primitives.
(Robert Foss)
- Added support for the new generic CRC capture kernel ABI. (Tomeu
Vizoso)
- Added Geminilake platform support. (Ander