Posts by Hermes

1) Message boards : The Lounge : The last who posts (***) before 1212 posts and before the year 2010 wins. (Message 14444)
Posted 21 Dec 2007 by Hermes
Post:
Well, this thread is really moving slowly. Especially when compared to the typical "last one to post wins"-threads. ;-)
2) Message boards : The Lounge : The Adventures of a New Linux User (Message 11466)
Posted 3 Jul 2007 by Hermes
Post:
The terminal.

**shudder**

I have this fear that I'll mistype one letter and my entire computer will turn into a small black hole.


:)


So you prefer the grapihcal Interface.

**shudder**

I have this fear that I'll miss a button by one point and my entire computer will turn into a small black hole.


:)
3) Message boards : BOINC client : Boinc_cmd can't suspend/resume projects (Message 2458)
Posted 9 Jan 2006 by Hermes
Post:
Had the same problem and found a way for Linux based machines.
My machine does work for Seti@Home and the "setiathome_4.02_i686-pc-linux-gnu" process that does the work honours the SIGSTOP and SIGCONT signals. Don't know if that goes for other projects, though.


These signals are processed by the Linux kernel; there is no way for any application to ignore them.

So "kill -s SIGSTOP <proc no>" and "kill -s SIGCONT <proc no>" works as expected; is suspends and resumes the computations.


But it does not start the computation for another project, while the applikation for one project is suspended.
4) Message boards : BOINC client : File descriptor leaks in V5.2.6 under Linux (Message 2004)
Posted 16 Dec 2005 by Hermes
Post:
Boinc 5.2.13 still passes the network connections on to the applications:
COMMAND  PID    USER   FD   TYPE   DEVICE    SIZE    NODE NAME
boinc   2988 stephan    5u  IPv4     9663             TCP *:1043 (LISTEN)
boinc   2988 stephan    6u  IPv4 27864059             TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
mfoldB125 15761 stephan    5u  IPv4     9663             TCP *:1043 (LISTEN)
mfoldB125 15761 stephan    6u  IPv4 27864059             TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
search_1. 21360 stephan    5u  IPv4     9663             TCP *:1043 (LISTEN)
search_1. 21360 stephan    6u  IPv4 27864059             TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
rosetta_4 21948 stephan    5u  IPv4     9663              TCP *:1043 (LISTEN)
rosetta_4 21948 stephan    6u  IPv4 27864059              TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)


An idea: what if this network connection passing is because of displaying of graphics? I've built my own BOINC CC (also 5.2.13) without graphics and I don't see any network connection open by scientiffic applications, only by BOINC CC itself.


I don't have any graphical display on that machine.
Pleas note that there is only one open internet connection. netstat -p says the socket is connected tho the boinc CC. But lsof displays all processes, that have access to the connection. All applikation get a copy of the file descriptors open at the time of start and could send or receive messages. And they could accept new incoming connections.
5) Message boards : BOINC client : File descriptor leaks in V5.2.6 under Linux (Message 1800)
Posted 12 Dec 2005 by Hermes
Post:
Boinc 5.2.13 still passes the network connections on to the applications:
COMMAND  PID    USER   FD   TYPE   DEVICE    SIZE    NODE NAME
boinc   2988 stephan    5u  IPv4     9663             TCP *:1043 (LISTEN)
boinc   2988 stephan    6u  IPv4 27864059             TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
mfoldB125 15761 stephan    5u  IPv4     9663             TCP *:1043 (LISTEN)
mfoldB125 15761 stephan    6u  IPv4 27864059             TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
search_1. 21360 stephan    5u  IPv4     9663             TCP *:1043 (LISTEN)
search_1. 21360 stephan    6u  IPv4 27864059             TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
rosetta_4 21948 stephan    5u  IPv4     9663              TCP *:1043 (LISTEN)
rosetta_4 21948 stephan    6u  IPv4 27864059              TCP diana.localdomain:1043->raptor.localdomain:2632 (ESTABLISHED)
6) Message boards : BOINC client : Boinc_cmd can't suspend/resume projects (Message 1799)
Posted 11 Dec 2005 by Hermes
Post:
Although the help says:

--project url {reset | detach | update | suspend | resume | nomorework | allowmorework}

suspend ans resume are noct implemented

$ ./boinc_cmd --project http://lhcathome.cern.ch/ resume
Unknown op resume
$ ./boinc_cmd --project http://lhcathome.cern.ch/ suspend
Unknown op suspend

7) Message boards : BOINC client : File descriptor leaks in V5.2.6 under Linux (Message 903)
Posted 12 Nov 2005 by Hermes
Post:
This bug has been fixed in build 5.2.7

Thanks for the info.


Not quite yet. The temporary file are gone, but the applications still have file descriptors of the network connections open:

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
boinc 30847 stephan 0u CHR 136,5 7 /dev/pts/5
boinc 30847 stephan 1w REG 253,1 132274 959354 /home/stephan/boinc/stdoutdae.txt
boinc 30847 stephan 2w REG 253,1 617891 959178 /home/stephan/boinc/stderrdae.txt
boinc 30847 stephan 3wW REG 253,1 0 962422 /home/stephan/boinc/lockfile
boinc 30847 stephan 4r DIR 253,1 4096 992700 /home/stephan/boinc/slots
boinc 30847 stephan 5u IPv4 14986048 TCP *:1043 (LISTEN)
boinc 30847 stephan 6u IPv4 15685671 TCP diana.localdomain:1043->raptor.localdomain:1052 (ESTABLISHED)

rosetta_4 13649 stephan 0u CHR 136,5 7 /dev/pts/5
rosetta_4 13649 stephan 1w REG 253,1 214408 81329 /home/stephan/boinc/slots/0/stdout.txt
rosetta_4 13649 stephan 2w REG 253,1 102 81328 /home/stephan/boinc/slots/0/stderr.txt
rosetta_4 13649 stephan 3w REG 253,1 0 962422 /home/stephan/boinc/lockfile
rosetta_4 13649 stephan 4wW REG 253,1 0 81330 /home/stephan/boinc/slots/0/boinc_lockfile
rosetta_4 13649 stephan 5u IPv4 14986048 TCP *:1043 (LISTEN)
rosetta_4 13649 stephan 6u IPv4 15685671 TCP diana.localdomain:1043->raptor.localdomain:1052 (ESTABLISHED)
rosetta_4 13649 stephan 7r FIFO 0,5 18584121 pipe
rosetta_4 13649 stephan 8w FIFO 0,5 18584121 pipe

