Jivin Wolf-Rüdiger Jürgens lays it down ... > Hi, > On my coldfire box after 253 dialouts pppd crashes with too many open > files. > pppd is version 2.4.1. > I'm clueless about this kind of failure, any hints where to look?
After about 10-20 dialouts, go and look through /proc/<pid>/fd for the key processes involved here. For example: # ls -al /proc/1/fd total 0 dr-x------ 2 root root 0 2008-04-10 16:33 . dr-xr-xr-x 5 root root 0 2008-03-27 07:22 .. lrwx------ 1 root root 64 2008-04-11 09:49 0 -> /dev/console (deleted) lrwx------ 1 root root 64 2008-04-11 09:49 1 -> /dev/console (deleted) lrwx------ 1 root root 64 2008-04-11 09:49 2 -> /dev/console (deleted) lrwx------ 1 root root 64 2008-04-11 09:49 3 -> socket:[8618] lr-x------ 1 root root 64 2008-04-11 09:49 4 -> inotify lr-x------ 1 root root 64 2008-04-11 09:49 5 -> pipe:[8619] l-wx------ 1 root root 64 2008-04-11 09:49 6 -> pipe:[8619] If a process has a file leak it should be obvious which file it is opening and not closing. From there, look in the source for the file leak assocaited with that file/socket etc, Cheers, Davidm -- David McCullough, [EMAIL PROTECTED], Ph:+61 734352815 Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev