From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,1e49c349de049ed2,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-12-22 01:41:12 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: r.lenz@glastroesch.ch (Roland Lenz) Newsgroups: comp.unix.tru64 Subject: Too many open files simultaneously Date: 22 Dec 2003 01:41:11 -0800 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 195.65.106.20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072086072 22456 127.0.0.1 (22 Dec 2003 09:41:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 22 Dec 2003 09:41:12 +0000 (UTC) Xref: archiver1.google.com comp.unix.tru64:11046 We have a problem with our production systems running Tru64 V.5.1. Occasionaly our Applications (written in Cobol with MF Server Express V2.2) get an run-time error 9/014 (too many open files). I used the lsof-tool (list open files) to show what happens. We are running out of file-descriptors! COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME a131 486643 asc519 cwd VDIR 2765,89447 8192 103 /usr1/asc519 a131 486643 asc519 txt VREG 2765,89447 3211408 76345 /usr1/ps/tros/bin/a131 a131 486643 asc519 txt VREG 4053,353269 548256 1551 /usr/shlib/libcurses.so a131 486643 asc519 txt VREG 4053,353269 679360 1538 /usr/shlib/ev6/libm.so a131 486643 asc519 txt VREG 3309,565557 537536 2370 /opt/lib/cobol/lib/libcobcrtn.so.2 a131 486643 asc519 txt VREG 3309,565557 164064 2364 /opt/lib/cobol/lib/libcobmisc.so.2 a131 486643 asc519 txt VREG 3309,565557 41600 835 /shlib/libexc.so a131 486643 asc519 txt VREG 3309,565557 2283904 3494 /shlib/libc.so a131 486643 asc519 txt VREG 3309,565557 79424 2372 /opt/lib/cobol/lib/libcobscreen.so.2 a131 486643 asc519 txt VREG 3309,565557 817808 2347 /opt/lib/cobol/lib/cobmffh.so.2 a131 486643 asc519 txt VREG 3309,565557 70384 2340 /opt/lib/cobol/lib/cobmfini.so.2 a131 486643 asc519 txt VREG 3309,565557 1012720 2358 /opt/lib/cobol/lib/libcobrts.so.2 a131 486643 asc519 txt VREG 3309,565557 159424 3496 /sbin/loader a131 486643 asc519 0r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 1 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 2w VREG 2765,89447 0 176177 /usr1 (usr1_domain#usr1) a131 486643 asc519 3 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 4w VREG 2765,89447 0 176177 /usr1 (usr1_domain#usr1) a131 486643 asc519 5 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 6r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 7 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 8r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 9 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 10r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 11 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 12r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 13 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 14r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 15 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 16r VCHR 2,2 0t0 27 /dev/null ... it goes on until 4096 file-descriptors are used! a131 486643 asc519 4091 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 4092r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 4093 can't read file struct from 0xc00000ee009091a2 a131 486643 asc519 4094r VCHR 2,2 0t0 27 /dev/null a131 486643 asc519 4095 can't read file struct from 0xc00000ee009091a2 Has anybody an idea? Regards Roland