sixtrack_ 31065 stephan 0u CHR 136,5 7 /dev/pts/5
sixtrack_ 31065 stephan 1w REG 253,1 132274 959354 /home/stephan/boinc/stdoutdae.txt
sixtrack_ 31065 stephan 2w REG 253,1 18 276366 /home/stephan/boinc/slots/1/stderr.txt
sixtrack_ 31065 stephan 3w REG 253,1 0 962422 /home/stephan/boinc/lockfile
sixtrack_ 31065 stephan 4wW REG 253,1 0 276367 /home/stephan/boinc/slots/1/boinc_lockfile
sixtrack_ 31065 stephan 5u IPv4 14986048 TCP *:1043 (LISTEN)
sixtrack_ 31065 stephan 6u IPv4 15685671 TCP diana.localdomain:1043->raptor.localdomain:1052 (ESTABLISHED)
8) Message boards : BOINC client : File descriptor leaks in V5.2.6 under Linux (Message 828)
Posted 6 Nov 2005 by Hermes
Post:
The CoreClients forgets to close the temporary files created by mkstemp in client/http_curl.C
"lsof" wrote:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
boinc 11614 stephan cwd DIR 253,1 12288 962414 /home/stephan/boinc
boinc 11614 stephan rtd DIR 253,0 4096 2 /
boinc 11614 stephan txt REG 253,1 1643648 959133 /home/stephan/boinc/boinc_5.2.6
boinc 11614 stephan mem REG 253,0 112236 1534091 /lib/ld-2.3.6.so
boinc 11614 stephan mem REG 253,0 1525032 1534100 /lib/tls/libc-2.3.6.so
boinc 11614 stephan mem REG 253,0 213992 1534104 /lib/tls/libm-2.3.6.so
boinc 11614 stephan mem REG 253,0 16800 1534116 /lib/libdl-2.3.6.so
boinc 11614 stephan mem REG 253,0 107832 1534131 /lib/tls/libpthread-2.3.6.so
boinc 11614 stephan mem REG 253,0 81184 1534211 /lib/libresolv-2.3.6.so
boinc 11614 stephan mem REG 0,0 0 [heap] (stat: No such file or directory)
boinc 11614 stephan mem REG 253,0 22584 1534360 /lib/libnss_dns-2.3.6.so
boinc 11614 stephan mem REG 253,0 47380 1534371 /lib/libnss_files-2.3.6.so
boinc 11614 stephan DEL REG 0,7 3670018 /SYSV00013d8a
boinc 11614 stephan DEL REG 0,7 3768323 /SYSV01013786
boinc 11614 stephan 0u CHR 136,5 7 /dev/pts/5
boinc 11614 stephan 1w REG 253,1 4804 959354 /home/stephan/boinc/stdoutdae.txt
boinc 11614 stephan 2w REG 253,1 615411 959178 /home/stephan/boinc/stderrdae.txt
boinc 11614 stephan 3wW REG 253,1 0 962422 /home/stephan/boinc/lockfile
boinc 11614 stephan 4r DIR 253,1 4096 992700 /home/stephan/boinc/slots
boinc 11614 stephan 5u IPv4 7292107 TCP *:1043 (LISTEN)
boinc 11614 stephan 6u IPv4 7292163 TCP diana.localdomain:1043->raptor.localdomain:1457 (ESTABLISHED)
boinc 11614 stephan 7u REG 253,1 93 959373 /home/stephan/boinc/blcwbgKLb (deleted)
boinc 11614 stephan 8u REG 253,1 64 959377 /home/stephan/boinc/blcBgIgCc (deleted)
boinc 11614 stephan 9u REG 253,1 93 959471 /home/stephan/boinc/blcQ7M5Ax (deleted)
boinc 11614 stephan 10u REG 253,1 64 959460 /home/stephan/boinc/blcTw2mHT (deleted)

Furthermore these file descriptors, as well as any open internet connections, are inherited by the applications. e.g. rosetta from Rosetta@home
"lsof" wrote:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
rosetta_4 28611 stephan cwd DIR 253,1 4096 280606 /home/stephan/boinc/slots/1
rosetta_4 28611 stephan rtd DIR 253,0 4096 2 /
rosetta_4 28611 stephan txt REG 253,1 7749408 1105410 /home/stephan/boinc/projects/boinc.bakerlab.org_rosetta/rosetta_4.78_i686-pc-linux-gnu
rosetta_4 28611 stephan mem REG 0,0 0 [heap] (stat: No such file or directory)
rosetta_4 28611 stephan DEL REG 0,7 3768323 /SYSV01013786
rosetta_4 28611 stephan 0u CHR 136,5 7 /dev/pts/5
rosetta_4 28611 stephan 1w REG 253,1 109724 276398 /home/stephan/boinc/slots/1/stdout.txt
rosetta_4 28611 stephan 2w REG 253,1 103 276397 /home/stephan/boinc/slots/1/stderr.txt
rosetta_4 28611 stephan 3w REG 253,1 0 962422 /home/stephan/boinc/lockfile
rosetta_4 28611 stephan 4wW REG 253,1 0 276399 /home/stephan/boinc/slots/1/boinc_lockfile
rosetta_4 28611 stephan 5u IPv4 7292107 TCP *:1043 (LISTEN)
rosetta_4 28611 stephan 6u IPv4 7292163 TCP diana.localdomain:1043->raptor.localdomain:1457 (ESTABLISHED)
rosetta_4 28611 stephan 7u REG 253,1 93 959373 /home/stephan/boinc/blcwbgKLb (deleted)
rosetta_4 28611 stephan 8u REG 253,1 64 959377 /home/stephan/boinc/blcBgIgCc (deleted)
rosetta_4 28611 stephan 9r FIFO 0,5 7604148 pipe
rosetta_4 28611 stephan 10w FIFO 0,5 7604148 pipe




Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.