gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] fd leak


From: Dustin Sallings
Subject: [Gnu-arch-users] fd leak
Date: Mon, 5 Jan 2004 19:15:08 -0800


I was trying to mirror an archive and ran into the following problem:

unable to open file "/tmp/,,pfs-dav-put-log.1073357602.1064.1013" (Too many open files)
PANIC: I/O error

This was after having moved about 123 patches (that's how many tar.gz files in the mirror destination) with a descriptor limit of 256.

lsof shows the following:

dhcp-176:~/stuff/arch/address@hidden 592% lsof -p 1617
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
tla 1617 dustin cwd VDIR 14,5 384 1251608 /Users/dustin/stuff/arch/address@hidden/misc/misc--admin
tla 1617 dustin 0u VCHR 4,1 0t6758 17014404 /dev/ttyp1
tla 1617 dustin 1u VCHR 4,1 0t6758 17014404 /dev/ttyp1
tla 1617 dustin 2u VCHR 4,1 0t6758 17014404 /dev/ttyp1
tla 1617 dustin 3u VREG 14,5 0 1252655 / (/dev/disk0s5)
tla 1617 dustin 4u VREG 14,5 0 1252551 / (/dev/disk0s5)
tla 1617 dustin 5u VREG 14,5 0 1252553 / (/dev/disk0s5)
tla 1617 dustin 6u VREG 14,5 0 1252554 / (/dev/disk0s5)
tla 1617 dustin 7r VREG 14,5 33 1093108 /Users/dustin/.arch-params/=id
tla 1617 dustin 8u VREG 14,5 0 1252559 / (/dev/disk0s5)
tla 1617 dustin 9u VREG 14,5 0 1252560 / (/dev/disk0s5)
tla 1617 dustin 10u VREG 14,5 0 1252571 / (/dev/disk0s5)
tla 1617 dustin 11u VREG 14,5 0 1252572 / (/dev/disk0s5)
tla 1617 dustin 12u VREG 14,5 0 1252583 / (/dev/disk0s5)
tla 1617 dustin 13u VREG 14,5 0 1252584 / (/dev/disk0s5)
tla 1617 dustin 14u VREG 14,5 0 1252595 / (/dev/disk0s5)
tla 1617 dustin 15u VREG 14,5 0 1252596 / (/dev/disk0s5)
tla 1617 dustin 16u VREG 14,5 0 1252607 / (/dev/disk0s5)
tla 1617 dustin 17u VREG 14,5 0 1252608 / (/dev/disk0s5)
tla 1617 dustin 18u VREG 14,5 0 1252619 / (/dev/disk0s5)
tla 1617 dustin 19u VREG 14,5 0 1252620 / (/dev/disk0s5)
tla 1617 dustin 20u VREG 14,5 0 1252631 / (/dev/disk0s5)
tla 1617 dustin 21u VREG 14,5 0 1252632 / (/dev/disk0s5)
tla 1617 dustin 22u VREG 14,5 0 1252643 / (/dev/disk0s5)
tla 1617 dustin 23u VREG 14,5 0 1252644 / (/dev/disk0s5)
tla 1617 dustin 24u VREG 14,5 0 1252656 / (/dev/disk0s5)
tla 1617 dustin 25u IPv4 0x01901d54 0t0 TCP dhcp-176.west.spy.net:54168->rubik.west.spy.net:http (ESTABLISHED)
tla 1617 dustin 26u VREG 14,5 0 1252667 / (/dev/disk0s5)
tla 1617 dustin 27u VREG 14,5 0 1252668 / (/dev/disk0s5)
tla 1617 dustin 28u VREG 14,5 0 1252679 / (/dev/disk0s5)
tla 1617 dustin 29u VREG 14,5 0 1252680 / (/dev/disk0s5)
[...lots of these...]

Afterwards, it left the mirror in a somewhat broken state:

arch-mirror: unable to acquire revision lock (could not rename file.)
revision: address@hidden/hacks--psh--1.0--patch-13

Is there a command to fix this in a standard way as I stumble through this replication?

--
SPY My girlfriend asked me which one I like better.
pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <address@hidden>
| Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE
L_______________________ I hope the answer won't upset her. ____________

reply via email to

[Prev in Thread] Current Thread [Next in Thread]