Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178901 - NFS is very slow on baselayout-2
Summary: NFS is very slow on baselayout-2
Status: RESOLVED DUPLICATE of bug 60362
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 17:25 UTC by Petteri Räty (RETIRED)
Modified: 2007-05-19 04:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-05-17 17:25:39 UTC
I finally update to baselayout 2. Now using ebuild is damn so slow because my distfiles are on NFS.

Here is what my dmesg tells me:
pena betelgeuse # dmesg | tail
lockd: failed to monitor aria
statd: server localhost not responding, timed out
lockd: cannot monitor aria
lockd: failed to monitor aria
statd: server localhost not responding, timed out
lockd: cannot monitor aria
lockd: failed to monitor aria
statd: server localhost not responding, timed out
lockd: cannot monitor aria
lockd: failed to monitor aria

pena commons-beanutils-collections # time devebuild commons-beanutils-collections-1.7.0.ebuild clean unpack
Appending /mnt/checkouts/java/java-overlay to PORTDIR_OVERLAY...
 * commons-beanutils-1.7.0-src.tar.gz RMD160 ;-) ...                                                                                                                                                   [ ok ]
 * commons-beanutils-1.7.0-src.tar.gz SHA1 ;-) ...                                                                                                                                                     [ ok ]
 * commons-beanutils-1.7.0-src.tar.gz SHA256 ;-) ...                                                                                                                                                   [ ok ]
 * commons-beanutils-1.7.0-src.tar.gz size ;-) ...                                                                                                                                                     [ ok ]
 * Using: sun-jdk-1.7
>>> Unpacking source...
>>> Unpacking commons-beanutils-1.7.0-src.tar.gz to /var/tmp/portage/dev-java/commons-beanutils-collections-1.7.0/work

!!! ERROR: dev-java/commons-beanutils-collections-1.7.0 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_unpack
  ebuild.sh, line 752:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  commons-beanutils-collections-1.7.0.ebuild, line 37:   Called java-pkg_getjar 'commons-beanutils-1.7' 'commons-beanutils-core.jar'
  java-utils-2.eclass, line 1083:   Called java-pkg_ensure-dep '' 'commons-beanutils-1.7'
  java-utils-2.eclass, line 2513:   Called die

!!! The ebuild is attempting to use commons-beanutils-1.7 that is not declared in DEPEND.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-java/commons-beanutils-collections-1.7.0/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.7  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.7.0.0_alpha11"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/mnt/checkouts/java/java-overlay'

real    0m32.960s
user    0m2.343s
sys     0m0.433s

pena betelgeuse # /etc/init.d/nfsmount status
nfsmount    | * status: started
pena betelgeuse # /etc/init.d/portmap status
portmap     | * status: started

pena betelgeuse # grep aria /etc/fstab
aria:/usr/src/distfiles /var/distfiles                  nfs     rw                              0 0

Portage 2.1.2.7 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.21-gentoo i686)
=================================================================
System uname: 2.6.21-gentoo i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks fixpackages parallel-fetch sandbox sfperms sign strict userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/home/pkg/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse"
SYNC="rsync://192.168.150.1/portage"
USE="a52 aac acl acpi alsa audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss esd fam ffmpeg firefox gif gstreamer hal iconv isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcre png ppds pppd qt3 quicktime readline real reflection rtc samba session spell spl sse sse2 ssl startup-notification subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-syntax vorbis x86 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-05-17 17:41:03 UTC
I tracked the problem to rpc.statd not starting:

pena betelgeuse # /etc/init.d/rpc.statd restart
rpc.statd   | * Caching service dependencies ...                                                                                                                                                       [ ok ]
nfsmount    | * Unmounting NFS filesystems ...                                                                                                                                                         [ ok ]
rpc.statd   | * Stopping NFS statd ...                                                                                                                                                                 [ ok ]
nfsmount    | * Mounting NFS filesystems ...                                                                                                                                                                 [ ok ]etelgeuse #

but it's not running 

starting from the command line:
pena betelgeuse # /sbin/rpc.statd -F -d

my NFS works fine again
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-05-17 17:45:57 UTC
woot?:

pena betelgeuse # /etc/init.d/rpc.statd restart
rpc.statd   | * Stopping NFS statd ...                                                                                                                                                                 [ ok ]
pena betelgeuse # pgrep rpc
pena betelgeuse # /etc/init.d/rpc.statd start
rpc.statd   | * WARNING: rpc.statd has already been started
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-05-17 18:58:26 UTC
This was resolved by updating my nfs-utils. duh. I thought my system was up2date. I think we should implement a has_version <= check to the baselayout 2 ebuild and warn about all the installed packages that must be updated.
Comment 4 SpanKY gentoo-dev 2007-05-19 04:31:45 UTC
has nothing to do with baselayout 1 or 2 ... the nfs init.d scripts were a mess until the last version or two

*** This bug has been marked as a duplicate of bug 60362 ***