[#83096] File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?}) — Nobuyoshi Nakada <nobu@...>
On 2017/10/04 8:47, normal@ruby-lang.org wrote:
5 messages
2017/10/04
[#83100] Re: File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?})
— Eric Wong <normalperson@...>
2017/10/04
Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#83105] Re: File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?})
— Nobuyoshi Nakada <nobu@...>
2017/10/04
On 2017/10/04 15:55, Eric Wong wrote:
[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>
Hello,
9 messages
2017/10/04
[#83113] Re: Alias Enumerable#include? to Enumerable#includes?
— "Urabe, Shyouhei" <shyouhei@...>
2017/10/05
This has been requested countless times, then rejected each and every time.
[#83129] Re: Alias Enumerable#include? to Enumerable#includes?
— Alberto Almagro <albertoalmagro@...>
2017/10/05
Sorry I didn't found it on the core mail list's archive.
[#83138] Re: Alias Enumerable#include? to Enumerable#includes?
— "Urabe, Shyouhei" <shyouhei@...>
2017/10/06
Ruby has not been made of popular votes so far. You have to show us
[#83149] Re: Alias Enumerable#include? to Enumerable#includes?
— Eric Wong <normalperson@...>
2017/10/06
Alberto Almagro <albertoalmagro@gmail.com> wrote:
[#83200] [Ruby trunk Feature#13996] [PATCH] file.c: apply2files releases GVL — normalperson@...
Issue #13996 has been reported by normalperson (Eric Wong).
4 messages
2017/10/10
[ruby-core:83442] [Backport186 Backport#670][Rejected] select doesn't handle fd's > FD_SETSIZE very well
From:
usa@...
Date:
2017-10-21 10:32:09 UTC
List:
ruby-core #83442
Issue #670 has been updated by usa (Usaku NAKAMURA). Tracker changed from Bug to Backport Project changed from Ruby 1.8 to Backport186 Description updated Status changed from Assigned to Rejected ruby -v deleted (-) 1.8.6 is out of date ---------------------------------------- Backport #670: select doesn't handle fd's > FD_SETSIZE very well https://bugs.ruby-lang.org/issues/670#change-67413 * Author: rogerdpack (Roger Pack) * Status: Rejected * Priority: Normal * Assignee: usa (Usaku NAKAMURA) ---------------------------------------- =begin The main motivation for reporting this bug is that currently on win32 [any version] if you try to pass more than 64 sockets to select, it ignores the 65th onward. This limit is not obeyed by Ruby currently and therefore some sockets will never select. I'd first suggest raising an error if more than 64 total sockets are passed [to the most recent thread that called select?] While examining it, this same aspect [too many or too high of numbered selects] is also seen to cause some problems on other platforms. In the test cases attached, sometimes Mac OS X consistently crashes, sometimes Linux does. Depends on the test. I'd bet that these problems also continue for Ruby 1.9 as well. How to run tests: first touch file 'abc' # used for some tests then run ulimit -n 2000 # if this fails, you may need to run "sudo bash" first then run the files. To ruby's credit, without having first run the ulimit, above, most platforms don't seg fault [though windows still has the difficulty mentioned], so this isn't life critical. Note that in Linux/OS X if a file descriptor's "number" is > FD_SETSIZE then it will be ignored by select. In Windows if the "total number of descriptors" past to select is > FD_SETSIZE then those past FD_SETSIZE will be ignored. Thanks much! -=Roger =end ---Files-------------------------------- test_crashes_os_x.rb (1020 Bytes) test_select_crashes_linux.rb (1003 Bytes) test_select_hangs_on_linux.rb (998 Bytes) test_select_hangs_windows.rb (1017 Bytes) socket.diff (1.86 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>