PDA

View Full Version : Broken Clients



Dyyryath
11-19-2004, 01:45 AM
I've got five machines that aren't turning in any work. They've been running, but something's not right. Here's what a machine that *is* turning in results looks like after a few days:



PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
14859 root 25 0 52928 51M 796 R 99.9 10.2 4560m 0 DockWin.exe


Here's what a machine that *isn't* turning in results looks like:



PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
24859 root 25 0 28648 23M 2576 S 65.2 4.9 3659m 0 java
31283 root 25 0 15728 15M 544 R 18.0 3.2 0:36 0 GridWin.exe
31281 root 25 0 15736 15M 544 R 16.6 3.2 0:39 0 GridWin.exe


Something is obviously wrong. 'java' is getting the bulk of the CPU time, rather than one of the d2ol executables.

I haven't had time to do anything other than look for obvious errors (which I didn't find), but here's the log file from the machine shown above:

http://www.zerothelement.com/tmp/d2ol-log.txt

So, does anyone know what's going on here? They're both Linux boxes, both running the exact same client & version of Java.

Bok
11-19-2004, 01:48 AM
run

ldd /path_to/SengentD2OL/D2OL/res/bin/Dockwin.exe

and I'll bet it's a lib missing. Just symlink it in or get the compat libraries.

Bok

PCZ
11-19-2004, 02:26 AM
Dyyryath

I think this is your problem.

From the D2OL Forum

Solved my problem by

# get to the dir with the C++ programs
cd <installed path>/D2OL/res/data/bin/
# check hard-coded library requirements
ldd DockWin.exe
ldd GridWin.exe

# trouble is I have a modern version of gcc installed and D2OL wants an obsolete library from an old gcc package
# (BTW wouldn't the Intel/icc compiler yield a faster client?)
# to get the old library into your system
# for Gentoo
emerge lib-compat
# for Mandrake (and possibly rpm-based)
rpm -ivh libstdc++2.10-2.96-0.83mdk.i586.rpm
rpm -ivh libstdc++2.10-devel-2.96-0.83mdk.i586.rpm

Seeing as how this is a common problem, how about a FAQ entry?

Dyyryath
11-19-2004, 02:42 AM
Well done guys. I knew asking first was a better idea than spending time looking for the problem myself. Laziness wins again! :D

Seriously, thanks guys. I don't have much time to be chasing things with the clients right now. You're making this nice & painless. :thumbs:

Dyyryath
11-19-2004, 02:43 AM
BTW, for anyone using Red Hat (I'm using RHEL 3 on the boxes in question), the command to install the necessary libraries is:

up2date install compat-libstdc++

If you were using Fedora, it would be:

yum install compat-libstdc++