Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 17 Oct 2011 13:00:58 +0200 (CEST)
From: Pavel Kankovsky <peak@...o.troja.mff.cuni.cz>
To: owl-dev@...ts.openwall.com
Subject: Re: perl: Benchmark.t loops infinitely catting times(2)

On Sun, 9 Oct 2011, Vasiliy Kulikov wrote:

> I got a problem with compiling perl under gcc 4.6.1.  On x86_64 system
> Benchmark.t test 'perl' process loops forever.  strace -p show:
> 
> ...
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961800
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961801

As far as I can tell, it gets stuck in Benchmark::runloop waiting until 
tms_utime returned by times() changes. This should never take more than 
1 s (as long as it is the only process keeping the CPU busy). It must be a 
kernel bug if it keeps looping forever (does consumed CPU time increase 
when the process is monitored with "top"?).

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21st century edition /


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