Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PAINLESS distcc setup
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Sat Feb 21, 2004 11:45 am    Post subject: Reply with quote

One of my machines breakes to use distcc with always the same message:
Code:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-libs_-_libmcal-0.7-14164.log"
 
open_wr:   /var/cache/samba/gencache.tdb
--------------------------------------------------------------------------------

The package name can be different (in fact it's almost with every package that compiles), but the bottom line is the same.

If samba is stopped ON EVERY DISTCC HOST then the problem is gone.

Does anyone knows how to fix it WITHOUT STOPPING SAMBA?
_________________
"Lisp is a programmable programming language." - John Foderaro, CACM, September 1991
Back to top
View user's profile Send private message
btned
n00b
n00b


Joined: 09 Feb 2004
Posts: 23
Location: Arlington, TX

PostPosted: Sat Feb 21, 2004 3:49 pm    Post subject: Reply with quote

hi all,

I have been trying to get distcc working on my laptop. I was wondering if it is ok to run distcc across subnets. I mean to say that will it work if my laptop is in one subnet and two other machines running distcc are in another subnet. This seems to work sometimes but many times I get the error
Code:
failed to compile on localhost
or an error regarding the time it waited for remote process to finish compilation. Is there a way to force the distcc server on the local machine to wait until a response comes from the remote server.

Thank you
Back to top
View user's profile Send private message
phranzee
Guru
Guru


Joined: 22 Nov 2003
Posts: 397
Location: katowice/pl

PostPosted: Tue Jul 13, 2004 2:19 pm    Post subject: Reply with quote

Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
distcc   24594 66.0  0.1  1912  768 ?        RN   16:00   7:45 /usr/bin/distccd --pid-file /var/run/distccd/distccd.pid -N 15 --user distcc
hi. i have some trouble with distcc. i start the deamon on two machines and sometimes it fails and one or more processes stay active and take 100% cpu. i even can't kill them. any ideas ? i already player with /etc/distcc/hosts, but it still doesn't work.
Code:
MAKEOPTS="-j5"                                                                                                   
FEATURES="distcc"                                                                                               
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"


// distcc v. 2.16 on both

/var/log/syslog:
Code:
Jul 13 16:24:12 dustpuppy distccd[15943]: (dcc_setup_daemon_path) daemon's PATH is /usr/i686-pc-linux-gnu/gcc-bin/3.3:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/lib/distcc/bin:/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/scripts:/etc/init.d
Jul 13 16:24:12 dustpuppy distccd[15943]: (dcc_should_be_inetd) stdin is a tty; assuming --daemon mode
Jul 13 16:24:12 dustpuppy distccd[15943]: (dcc_listen_by_addr) ERROR: bind of 0.0.0.0:3632 failed: Address already in use
Jul 13 16:24:12 dustpuppy distccd[15943]: (dcc_exit) exit: code 102; self: 0.000000 user 0.001999 sys; children: 0.000000 user

_________________
signature fault
post dumped ;]
Back to top
View user's profile Send private message
roothorick
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 83
Location: Menasha, WI

PostPosted: Tue Jul 13, 2004 2:40 pm    Post subject: Reply with quote

May I make a suggestion?

http://opendoorsoftware.com/cgi/http.pl?p=distccKNOPPIX

Smaller ISO size (faster download), smaller memory footprint, it starts distcc for you, and even tells you what IP address it managed to pull, if any, right off the bat!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Nov 24, 2004 1:43 am    Post subject: Reply with quote

Obsidionblade wrote:
On the machine that you are running the compile from, likely your Gentoo box (which is actually the client - the rest are servers, go figure),


"Go figure" is just what you need to do. The term "server" does not mean the biggest and fastest system on the LAN.

The machine doing the main compilation is a client to the services offered by the other machines running distccd as servers providing ... a service.

It may be that the client is the most lowly thing in the loop and that's why it needs help.

In any case the terminology does make sense.

HTH 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Wed Nov 24, 2004 7:57 am    Post subject: Reply with quote

axxackall wrote:
:?: Is there any PAINLESS way to setup distcc to compile cross-platform? I've tried to mix distcc farms of x86 and ppc machines, but they don't like to compile the code of each other. :cry:


You mean like using my guide and my experimental ebuilds?

http://www.sable.mcgill.ca/~dbelan2/crossdev/crossdev-powerpc-i686.html

:)

iTux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum