Daemon14 Tux's lil' helper
Joined: 05 Feb 2005 Posts: 120 Location: Poland / Colombia
|
Posted: Thu Sep 22, 2011 3:19 pm Post subject: zawias przy kompilacji imagemagick |
|
|
Witam,
podczas kompilacji imagemagick na etapie
pożera cały RAM 2GB, system zamula całkowicie a proces ten trwa w nieskończoność.
wyłaczyłem X'y, utworzyłem swap'a ale i tak zatrzymuje się na tym etapie i koniec.
Po zeżarciu całej pamięci korzysta ze swapa, bierze ok 2,5GB!
imagemagick'a kompiluję z następującymi flagami
Code: | media-gfx/imagemagick-6.7.2.6 USE="X bzip2 corefonts cxx djvu fontconfig jpeg jpeg2k opencl openmp perl png svg tiff truetype xml zlib -autotrace -fftw -fpx -graphviz -gs -hdri -jbig -lcms -lqr -lzma -openexr -q32 -q64 -q8 -raw -static-libs -webp -wmf" |
procesor Core 2 Quad Q6600, 2GB RAM, Gentoo na AMD64, kernel 3.0.4
emerge --info:
Code: | ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe -mtune=core2 -fomit-frame-pointer -funroll-loops -mno-sse4.1 -mno-sse4a -mno-sse4 -mno-sse4.2 -mcx16 -msahf -mfpmath=sse -ftree-vectorize -findirect-inlining -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O3 -pipe -mtune=core2 -fomit-frame-pointer -funroll-loops -mno-sse4.1 -mno-sse4a -mno-sse4 -mno-sse4.2 -mcx16 -msahf -mfpmath=sse -ftree-vectorize -findirect-inlining -finline-functions"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs candy distlocks fail-clean fixlafiles fixpackages multilib-strict news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib acl acpi alsa amd64 apng bash-completion berkdb bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss emovix encode exif extensions faac fam fdt ffmpeg firefox flac fontconfig fortran gdbm gdu gif gnutls gpm gstreamer hpijs iconv icu java jpeg jpeg2k jpg kde kipi kvm lame ldap libmpeg2 libnotify lm_sensors lzo mad maps minizip mmx mng modules mp3 mp4 mpeg mpg123 mplayer mudflap multilib multimedia musepack ncurses nls nptl nptlonly nvcontrol nvidia ogg opencl opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt-faststart qt3support qt4 quicktime readline scanner sdl semantic-desktop sensord session spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff tordns truetype udev unicode usb v4l v4l2 vcd vcdx vdpau vnc vorbis win32 x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386 ppc ppc64" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
ma ktoś jakiś pomysł co może być powodem?
//dodane 30.09.2011
dzisiaj zrobiłem kolejne podejście. Zapuściłem kompilację i zostawiłem kompa na 2h, zużył 2GB RAMu i 9,5GB SWAPa, w tym czasie procesor praktycznie nic nie robi, użycie procka na poziomie 1%
to chyba nie jest normalne? _________________ Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB |
|