Re: [SLUG] dpkg: too many open files
On Fri, Sep 06, 2002 at 03:32:09PM +0930, David Fitch wrote: On Fri, Sep 06, 2002 at 03:14:51PM +1000, Andrew Bennetts wrote: On Fri, Sep 06, 2002 at 02:57:37PM +1000, Brad Thomson wrote: I've got a problem with dpkg on Debian unstable, that's preventing further package installation (I can remove packages fine). Here's some output to illlustrate: [..snip..] unable to create ./usr/X11R6/man/man3/XGetWMIconName.3x.gz': Too many open files No answers, but some questions that might help... Do you have any resource limits set (I think you can check this with the ulimit command)? Yep, hit the nail on the head: detritus:~# lsof | wc -l 2540 detritus:~# ulimit -a [...] open files(-n) 1024 So, ulimit -n 8192, and the packages merrily install without a prob. Thanks guys, Brad. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] dpkg: too many open files
On Fri, Sep 06, 2002 at 02:57:37PM +1000, Brad Thomson wrote: I've got a problem with dpkg on Debian unstable, that's preventing further package installation (I can remove packages fine). Here's some output to illlustrate: [..snip..] unable to create ./usr/X11R6/man/man3/XGetWMIconName.3x.gz': Too many open files No answers, but some questions that might help... Do you have any resource limits set (I think you can check this with the ulimit command)? How many files does lsof | wc -l say you have open (run it as root to get a system-wide figure). -Andrew. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] dpkg: too many open files
On Fri, Sep 06, 2002 at 03:14:51PM +1000, Andrew Bennetts wrote: On Fri, Sep 06, 2002 at 02:57:37PM +1000, Brad Thomson wrote: I've got a problem with dpkg on Debian unstable, that's preventing further package installation (I can remove packages fine). Here's some output to illlustrate: [..snip..] unable to create ./usr/X11R6/man/man3/XGetWMIconName.3x.gz': Too many open files No answers, but some questions that might help... Do you have any resource limits set (I think you can check this with the ulimit command)? How many files does lsof | wc -l say you have open (run it as root to get a system-wide figure). yep it's got to be file descriptors. Check system limits 'cat /proc/sys/fs/file-max' and the lsof command Andrew mentions. Shell limits are: 'ulimit -n' (it's a bash builtin so 'man bash' and search for ulimit). Dave. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug