방금 몇 대의 osx 시스템에 homebrew를 사용하여 distcc를 설치하고 해당 IP 주소를 /usr/local/Cellar/distcc/3.2rc1/etc/distcc/clients.allow 및 ~/.distcc/hosts에 추가했습니다.
그런 다음 -j16으로 컴파일을 시작했지만 distccmon-text를 보면 모든 컴파일이 내 컴퓨터에서만 수행된다는 것을 알 수 있습니다.
DISTCC_LOG 및 DISTCC_VERBOSE를 내보냈는데 로그에 이러한 항목이 많이 표시됩니다.
distcc[72899] (dcc_parse_hosts_file) load hosts from /Users/joao.pincho/.distcc/hosts
distcc[72899] (dcc_parse_hosts) found tcp token "192.168.6.10"
distcc[72899] (dcc_lock_host) got cpu lock on 192.168.6.10 slot 0 as fd6
distcc[72894] (dcc_parse_hosts) found tcp token "192.168.6.10"
distcc[72899] (dcc_lock_host) got cpu lock on localhost slot 0 as fd7
distcc[72899] (dcc_note_state) note state 3, file "(NULL)", host "localhost"
distcc[72895] (dcc_parse_hosts) found tcp token "192.168.6.10"
distcc[72894] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_tcp_192.168.6.10_3632_0 is busy
distcc[72894] (dcc_lock_host) got cpu lock on 192.168.6.10 slot 1 as fd6
distcc[72894] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_localhost_0 is busy
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_tcp_192.168.6.10_3632_0 is busy
distcc[72894] (dcc_lock_host) got cpu lock on localhost slot 1 as fd7
distcc[72894] (dcc_note_state) note state 3, file "(NULL)", host "localhost"
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_tcp_192.168.6.10_3632_1 is busy
distcc[72895] (dcc_lock_host) got cpu lock on 192.168.6.10 slot 2 as fd6
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_localhost_0 is busy
distcc[72895] (dcc_lock_host) /Users/joao.pincho/.distcc/lock/cpu_localhost_1 is busy
distcc[72895] (dcc_lock_host) got cpu lock on localhost slot 2 as fd7
다른 iMac은 8개의 distccd 프로세스가 실행 중인 상태로 유휴 상태입니다. 왜 항상 CPU가 사용 중이라고 표시됩니까? 편집물을 배포하려면 또 무엇을 해야 합니까? 감사해요.