fd leak in ximian gnome installer (7 may 2001)



this probably isn't the best place to mention this, but i'm tired and
it's the quickest place to mention it.  i solved my problem by linking
/tmp to a fs with more space.  but if any ximian people are reading this
then maybe this will be of some help.  good luck!

system: i386 redhat 6.2 + updates.  rpm version 3.0.5.
problem: runs out of space on /
reason: there's an fd leak.  /proc/pid.of.installer/fd listing looks
        like the following in the middle of an install.

    [root roo /tmp.old]# \ls -l /proc/21461/fd/
    total 0
    lrwx------    0 -> /dev/pts/1
    lrwx------    1 -> /dev/pts/1
    lrwx------    10 -> /var/lib/rpm/conflictsindex.rpm
    lrwx------    100 -> /var/tmp/rpm-data-ALx9XV
    lrwx------    11 -> /var/lib/rpm/groupindex.rpm
    lrwx------    12 -> /var/lib/rpm/triggerindex.rpm
    lr-x------    13 -> pipe:[127942]
    l-wx------    14 -> pipe:[127942]
    lr-x------    15 -> /var/tmp/rpm-data-AJHuCQ (deleted)
    lr-x------    16 -> /var/tmp/rpm-data-CNIyMq (deleted)
    lr-x------    17 -> /var/tmp/rpm-data-ezMbtl (deleted)
    lr-x------    18 -> /var/tmp/rpm-data-4WYz7P (deleted)
    lr-x------    19 -> /var/tmp/rpm-data-wSJD03 (deleted)
    lrwx------    2 -> /dev/pts/1
    lr-x------    20 -> /var/tmp/rpm-data-sEftK2 (deleted)
    lr-x------    21 -> /var/tmp/rpm-data-8rWHF7 (deleted)
    lr-x------    22 -> /var/tmp/rpm-data-WA3MRv (deleted)
    lr-x------    23 -> /var/tmp/rpm-data-8T5pUn (deleted)
    lr-x------    24 -> /var/tmp/rpm-data-gxtuKd (deleted)
    lr-x------    25 -> /var/tmp/rpm-data-eK5xbk (deleted)
    lr-x------    26 -> /var/tmp/rpm-data-ecYPiz (deleted)
    lr-x------    27 -> /var/tmp/rpm-data-6wWimQ (deleted)
    lr-x------    28 -> /var/tmp/rpm-data-wZ5iU0 (deleted)
    lr-x------    29 -> /var/tmp/rpm-data-KwYveC (deleted)
    lrwx------    3 -> socket:[127917]
    lr-x------    30 -> /var/tmp/rpm-data-0SSYsz (deleted)
    lr-x------    31 -> /var/tmp/rpm-data-WCnZ4F (deleted)
    lr-x------    32 -> /var/tmp/rpm-data-EJfayi (deleted)
    lr-x------    33 -> /var/tmp/rpm-data-07HLfk (deleted)
    lr-x------    34 -> /var/tmp/rpm-data-ahbS9Q (deleted)
    lr-x------    35 -> /var/tmp/rpm-data-cWivkV (deleted)
    lr-x------    36 -> /var/tmp/rpm-data-8M1Kqm (deleted)
    lr-x------    37 -> /var/tmp/rpm-data-COOug8 (deleted)
    lr-x------    38 -> /var/tmp/rpm-data-4i0cXu (deleted)
    lr-x------    39 -> /var/tmp/rpm-data-qEiK7q (deleted)
    lrwx------    4 -> socket:[127921]
    lr-x------    40 -> /var/tmp/rpm-data-JJkIHy (deleted)
    lr-x------    41 -> /var/tmp/rpm-data-7H9JXn (deleted)
    lr-x------    42 -> /var/tmp/rpm-data-rnJjVr (deleted)
    lr-x------    43 -> /var/tmp/rpm-data-XKTk3x (deleted)
    lr-x------    44 -> /var/tmp/rpm-data-f10Z4Y (deleted)
    lr-x------    45 -> /var/tmp/rpm-data-r7jTPJ (deleted)
    lr-x------    46 -> /var/tmp/rpm-data-9CNKDi (deleted)
    lr-x------    47 -> /var/tmp/rpm-data-HWhm6i (deleted)
    lr-x------    48 -> /var/tmp/rpm-data-f8GyRv (deleted)
    lr-x------    49 -> /var/tmp/rpm-data-xzWW7F (deleted)
    lrwx------    5 -> /var/lib/rpm/packages.rpm
    lr-x------    50 -> /var/tmp/rpm-data-VcEaDf (deleted)
    lr-x------    51 -> /var/tmp/rpm-data-NGl4Fp (deleted)
    lr-x------    52 -> /var/tmp/rpm-data-1j20VK (deleted)
    lr-x------    53 -> /var/tmp/rpm-data-rfpQiA (deleted)
    lr-x------    54 -> /var/tmp/rpm-data-FX7zcT (deleted)
    lr-x------    55 -> /var/tmp/rpm-data-vjotKr (deleted)
    lr-x------    56 -> /var/tmp/rpm-data-dRMETm (deleted)
    lr-x------    57 -> /var/tmp/rpm-data-3wX7lD (deleted)
    lr-x------    58 -> /var/tmp/rpm-data-pQ13nY (deleted)
    lr-x------    59 -> /var/tmp/rpm-data-bsPgd7 (deleted)
    lrwx------    6 -> /var/lib/rpm/nameindex.rpm
    lr-x------    60 -> /var/tmp/rpm-data-1fOgsb (deleted)
    lr-x------    61 -> /var/tmp/rpm-data-JiqySO (deleted)
    lr-x------    62 -> /var/tmp/rpm-data-1vi04U (deleted)
    lr-x------    63 -> /var/tmp/rpm-data-fkY26P (deleted)
    lr-x------    64 -> /var/tmp/rpm-data-l2GzRc (deleted)
    lr-x------    65 -> /var/tmp/rpm-data-B0Qbwx (deleted)
    lr-x------    66 -> /var/tmp/rpm-data-TtOWpU (deleted)
    lr-x------    67 -> /var/tmp/rpm-data-B2oRJE (deleted)
    lr-x------    68 -> /var/tmp/rpm-data-RTU13X (deleted)
    lr-x------    69 -> /var/tmp/rpm-data-xvQh0N (deleted)
    lrwx------    7 -> /var/lib/rpm/fileindex.rpm
    lr-x------    70 -> /var/tmp/rpm-data-JStrnu (deleted)
    lr-x------    71 -> /var/tmp/rpm-data-x97rKy (deleted)
    lr-x------    72 -> /var/tmp/rpm-data-pPf0b3 (deleted)
    lr-x------    73 -> /var/tmp/rpm-data-DAkQYV (deleted)
    lr-x------    74 -> /var/tmp/rpm-data-1gJYMn (deleted)
    lr-x------    75 -> /var/tmp/rpm-data-HvsUlt (deleted)
    lr-x------    76 -> /var/tmp/rpm-data-Xno5hy (deleted)
    lr-x------    77 -> /var/tmp/rpm-data-NmSLzl (deleted)
    lr-x------    78 -> /var/tmp/rpm-data-73GalB (deleted)
    lr-x------    79 -> /var/tmp/rpm-data-NIqdqQ (deleted)
    lrwx------    8 -> /var/lib/rpm/providesindex.rpm
    lr-x------    80 -> /var/tmp/rpm-data-7lo09H (deleted)
    lr-x------    81 -> /var/tmp/rpm-data-d0g2hr (deleted)
    lr-x------    82 -> /var/tmp/rpm-data-Zlx4Mn (deleted)
    lr-x------    83 -> /var/tmp/rpm-data-Fxc9gE (deleted)
    lr-x------    84 -> /var/tmp/rpm-data-LTtBfj (deleted)
    lr-x------    85 -> /var/tmp/rpm-data-NttFBr (deleted)
    lr-x------    86 -> /var/tmp/rpm-data-RYbXx0 (deleted)
    lr-x------    87 -> /var/tmp/rpm-data-1vt1t5 (deleted)
    lr-x------    88 -> /var/tmp/rpm-data-bATRn4 (deleted)
    lr-x------    89 -> /var/tmp/rpm-data-fXE8jJ (deleted)
    lrwx------    9 -> /var/lib/rpm/requiredby.rpm
    lr-x------    90 -> /var/tmp/rpm-data-St8CPb (deleted)
    lr-x------    91 -> /var/tmp/rpm-data-CUl2o7 (deleted)
    lr-x------    92 -> /var/tmp/rpm-data-qlSfVe (deleted)
    lr-x------    93 -> /var/tmp/rpm-data-8NKr4p (deleted)
    lr-x------    94 -> /var/tmp/rpm-data-MDJPcu (deleted)
    lr-x------    95 -> /var/tmp/rpm-data-gDH98n (deleted)
    lr-x------    96 -> /var/tmp/rpm-data-MyE7Ns (deleted)
    lr-x------    97 -> /var/tmp/rpm-data-830fAn (deleted)
    lr-x------    98 -> /var/tmp/rpm-data-YxS50G (deleted)
    lr-x------    99 -> /.automount/inle/root/u3/sw/ftp.ximian.com/pub/ximian-gnome/redhat-62-i386/gal-devel-0.7-ximian.2.i386.rpm

kevin

-- 
kevin suberic net          "nobody likes a monkey on their back.  i had
fork()'ed on 37058400      three.  they were cramping my style.  it was
meatspace place: home      time to get rid of them."
http://suberic.net/~kevin                --porter, "payback"

Attachment: pgpl022pFbAUq.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]