search for: enfile

Displaying 9 results from an estimated 9 matches for "enfile".

Did you mean: infile
2009 Apr 13
1
Handling ENFILE
My mail server consumed all of its configured file table slots and started returning ENFILE ("Too many open files in system") for many operations. This wreaked havoc with dovecot-1.1.13. Here are some areas where dovecot should detect and more gracefully handle ENFILE error returns: 1. Deliver should report an error more helpful than "Unknown internal error&quot...
2004 Nov 22
1
Files not appearing on Samba mount.
...dgy_test\wxy2\VFStp\VFSnetwork_entities\VFSCommonReports\VFSGM_H\VFSR eports\VFSStandard+Reports\VFSRegion Then we create files with names such as: 19/11/2004 12:21 207 VFSREGN1+%280603%29+deFILE.vfsproperties 19/11/2004 12:21 45,526 VFSREGN1+%280603%29+en 19/11/2004 12:21 206 VFSREGN1+%280603%29+enFILE.vfsproperties 19/11/2004 12:21 202 VFSREGN1+%280603%29FILE.vfsproperties 19/11/2004 12:21 92,539 VFSREGN1+%280604%29 19/11/2004 12:21 81,633 VFSREGN1+%280604%29+de 19/11/2004 12:21 207 VFSREGN1+%280604%29+deFILE.vfsproperties 19/11/2004 12:21 75,055 VFSREGN1+%280604%29+en 19/11/2004 12:21 206 VFSRE...
2016 Aug 06
2
debian (1.2.22-3~bpo8+1) package build failure
I'm trying to test a trivial patch to set FD_CLOEXEC on the flintlock lockfd when using F_OFD_SETLK and am running into a build failure even in an unpatched state. This is on a Debian jessie amd64 system building the jessie-backports version. The stable version (1.2.19-1+deb8u1) works and builds fine using the same commands, however I also encountered a similar build problem in a sid chroot
2016 Aug 07
2
debian (1.2.22-3~bpo8+1) package build failure
...my F_SETFD might only need to be > called on F_OFD_SETLK success) Description at bottom. > > --- a/backends/flint_lock.cc > +++ b/backends/flint_lock.cc > @@ -108,6 +108,10 @@ FlintLock::lock(bool exclusive, string & explanation) { > return ((errno == EMFILE || errno == ENFILE) ? FDLIMIT : UNKNOWN); > } > > +#ifdef FD_CLOEXEC > + (void)fcntl(lockfd, F_SETFD, FD_CLOEXEC); > +#endif > + This is fixed in master and 1.4.0, which set CLOEXEC for all relevant FDs. Those changes weren't backported as they were rather pervasive and we'd had...
2011 Sep 17
0
[LLVMdev] Build errors on r139985
...vm/include/llvm/Support/system_error.h:609: error: ‘ETXTBSY’ was not declared in this scope /home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:610: error: ‘ETIMEDOUT’ was not declared in this scope /home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:611: error: ‘ENFILE’ was not declared in this scope /home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:612: error: ‘EMFILE’ was not declared in this scope /home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:613: error: ‘EMLINK’ was not declared in this scope /home/carl/Downloads/ll...
2008 Apr 05
11
[PATCH RFC 1/5] vringfd syscall
...cs || (num_descs & (num_descs-1)) || num_descs > 65536) { + err = -EINVAL; + goto out; + } + + fd = get_unused_fd(); + if (fd < 0) { + err = fd; + goto out; + } + + filp = alloc_file(vring_mnt, dget(vring_mnt->mnt_root), FMODE_WRITE, + &vring_fops); + if (!filp) { + err = -ENFILE; + goto put_fd; + } + + filp->private_data = vr = kmalloc(sizeof(*vr), GFP_KERNEL); + if (!vr) { + err = -ENOMEM; + goto put_filp; + } + + /* Set up pointers into ring. */ + vring_init(&vr->ring, num_descs, addr, PAGE_SIZE); + init_waitqueue_head(&vr->poll_wait); + vr->last_u...
2008 Apr 05
11
[PATCH RFC 1/5] vringfd syscall
...cs || (num_descs & (num_descs-1)) || num_descs > 65536) { + err = -EINVAL; + goto out; + } + + fd = get_unused_fd(); + if (fd < 0) { + err = fd; + goto out; + } + + filp = alloc_file(vring_mnt, dget(vring_mnt->mnt_root), FMODE_WRITE, + &vring_fops); + if (!filp) { + err = -ENFILE; + goto put_fd; + } + + filp->private_data = vr = kmalloc(sizeof(*vr), GFP_KERNEL); + if (!vr) { + err = -ENOMEM; + goto put_filp; + } + + /* Set up pointers into ring. */ + vring_init(&vr->ring, num_descs, addr, PAGE_SIZE); + init_waitqueue_head(&vr->poll_wait); + vr->last_u...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...ice or resource busy" EEXIST (17) => "File exists" EXDEV (18) => "Cross-device link" ENODEV (19) => "No such device" ENOTDIR (20) => "Not a directory" EISDIR (21) => "Is a directory" EINVAL (22) => "Invalid argument" ENFILE (23) => "File table overflow" EMFILE (24) => "Too many open files" ENOTTY (25) => "Not a typewriter" ETXTBSY (26) => "Text file busy" EFBIG (27) => "File too large" ENOSPC (28) => "No space left on device" ESPIPE (29) =&g...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux