Displaying 20 results from an estimated 800 matches similar to: "Mongrel, Mutex and FastThread results for win32."
2007 Mar 14
3
Fastthread memory leak?
Hi All,
I have an app making extensive use of Mutex and was concerned about the
memory leak I have read about. I saw some sample code to reproduce the
problem here: http://pastie.caboo.se/10194
So I thought I would run it myself to see the problem.
I do not see a memory leak when using the sample code, but if I require
"fastthread" before "thread" using fastthread (0.6.4.1)
2006 Dec 01
1
no more wedged mongrels with fastthread
With Mongrel 0.3.18, I have not seen a single one of the hangs that I
have been grousing about for the past N weeks.
Thanks MenTaLguY and Zed!
Q: Mongrel loads fastthread, Mongrel loads Rails, Rails loads OCI8,
OCI8 requires ''thread''. That means OCI8 is using fastthread too,
right?
Steve
2007 May 04
1
Trying to get a good example for win32-mutex
Hi all,
I''ve been going through the various IPC modules for Win32Utils and
converting them to pure Ruby. I''m almost done with win32-mutex, but I
can''t get the example to work. I keep getting this error:
C:/Documents and
Settings/djberge/workspace/win32-mutex/examples/mutex_test.rb:41:
undefined method `+'' for nil:NilClass
(NoMethodError)
from
2007 Jun 19
1
fastthread errors on Debian Etch
Hi all,
I am strangely getting errors on Debian Etch on a Intel server though
I had done an identical install of mongrel-1.0.1 on an amd64 version
of Etch.
While building fastthreads I get:
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install mongrel
creating Makefile
make
gcc -I.
2007 Feb 14
4
fastthread-0.6.4.1 released
== NOW
A new version of fastthread, the library providing better
implementations of the classes in thread.rb, has been released.
Please note that fastthread is only for Ruby 1.8, not JRuby or any other
Ruby implementation (most of them don''t need it anyway!).
== WHY
The existing implementation of Mutex, Queue, etc. in thread.rb is slow.
fastthread''s is faster (and bypasses
2007 Jan 19
7
fastthread 0.6.2
It looks like I got too creative in 0.6.1 and consequently ran afoul of
a bug in the Ruby interpreter. 0.6.2 works around the bug and should be
entirely stable at this point.
Thanks to Young Hyun for his help in coming up with test cases.
== what?
fastthread is a Ruby library which provides a faster (and
non-memory-leaking) C implementation of the concurrency primitives from
stdlib''s
2006 Dec 06
5
Win32 gems for mongrel (0.3.18) and mongrel_service (0.3.1)
Hello Users!,
Since the pre-release 0.3.18 (last week) Lot of things happen in
ruby-land (check the DoS security bulletin, please).
Anyway, the win32 folks being left on the side of the road, and cannot
provide feedback of stability due lack of binaries for the latest
releases.
So, I managed to upload the pre-built gem to my host:
http://www.mmediasys.com/releases/mongrel-0.3.18-mswin32.gem
2006 Nov 23
0
fastthread 0.4
fastthread is a library which replaces the synchronization primitives
defined in stdlib?s thread.rb (Mutex, ConditionVariable, Queue, and
SizedQueue) with optimized versions which:
* are much faster (in the non-contention case, speed comparable to
direct use of Thread.critical or Thread.exclusive)
* don?t leak memory (the stdlib implementation of Mutex manages to
2006 Dec 26
7
Rubygems 0.9.0.8 and Fastthread problem
Heya Folks-
This is mainly for Zed and Mentalguy. I have been playing with the
new release of rubygems 0.9.0.8 and I have a major problem with the
requirement that fastthread needs to be required before thread. Just
requiring rubygems and then requiring fastthread right after that
will throw the error:
ez _blog $ ruby
require ''rubygems''
require
2006 Dec 26
0
[PATCH] Fastthread 0.5.3.1 with merb edge (124)
I checked out the latest merb ''trunk'' and after installing it as a gem...
(fresh install)
I got the dreaded "fastthread not loaded: fastthread must be required before
thread" error when starting up an instance of merb. Even without dRB.
So I patched the merb.rb file to include fastthread before anything else if
it''s installed.
Check it.
Merry Christmas!
2006 Dec 31
3
fastthread 0.6.1
I just realized -- if fastthread can be included while Mutex-using code
is already running, then the definition and replacement of the classes
needs to happen atomically. Otherwise, it creates a race condition
where a thread can e.g. end up seeing an incompletely defined Mutex
class or none at all.
fastthread 0.6.1 addresses this by defining the classes and then
atomically swapping the constant
2006 Dec 31
0
fastthread 0.6
I''ve released fastthread 0.6, which relaxes the order of requires so
that fastthread need not be required before thread anymore. Thanks go
to Eric and Ezra.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :
2006 Dec 16
3
fastthread 0.5.3
I''ve just committed fastthread 0.5.3, which finally gives us a working
SizedQueue (which hadn''t really ever worked in previous versions).
Mostly it was just a matter of refactoring Queue and SizedQueue into a
single class behind the scenes, so I could move the signalling of the
SizedQueue-specific condition variable inside the queue''s critical
section. Failing to do so
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing
mongrel on trunk 1.9 and trunk rubygems and got this error compiling
fastthread:
/Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc
creating Makefile
make
gcc -I.
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.
2007 Mar 20
10
fastthread 1.0
Well, just when I thought I was out of the fastthread business...
Okay, in brief:
fastthread is a Ruby extension which re-implements the primitives in
Ruby''s thread.rb in C. It was merged into 1.8.6, replacing the old
thread.rb implementation, but the version that was merged had a couple
serious bugs.
So -- now I release fastthread 1.0, which is basically the Ruby 1.8.6
version with
2007 Jan 04
5
fastthread -- what is it?
Hi,
A quick search didn''t explain what fastthread is, and how it relates
to mongrel. Why would I want to install fastthread?
Thanks,
Joe
2007 Mar 14
1
ruby 1.8.6 includes fastthread?
It looks like fastthread was rolled into 1.8.6:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6/NEWS?revision=12055&view=markup
Does that mean once we upgrade to 186 we can forget about rubygem version?
- Rob
2007 Apr 28
1
backgroundrb and fastthread
I was just curious if anyone noticed any significant performance
improvements using fastthread (or Ruby 1.8.6) with BackgrounDRb
Brandon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url :
2006 Nov 09
6
OptimizedMutex for Mongrel
Hey Zed-
I had a user with an app that was leaking memory with mongrel but
not lighty/fcgi. I have been doing anything I can to track it down. I
already did the Mutex patch to use unshitf and pop instead of shift
and push and it didn''t really help much. The mem leak only really
shows up when you use the wsess option to httperf.
The other day I saw a ruby C extension that