1 (edited by grega 2015-11-26 18:56:45)

Topic: Out of memory DD

Hi!

I have WRT160 NL and on latest trunk r46275 when I try to install luci-ssl I get:

Collected errors:
* resolve_conffiles: Existing conffile /etc/config/uhttpd is different from the conffile in the new package. The new conffile will be placed at /etc/config/uhttpd-opkg.
* gz_open: fork: Out of memory.
* pkg_get_installed_files: Error extracting file list from /tmp/opkg-IkGOKn/luci-theme-bootstrap_git-15.188.37359-6d788d8-1_all.ipk.
* opkg_install_pkg: check_data_file_clashes_change() failed for for files belonging to luci-theme-bootstrap.
* gz_open: fork: Out of memory.
* pkg_get_installed_files: Error extracting file list from /tmp/opkg-IkGOKn/luci-app-firewall_git-15.188.37359-6d788d8-1_all.ipk.
* opkg_install_cmd: Cannot install package luci-ssl.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "liblua" postinst script returned status -1.
* opkg_configure: liblua.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "libuci-lua" postinst script returned status -1.
* opkg_configure: libuci-lua.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "rpcd" postinst script returned status -1.
* opkg_configure: rpcd.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "luci-lib-ip" postinst script returned status -1.
* opkg_configure: luci-lib-ip.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "libubus-lua" postinst script returned status -1.
* opkg_configure: libubus-lua.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "luci-theme-bootstrap" postinst script returned status -1.
* opkg_configure: luci-theme-bootstrap.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "lua" postinst script returned status -1.
* opkg_configure: lua.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "luci-lib-nixio" postinst script returned status -1.
* opkg_configure: luci-lib-nixio.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "luci-base" postinst script returned status -1.
* opkg_configure: luci-base.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "luci-mod-admin-full" postinst script returned status -1.
* opkg_configure: luci-mod-admin-full.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "uhttpd" postinst script returned status -1.
* opkg_configure: uhttpd.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "uhttpd-mod-ubus" postinst script returned status -1.
* opkg_configure: uhttpd-mod-ubus.postinst returned -1.
* xsystem: sh: vfork: Out of memory.
* pkg_run_script: package "luci" postinst script returned status -1.
* opkg_configure: luci.postinst returned -1.

free:

root@Open:~# free
             total         used         free       shared      buffers
Mem:         28508        20336         8172          596          712
-/+ buffers:              19624         8884
Swap:            0            0            0

Any ideas?

Thanks!

Re: Out of memory DD

Tried with RC2 and latest snapshot still the same...
Anyone please?

BR,
G

Re: Out of memory DD

Hi guys!

I still have this issue with DD...

root@OpenWrtGrega:~# cd /tmp/

root@OpenWrtGrega:/tmp# opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_base.
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_luci.
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_management.
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_packages.
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_routing.
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_telephony.

root@OpenWrtGrega:/tmp# opkg install luci
Installing luci (git-15.325.46423-c478101-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … 1_all.ipk.
Collected errors:
* xsystem: wget: vfork: Out of memory.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … 1_all.ipk, wget returned -1.
* opkg_install_pkg: Failed to download luci. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package luci.

root@OpenWrtGrega:/tmp# opkg install luci
Collected errors:
* gz_open: fork: Out of memory.
* pkg_hash_add_from_file: Failed to open /var/opkg-lists/designated_driver_routing: Out of memory.

root@OpenWrtGrega:/tmp# free
             total       used       free     shared    buffers     cached
Mem:         28108      20268       7840        624        628       2456
-/+ buffers/cache:      17184      10924
Swap:            0          0          0

root@OpenWrtGrega:/tmp# opkg update
Collected errors:
* gz_open: fork: Out of memory.
* pkg_hash_add_from_file: Failed to open /var/opkg-lists/designated_driver_routing: Out of memory.


WRT160NL...
If I use CC release with LUCI in it, I have no problems at all...

Is this really memory issue or sth else?

Thanks!

Re: Out of memory DD

are you sure you're not installing to tmpfs?

Linksys WRT1900ac v2 :: Turris Omnia :: TP-Link Archer C7 v2 / WDR4300 / WR1043nd v1 / MR3040 v2.3 :: ASRock n3150-itx+KVM / Cisco E3000 :: MQmaker WiTi :: Raspberry Pi Model B / TL-WN822N :: Mikrotik hAP ac/hAP ac lite/HEX

Re: Out of memory DD

I just used opkg install command like always...
7mb of memory should be plenty for luci...

6 (edited by stas2z 2015-11-26 19:26:08)

Re: Out of memory DD

seen this issue
* xsystem: wget: vfork: Out of memory.
try to comment several repos (keep base and luci only) in opkg.conf or distfeeds.conf and opkg update; opkg install luci after

Re: Out of memory DD

@stas2z: THANKS MAN!
Edited distfeeds.conf and kept only base and luci and here we go, luci installed just fine smile

Re: Out of memory DD

stas2z wrote:

seen this issue
* xsystem: wget: vfork: Out of memory.
try to comment several repos (keep base and luci only) in opkg.conf or distfeeds.conf and opkg update; opkg install luci after

I've just registered to say you thanks!, I was going crazy trying to install luci...

Re: Out of memory DD

stas2z wrote:

seen this issue
* xsystem: wget: vfork: Out of memory.
try to comment several repos (keep base and luci only) in opkg.conf or distfeeds.conf and opkg update; opkg install luci after


COULD you please elaborate on how to do this?

Re: Out of memory DD

vidharvb wrote:
stas2z wrote:

seen this issue
* xsystem: wget: vfork: Out of memory.
try to comment several repos (keep base and luci only) in opkg.conf or distfeeds.conf and opkg update; opkg install luci after


COULD you please elaborate on how to do this?

I am not able to access my distfeeds.conf file can anyone help me with that??

Re: Out of memory DD

It is in /etc/opkg/distfeeds.conf.  Edit the file by putting '#' in front of the lines for package groups you don't need.