[opensuse-security] rpmdb: malloc: Cannot allocate memory: 4278
Hello, I have a 10.2 system that refuses to install updates :-( zypper aborts with the message rpmdb: malloc: Cannot allocate memory: 4278 and YOU also simply crashes. Any ideas what could cause this? (Google was not helpful when searching for the error message...) RAM and disk space should not be an issue: # df -h Dateisystem Größe Benut Verf Ben% Eingehängt auf /dev/md0 5,0G 1,5G 3,3G 31% / udev 1006M 128K 1006M 1% /dev /dev/sda2 114M 8,6M 100M 8% /boot /dev/sdb2 114M 34M 75M 31% /boot2 /dev/md2 5,0G 545M 4,2G 12% /var /dev/md4 254G 1,5G 240G 1% /home # free -m total used free shared buffers cached Mem: 2011 1673 338 0 55 1173 -/+ buffers/cache: 444 1567 Swap: 0 0 0 I also tried rpm --rebuilddb, which didn't change anything. Log files on request - I'm not sure which one would be useful in this case. Interestingly, this happens only on one system. Some other machines with nearly identical configuration work well... Here's the full transcript: # zypper up Restoring system sources... Parsing metadata for update-10.2... Parsing metadata for inst-source... Parsing metadata for non-oss... Parsing metadata for home-cboltz... Parsing RPM database... Summary: <install> [S1:0][atom]php5-hash-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-gettext-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-mcrypt-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-ctype-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-pear-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-openssl-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-xmlreader-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-bcmath-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-bz2-5.2.6-0.2.x86_64 <install> [S1:0][atom]apache2-mod_php5-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-zlib-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-mysql-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-tokenizer-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-pdo-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-sockets-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-devel-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-dom-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-suhosin-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-iconv-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-xmlwriter-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-curl-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-mhash-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-imap-5.2.6-0.2.x86_64 <install> [S1:0][patch]apache2-mod_php5-5379-0.noarch <install> [S1:0][atom]php5-gd-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-calendar-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-ftp-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-mbstring-5.2.6-0.2.x86_64 <install> [S1:0][atom]php5-sqlite-5.2.6-0.2.x86_64 <install> [S1:0][patch]kernel-5336-0.noarch <install> [S1:0][atom]php5-json-5.2.6-0.2.x86_64 <install> [S1:0][atom]kernel-default-2.6.18.8-0.10.x86_64 <uninstall> [S0:0][package]php5-iconv-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]php5-pdo-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-sysvmsg-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]kernel-iseries64-2.6.18.8-0.9.ppc <uninstall> [S0:0][atom]kernel-source-2.6.18.8-0.9.x86_64 <uninstall> [S0:0][patch]kernel-4987-0.noarch <uninstall> [S0:0][atom]kernel-ppc64-2.6.18.8-0.9.ppc <uninstall> [S0:0][atom]php5-sqlite-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-mysql-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]php5-imap-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-posix-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-json-5.2.6-0.2.x86_64 <uninstall> [S0:0][patch]apache2-mod_php5-5379-0.noarch <uninstall> [S0:0][atom]php5-xmlwriter-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-gd-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]kernel-kdump-2.6.18.8-0.9.x86_64 <uninstall> [S0:0][atom]php5-hash-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-bcmath-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-ldap-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-pdo-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-suhosin-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-xmlwriter-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-gd-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-ftp-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-ctype-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-mbstring-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-json-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-devel-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-hash-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-calendar-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-xmlreader-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]apache2-mod_php5-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]php5-bz2-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-sysvsem-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]kernel-default-2.6.18.8-0.9.x86_64 <uninstall> [S0:0][atom]php5-zip-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]kernel-xen-2.6.18.8-0.9.x86_64 <uninstall> [S0:0][atom]php5-snmp-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-bcmath-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-gettext-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]kernel-xenpae-2.6.18.8-0.9.i586 <uninstall> [S0:0][atom]php5-ncurses-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-openssl-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]apache2-mod_php5-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-pear-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-mysql-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-curl-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-xmlrpc-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-pcntl-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-dba-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-gettext-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-tokenizer-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-shmop-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-dbase-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]kernel-syms-2.6.18.8-0.9.x86_64 <uninstall> [S0:0][atom]php5-ctype-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-wddx-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]kernel-bigsmp-2.6.18.8-0.9.i586 <uninstall> [S0:0][atom]php5-readline-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-tidy-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-openssl-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-ftp-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-sockets-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-dom-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]php5-soap-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-pgsql-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-zlib-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]kernel-default-2.6.18.8-0.9.x86_64 <uninstall> [S0:0][atom]php5-gmp-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-pspell-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-sockets-5.2.5-18.1.x86_64 <uninstall> [S0:0][atom]php5-xmlreader-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-suhosin-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-iconv-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-mhash-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-mbstring-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-sysvshm-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-calendar-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-devel-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-dom-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-mcrypt-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-exif-5.2.6-0.2.x86_64 <install> [S1:0][package]kernel-default-2.6.18.8-0.10.x86_64 <install> [S1:0][package]php5-mcrypt-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-openssl-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-zlib-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-ftp-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-iconv-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-xmlwriter-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-dom-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-sockets-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-ctype-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-devel-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-pear-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-suhosin-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-json-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-bz2-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-imap-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-bcmath-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-gettext-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-xmlreader-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-gd-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-mbstring-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-mhash-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-curl-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-pdo-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-calendar-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-mysql-5.2.6-0.2.x86_64 <install> [S1:0][package]apache2-mod_php5-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-hash-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-fastcgi-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-odbc-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-tokenizer-5.2.6-0.2.x86_64 <install> [S1:0][package]php5-sqlite-5.2.6-0.2.x86_64 <uninstall> [S0:0][atom]php5-xsl-5.2.6-0.2.x86_64 <uninstall> [S0:0][package]php5-zlib-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-imap-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-mhash-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-pear-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-bz2-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-mcrypt-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-tokenizer-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-sqlite-5.2.5-18.1.x86_64 <uninstall> [S0:0][package]php5-curl-5.2.5-18.1.x86_64 Continue? [y/n] y kernel patch license: This update can be used to install a new kernel. If you decide to use the kernel update, we recommend that you reboot your system upon completion of the YaST Online Update, as additional kernel modules may be needed which can only be loaded after the system is rebooted. In order to install this package, you must agree to terms of the above licencse. Continue? [y/n] y Downloading: [S1:0][package]kernel-default-2.6.18.8-0.10.x86_64, 17.7 M(84.8 M unpacked) rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 rpmdb: malloc: Cannot allocate memory: 4278 memory alloc (852924 bytes) returned NULL. Regards, Christian Boltz --
Und jemand, der "NT" nutzt, ist kein Sysadmin, sondern ein Reboot-Sklave. Und wenn er einen MCSE hat, dann ist er zertifizierter Bootmanager [Ralph Angenendt in dasr]
To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
Christian Boltz escribió:
Hello,
I have a 10.2 system that refuses to install updates :-(
zypper aborts with the message rpmdb: malloc: Cannot allocate memory: 4278 and YOU also simply crashes.
huh.. is machine's memory OK ? what is the value of /proc/sys/vm/overcommit_memory ? -- "Perhaps, my biggest pet peeve pertaining to safe_mode is that it is not really safe, merely offering an illusion of safety that does not stand to closer examination" - Ilia on PHP safe_mode Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Hello, Am Montag, 30. Juni 2008 schrieb Cristian Rodríguez:
Christian Boltz escribió:
I have a 10.2 system that refuses to install updates :-(
zypper aborts with the message rpmdb: malloc: Cannot allocate memory: 4278 and YOU also simply crashes.
huh.. is machine's memory OK ?
I hope so ;-) (yes, I know that this is not a very useful answer...) What I can say is: - I didn't notice any other problems until now - everything except zypper (MySQL, Apache etc.) runs stable - zypper reproducably shows the described error message, even after a reboot - and finally: I have no physical access to the server, so things aren't that easy. However, I could ask the hoster to attach a KVM that can be reached over the network and run memtest then. (The customer won't be amused about the downtime, but...) Ideas how to test the memory without downtime are welcome ;-)
what is the value of /proc/sys/vm/overcommit_memory ?
# cat /proc/sys/vm/overcommit_memory 0 Regards, Christian Boltz -- Come on, just change ftp to ftp4 and go on. 1000 OpenSUSE users more or less a day really is peanuts. ;-)) [Eberhard Moenkeberg in opensuse] --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
On Mon, Jun 30, 2008 at 12:45:24PM +0200, Christian Boltz wrote:
Hello,
Am Montag, 30. Juni 2008 schrieb Cristian Rodríguez:
Christian Boltz escribió:
I have a 10.2 system that refuses to install updates :-(
zypper aborts with the message rpmdb: malloc: Cannot allocate memory: 4278 and YOU also simply crashes.
huh.. is machine's memory OK ?
I hope so ;-) (yes, I know that this is not a very useful answer...)
It really sounds like an out of memory situation... Login a second time and watch with "top" or "free" to see if memory is running out. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
Hello, Am Montag, 30. Juni 2008 schrieb Marcus Meissner:
It really sounds like an out of memory situation...
Interesting hint - I noticed that the swap was not activated (my fault). I'm not sure if this was related to the problem.
Login a second time and watch with "top" or "free" to see if memory is running out.
[deleting a very long text after trying several things] Very interesting problem :-/ ulimit could be part of the problem. # ulimit -a # as root core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 16375 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) 411960 open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 16375 virtual memory (kbytes, -v) 411960 file locks (-x) unlimited Cross-checked - another 10.2 server has nearly the same settings except virtual memory (kbytes, -v) 831240 and zypper up worked there. Finally good news: After changing the ulimit for virtual memory, the update worked :-) Thanks for your help and hints! Regards, Christian Boltz -- Es ist Fakt, dass ein Bug ziemlich oft zwischen Stuhllehne und Tastatur sitzt. [Thomas Hertweck in suse-linux] --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
On Mon, Jun 30, 2008 at 12:45:24PM +0200, Christian Boltz wrote:
Ideas how to test the memory without downtime are welcome ;-)
Try compiling X11 - it is a good way to test memory. Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org
participants (4)
-
Christian Boltz
-
Cristian Rodríguez
-
Marcus Meissner
-
Rainer Sokoll