Bug#559053: boinc-client: Error when setting oom_adj

Gábor Gombás gombasg at sztaki.hu
Tue Dec 1 15:34:06 UTC 2009


Package: boinc-client
Version: 6.10.17+dfsg-1
Severity: normal

Hi,

Sometimes I get this message when starting BOINC:

/etc/init.d/boinc-client: 212: cannot create /proc/5517/oom_adj: Directory nonexistent

It turns out that BOINC calls 'uname' to determine the platform and the
pid of the 'uname' process sometimes gets included in $children, but the
'uname' process finishes before the init script has a chance to set
oom_adj. I suggest adding "2>/dev/null || true" after "echo ... > .../oom_adj".

Gabor

-- Package-specific info:
-- Contents of /etc/default/boinc-client:
# This file is /etc/default/boinc-client, it is a configuration file for the
# /etc/init.d/boinc-client init script.

# Set this to 1 to enable and to 0 to disable the init script.
ENABLED="1"

# Set this to 1 to enable advanced scheduling of the BOINC core client and
# all its sub-processes (reduces the impact of BOINC on the system's
# performance).
SCHEDULE="1"

# The BOINC core client will be started with the permissions of this user.
BOINC_USER="boinc"

# This is the data directory of the BOINC core client.
BOINC_DIR="/var/lib/boinc-client"

# This is the location of the BOINC core client, that the init script uses.
# If you do not want to use the client program provided by the boinc-client
# package, you can specify here an alternative client program.
#BOINC_CLIENT="/usr/local/bin/boinc"
BOINC_CLIENT="/usr/bin/boinc"

# Here you can specify additional options to pass to the BOINC core client.
# Type 'boinc --help' or 'man boinc' for a full summary of allowed options.
#BOINC_OPTS="--allow_remote_gui_rpc"
BOINC_OPTS=""

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31.6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages boinc-client depends on:
ii  adduser                3.111             add and remove users and groups
ii  ca-certificates        20090814          Common CA certificates
ii  debconf [debconf-2.0]  1.5.28            Debian configuration management sy
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcurl3               7.19.7-1          Multi-protocol file transfer libra
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libssl0.9.8            0.9.8k-7          SSL shared libraries
ii  libstdc++6             4.4.2-3           The GNU Standard C++ Library v3
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  python                 2.5.4-2           An interactive high-level object-o
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages boinc-client recommends:
ii  schedtool                     1.3.0-1    Queries/alters process' scheduling

Versions of packages boinc-client suggests:
pn  boinc-app-seti            <none>         (no description available)
ii  boinc-manager             6.10.17+dfsg-1 GUI to control and monitor the BOI

-- debconf information:
  boinc-client/remove_boinc_dir: false





More information about the pkg-boinc-devel mailing list