[distcc] ncpus returns 0

Martin Pool mbp at samba.org
Thu Jun 12 02:51:21 GMT 2003

On 11 Jun 2003, Sean MacLennan <seanm at seanm.ca> wrote:
Content-Description: message body text
> I compiled distcc on my StongARM based NetWinder running Linux. I then
> ran distccd --daemon and watched my cpu go to 100%. It turns out that
> the sysconf in ncpus returns 0 and distccd goes in to an endless loop
> waiting for a child to die. The simple attached patch just sets the
> ncpus to 1 if the sysconf returns 0.

Thanks!  Just in time for 2.6!

What kernel version is this, by the way?   Does that ever work on ARM?


More information about the distcc mailing list