[OpenWrt-Tickets] [OpenWrt] #2702: r9548: ipkg fails with "ERROR: fork failed before execution: " or "fork failed: Cannot allocate memory"

OpenWrt openwrt-devel at lists.openwrt.org
Tue Mar 18 21:12:57 CET 2008


#2702: r9548: ipkg fails with "ERROR: fork failed before execution: " or "fork
failed: Cannot allocate memory"
----------------------+-----------------------------------------------------
 Reporter:  Tom       |        Owner:  developers
     Type:  defect    |       Status:  reopened  
 Priority:  high      |    Milestone:            
Component:  packages  |   Resolution:            
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by Tom):

 Replying to [comment:7 stephane]:
 > you need more ram
 > delete /tmp unnecessary files (ramdisk)
 > rmmod all unnecessary modules
 >
 > then you can install your stuff for sure.

 Not really.
 {{{
 root at OpenWrt:~# df -h
 Filesystem                Size      Used Available Use% Mounted on
 none                      6.7M     40.0k      6.7M   1% /tmp
 tmpfs                   512.0k         0    512.0k   0% /dev
 /dev/mtdblock3          960.0k    244.0k    716.0k  25% /jffs
 mini_fo:/jffs             2.0M      2.0M         0 100% /
 192.168.1.2:/daten/upload/.openwrt
                         514.0G    444.8G     69.2G  87% /mnt
 }}}
 And still:
 {{{
 root at OpenWrt:~# ipkg install tinyproxy --test
 Installing tinyproxy (1.6.3-1) to root...
 Downloading http://192.168.1.2/~tom/openwrt/./tinyproxy_1.6.3-1_mipsel.ipk
 xsystem: ERROR: fork failed before execution: `wget --passive-ftp      -q
 -P /tmp/ipkg-6qx5Cb
 http://192.168.1.2/~tom/openwrt/./tinyproxy_1.6.3-1_mipsel.ipk'
 Nothing to be done
 An error ocurred, return value: 22.
 Collected errors:
 Failed to download tinyproxy. Perhaps you need to run 'ipkg update'?
 }}}
 I also tried with -t /mnt/tmp - so the issue is not missing RAM or space.

 bifferos, here it also affects my own repository on the apache in the
 local network.
 So I tried as bmilde did:
 {{{
 root at OpenWrt:~# mv /usr/lib/ipkg/status /mnt/
 root at OpenWrt:~# ipkg install tinyproxy
 Installing tinyproxy (1.6.3-1) to root...
 Downloading http://192.168.1.2/~tom/openwrt/./tinyproxy_1.6.3-1_mipsel.ipk
 Configuring tinyproxy
 Done.
 }}}

 Very interesting.
 What's the issue?

-- 
Ticket URL: <https://dev.openwrt.org/ticket/2702#comment:10>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology


More information about the openwrt-tickets mailing list