BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000750 [BusyBox] major always 02-20-06 12:38 09-28-08 16:16
Reporter gaaronk View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0000750: Too many open files
Description /sbin/udhcpc -v
udhcpcd, version 0.9.9-pre

used
udhcpc -p /tmp/udhcpc0.pid -i vlan2 -s /usr/local/sbin/udhcpc.sh

dhcp server send to dhcp client ip address with lease 10 sec
(terayon tj715 cable modem when connect to ISP fail)

every 10 sec udhcpc renew ip address

Feb 20 19:29:04 udhcpc[29770]: Lease lost, entering init state
Feb 20 19:29:04 udhcpc[29770]: Lease of 192.168.100.33 obtained, lease time 9
Feb 20 19:29:12 udhcpc[29770]: Lease lost, entering init state
Feb 20 19:29:12 udhcpc[29770]: Lease of 192.168.100.33 obtained, lease time 8
Feb 20 19:29:19 udhcpc[29770]: Lease lost, entering init state

on this time I see the udhcpc open and open new socket

in /proc/<udhcpc PID>/fd I see

lrwx------ 1 admin root 64 Feb 20 19:33 0 -> /dev/null
lrwx------ 1 admin root 64 Feb 20 19:33 1 -> /dev/null
lrwx------ 1 admin root 64 Feb 20 19:33 10 -> socket:[76911]
lrwx------ 1 admin root 64 Feb 20 19:33 100 -> socket:[77456]
lrwx------ 1 admin root 64 Feb 20 19:33 101 -> socket:[77447]
lrwx------ 1 admin root 64 Feb 20 19:33 102 -> socket:[77471]
lrwx------ 1 admin root 64 Feb 20 19:33 103 -> socket:[77458]
lrwx------ 1 admin root 64 Feb 20 19:33 104 -> socket:[77483]

up to Note: 0002000 socket:[xxxxx]

after 30 min in work in this mode in syslog.log I see

Feb 20 10:31:46 udhcpc[17569]: script /usr/local/sbin/udhcpc.sh failed: Too many open files
Feb 20 10:32:54 udhcpc[17628]: script /usr/local/sbin/udhcpc.sh failed: Too many open files
Feb 20 10:34:02 udhcpc[17675]: script /usr/local/sbin/udhcpc.sh failed: Too many open files

and udhcpc no more get address from dhcp server


Additional Information
Attached Files

- Relationships

- Notes
(0001128)
gaaronk
02-20-06 12:40
edited on: 02-20-06 12:43

Linux gaaronk-gw 2.4.20 0000015 Sat Jan 7 20:01:34 MSK 2006 mips unknown
this is Linux on Asus WL-500g Deluxe router
 
hmm
in original message

up to 2000 socket:[xxxxx]

 
(0012064)
bernhardf
09-25-08 08:59

Note that the standalone udhcp client/server is not maintained anymore since it was moved to busybox. Use the udhcp in busybox instead.

Please let me know if your problem is fixed in busybox or not.
 

- Issue History
Date Modified Username Field Change
02-20-06 12:38 gaaronk New Issue
02-20-06 12:40 gaaronk Note Added: 0001128
02-20-06 12:43 gaaronk Note Edited: 0001128
09-25-08 08:59 bernhardf Note Added: 0012064
09-28-08 16:16 vda Project udhcp => BusyBox


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker