[#7043] RUBYOPT versioning? — Caleb Tennis <caleb@...>
Matz, others:
[#7050] RDoc patches for BigDecimal in Ruby CVS — mathew <meta@...>
Now that 1.8.4 is out and the initial flurry of problem reports has died
[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>
Okay. I've got Ruby compiling. I'm attempting to get everything in
Hi,
On 05/01/06, nobuyoshi nakada <nobuyoshi.nakada@ge.com> wrote:
On 06/01/06, Austin Ziegler <halostatue@gmail.com> wrote:
Hi,
On 09/01/06, nobuyoshi nakada <nobuyoshi.nakada@ge.com> wrote:
[#7057] 64-bit Solaris READ_DATA_PENDING Revisited — Steven Lumos <steven@...>
[#7078] CRC - a proof-of-concept Ruby compiler — Anders Hkersten <chucky@...>
Hello everyone,
[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)
Hi,
Hadmut Danisch wrote:
Daniel Berger wrote:
*Dean Wampler *<deanwampler gmail.com> writes:
On Fri, 13 Jan 2006, mathew wrote:
On Fri, 13 Jan 2006, Mathieu Bouchard wrote:
ara.t.howard@noaa.gov wrote:
On Fri, 13 Jan 2006, James Britt wrote:
Dean Wampler <deanwampler gmail.com> writes:
On Sat, 14 Jan 2006, mathew wrote:
[#7100] core dump with ruby 1.9.0 (2006-01-10) and bdb-0.5.8 — Tanaka Akira <akr@...17n.org>
I found following test script dumps core.
>>>>> "T" == Tanaka Akira <akr@m17n.org> writes:
In article <200601110905.k0B950Op001713@moulon.inra.fr>,
[#7109] Calling flock with block? — Bertram Scharpf <lists@...>
Hi,
On Thu, 12 Jan 2006, Bertram Scharpf wrote:
[#7129] YAML.load({[]=>""}.to_yaml) — Tanaka Akira <akr@...17n.org>
I found that current YAML doesn't round trip {[]=>""}.
Hi.
Hi.
In article <20060115202203.D3624CA0.ocean@m2.ccsnet.ne.jp>,
[#7162] FileUtils.mv does not unlink source file when moving over filesystem boundary — Pav Lucistnik <pav@...>
Hi,
On Mon, 16 Jan 2006, Pav Lucistnik wrote:
[#7178] Add XHTML 1.0 Output Support to Ruby CGI — Paul Duncan <pabs@...>
The attached patch against Ruby 1.8.4 adds XHTML 1.0 output support to
[#7186] Ruby 1.9 and FHS — "Kirill A. Shutemov" <k.shutemov@...>
Build and install system changes:
[#7195] trouble due ruby redefining posix function eaccess — noreply@...
Bugs item #3317, was opened at 2006-01-24 15:33
[#7197] SSL-enabled DRb fds on SSLError? — ctm@... (Clifford T. Matthews)
Howdy,
On Jan 24, 2006, at 12:46 PM, Clifford T. Matthews wrote:
Patch worked fine against HEAD.
[#7203] bcc32's memory manager bug — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Hi.
[#7211] Some troubles with an embedded ruby interpreter — Matt Mower <matt.mower@...>
Hi folks,
[#7216] String#scan loops forefever if scanned string is modified inside block. — noreply@...
Bugs item #3329, was opened at 2006-01-26 10:55
[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>
Hello,
Sean E. Russell wrote:
>
On 1/28/06, Caleb Tennis <caleb@aei-tech.com> wrote:
On Saturday 28 January 2006 17:13, Wilson Bilkovich wrote:
Sean E. Russell wrote:
[#7249] PATCH: append option to sysread — Yohanes Santoso <ysantoso-rubycore@...>
[#7259] TCP/UDP server weird lags on 1.8.4 linux — "Bill Kelly" <billk@...>
Hi !
TCP/UDP server weird lags on 1.8.4 linux
Hi !
I have been debugging this for a few days, and finally ran strace on
the process. I'm hoping someone on 'core could help me understand this
further.
I have a program that serves clients over TCP, and polls servers over
UDP, and under ruby 1.8.4 (linux 2.6.14.3) i'm seeing frequent seemingly
random moments when the whole process appears to block. In strace, it
always looks about like this:
22:09:44.551164 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 14
22:09:44.551231 connect(14, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("x.x.0.10")}, 28) = 0
22:09:44.551313 send(14, "\356\307\1\0\0\1\0\0\0\0\0\0\00274\003248\00219\00267\7"..., 43, 0) = 43
22:09:44.551402 gettimeofday({1138687784, 551419}, NULL) = 0
22:09:44.551462 poll([{fd=14, events=POLLIN}], 1, 5000) = 0 # ***STALLS HERE FOR 5 SEC***
22:09:49.558264 send(14, "\356\307\1\0\0\1\0\0\0\0\0\0\00274\003248\00219\00267\7"..., 43, 0) = 43
The thing is, in the course of trying to track this down (putting
print statements in the program seemed to indicate the freezes were
occurring at random points), I had created a backtround thread that
just is in a simple loop, printing to a logfile every 0.1 seconds.
I.e:
$bg_print_thread = Thread.new { loop{ $errlog.log("bg_print_thread"); sleep(0.1) } }
$bg_print_thread.priority = 10
Every 0.1 seconds that should be printing to the log file, but the
whole process is getting blocked.
With strace, it's always a poll() statement showing on screen when
the process blocks, similar to:
22:09:44.551462 poll([{fd=14, events=POLLIN}], 1, 5000) = 0
Apparently that's a 5 second (5000 msec) delay? How can I find where
that's coming from?
How could there ever be poll() with a 5000 msec delay, when I have that
sleep(0.1) loop $bg_print_thread thread?
At this point I'm guessing I need to be putting printouts in ruby itself
not my program?
Thanks for your help !
Regards,
Bill