Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 18:21:01 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Garrett Cooper <gcooper@FreeBSD.org>
Cc:        hackers@FreeBSD.org
Subject:   Re: ccache pausing in buildworld
Message-ID:  <alpine.BSF.2.00.1010311804070.10943@wonkity.com>
In-Reply-To: <AANLkTi=yxpZ_1whFJ4OvkMbmv9%2BnzkHc43D1Ezs5WRM1@mail.gmail.com>
References:  <alpine.BSF.2.00.1010311019150.9437@wonkity.com> <AANLkTi=yxpZ_1whFJ4OvkMbmv9%2BnzkHc43D1Ezs5WRM1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---902635197-645990358-1288570243=:10943
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <alpine.BSF.2.00.1010311810581.10943@wonkity.com>

On Sun, 31 Oct 2010, Garrett Cooper wrote:

> On Sun, Oct 31, 2010 at 9:38 AM, Warren Block <wblock@wonkity.com> wrote:
>> About a month ago, ccache began to pause in buildworld.  The build doesn't
>> halt or quit, it stays running but not doing anything:
>>
>> /usr/local/libexec/ccache/world-cc -fpic -DPIC -O2 -pipe -march=prescott
>> -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include
>> -I/usr/src/lib/libc/i386-DNLS -D__DBINTERFACE_PRIVATE
>> -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc
>> -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
>> -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
>> -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99
>> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
>> -Wno-uninitialized -Wno-pointer-sign -c crypt_xdr.c -o crypt_xdr.So
>>
>> And there it stays:
>>
>>  load: 0.02  cmd: make 83143 [select] 401.32r 0.05u 0.05s 0% 852k
>>  load: 0.01  cmd: make 83143 [select] 409.08r 0.05u 0.05s 0% 852k
>>  load: 0.01  cmd: make 83143 [select] 422.00r 0.05u 0.05s 0% 852k
>
>    Have you tried trussing or ktrace'ing the processes to determine
> where they get stuck?

Not until now:

# truss -p 89904
wait4(0xffffffff,0xbfbfdda8,0x3,0x0,0x0,0x0)	 = 0 (0x0)
select(1024,{4},0x0,0x0,{2.000000 })		 = 0 (0x0)
wait4(0xffffffff,0xbfbfdda8,0x3,0x0,0x0,0x0)	 = 0 (0x0)
select(1024,{4},0x0,0x0,{2.000000 })		 = 0 (0x0)

Like it's waiting for input.  Yet do it alone, and it works fine:

   # cd /usr/obj/usr/src/lib/libc
   # /usr/local/libexec/ccache/world-cc -O2 -pipe -march=prescott -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c nslexer.c
   #

Emanuel Haupt points out ports/151287, which is the same thing.
---902635197-645990358-1288570243=:10943--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1010311804070.10943>