From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: normalperson@yhbt.net Received: from zedshaw2.xen.prgmr.com (zedshaw2.xen.prgmr.com [71.19.156.177]) by dcvr.yhbt.net (Postfix) with ESMTP id 138591F6D8 for ; Tue, 30 Apr 2013 02:40:18 +0000 (UTC) Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 878EF73E01 for ; Tue, 30 Apr 2013 02:42:15 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 30 Apr 2013 02:39:40 +0000 From: Eric Wong List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Message-Id: <1367289582-31293-16-git-send-email-normalperson@yhbt.net> Precedence: list References: <1367289582-31293-1-git-send-email-normalperson@yhbt.net> Sender: sleepy.penguin@librelist.org Subject: [sleepy.penguin] [PATCH 15/17] test_epoll: increase delay between signal spamming To: sleepy.penguin@librelist.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Frequently sending signals can lead to high memory usage and slowdowns on some Ruby + malloc implementations. --- test/test_epoll.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_epoll.rb b/test/test_epoll.rb index af70fa2..bdb550b 100644 --- a/test/test_epoll.rb +++ b/test/test_epoll.rb @@ -450,7 +450,7 @@ def test_epoll_wait_signal_torture trap(:USR1, "DEFAULT") sleep 0.1 ppid = Process.ppid - nr.times { Process.kill(:USR1, ppid); sleep 0.01 } + nr.times { Process.kill(:USR1, ppid); sleep 0.05 } @wr.syswrite('.') exit!(0) end -- 1.8.2.1.367.gc875ca7