search for: inotify_init

Displaying 20 results from an estimated 38 matches for "inotify_init".

2006 Jun 14
2
Problems with dovecot.beta9
Dear all :) I have been upgraded dovecot today and I get following errors: Jun 14 12:08:54 [dovecot] IMAP(adnae@xxxxxx.xxx): inotify_init() failed: Function not implemented Jun 14 12:08:54 [dovecot] IMAP(auftrag@xxxxxxx.xxx): inotify_init() failed: Function not implemented Jun 14 12:08:54 [dovecot] IMAP(swolf@xxxxxx.xxx): inotify_init() failed: Function not implemented I have a 64 bit system (Gentoo [amd64]) and I have enable...
2007 Jun 27
1
Dovecot and SUSE 10: inotify_init()
Hello all, Since my migration to SUSE SLES 10, I have a new error message : dovecot1 dovecot: IMAP(damien.chambe at egs-gestion.fr): inotify_init() failed: Too many open files It seems to occurs when thunderbird is idle, or when I click on sub folders I have a ulimit for open files a bit low, 1024 I have changed to 4096, but same error message. It has no visible consequences. I am on dovecot 1.0.1 I don't think it is related to doveco...
2009 Sep 09
1
inotify_init() failed: Function not implemented
Hello, i have in my mail.log some warnings: Sep 2 08:21:49 myserver dovecot: IMAP(me at myserver.tld): inotify_init() failed: Function not implemented how can i fix this? Thank you in advance, franc walter
2007 Feb 01
1
leaking file descriptors? imap-login: inotify_init() failed
Even though the system is configured to allow a large number of open files, and tools such as lsof tell me dovecot is within that limit; I am seeing errors like this pretty frequently. dovecot: imap-login: inotify_init() failed: Too many open files I'm running Fedora Core 5 (2.6.18-1.2257.fc5 SMP x86_64) with dovecot-1.0-1.rc15 built from the FC6 SRPM, but I was seeing the same thing with 1.0-0.beta8.3.fc5 (one of the reasons for the jump to the FC6 ver). # system default limit is very high, and we aren'...
2005 Aug 22
2
Re: Dovecot inotify problem
...followup from akpm. Thanks for the link. I don't think akpm is right, unless something is really odd here. Could you add debugging output for me please? Maybe something like (this is not a patch you can apply, look at line 164 in src/lib/ioloop-notify-inotify.c) ctx->inotify_fd = inotify_init(); + i_warning("inotify_init returned fd %d", ctx->inotify_fd); if (ctx->inotify_fd == -1) { and line 106: IN_CLOSE | IN_MODIFY); + i_warning("inotify_add_watch returned %d", watchdescriptor); if (watchdescriptor...
2013 Nov 29
1
Samba4 git pull of today (11/28/2013) link error on FreeBSD 9.2 RELEASE
...... [3638/3880] Linking default/source4/lib/policy/py-policy.so [3639/3880] Linking default/source4/auth/ntlm/libauth4.so [3640/3880] Linking default/source4/ntvfs/libntvfs.so default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_setup': inotify.c:(.text+0x503): undefined reference to `inotify_init' default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor': inotify.c:(.text+0x883): undefined reference to `inotify_rm_watch' default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch': inotify.c:(.text+0x956): undefined reference to `inotify_add_watch'...
2015 Jun 10
3
Failed to init inotify - Too many open files
...t inotify - Too many open files [2015/06/10 11:15:28.616495, 0, pid=57030, effective(12700, 100), real(0, 0)] smbd/notify_inotify.c:297(inotify_setup) Failed to init inotify - Too many open files I can't find the reason, why smbd ist complaining. But in the source code, I see in->fd = inotify_init(); if (in->fd == -1) { DEBUG(0,("Failed to init inotify - %s\n", strerror(errno))); talloc_free(in); return map_nt_error_from_unix(errno); } it is nothing special from smbs/samba. But why the kernel throws this message? Here a little bit about samba an...
2006 Dec 23
2
rc15 errors
Hi, Since I installed rc15 I'm seing the following errors in logs of a server with several hundreds of pop3 and imap users. All the indexes have been erased and recreated after installation. Dec 21 21:06:46 rouge dovecot: pop3-login: inotify_init() failed: Too many open files The maildir mailboxes are on NFS, but the indexes are local. What should be done to correct this error ? These two error have appeared only once: Dec 22 11:02:07 rouge dovecot: IMAP(xxxxxx): file client.c: line 378 (client_handle_input): assertion failed: (!client-&g...
2016 Jan 28
1
[PATCH] inotify_add_watch: pass IN_ALL_EVENTS as mask for test
...or/actions.ml b/generator/actions.ml index 0d227cf..24c6eb7 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -7274,7 +7274,7 @@ per libguestfs instance." }; InitScratchFS, Always, TestResult ( [["mkdir"; "/inotify_add_watch"]; ["inotify_init"; "0"]; - ["inotify_add_watch"; "/inotify_add_watch"; "1073741823"]; + ["inotify_add_watch"; "/inotify_add_watch"; "4095"]; ["touch"; "/inotify_add_watch/a"]; ["to...
2005 Aug 08
3
[PATCH] add inotify system calls
....def --- a/klibc/klibc/SYSCALLS.def +++ b/klibc/klibc/SYSCALLS.def @@ -114,6 +114,9 @@ int lchown32,lchown::lchown(const char * int getcwd::__getcwd(char *, size_t) <?> int utime(const char *, const struct utimbuf *) <?> int utimes(const char *, const struct timeval *) +<?> int inotify_init(void) +<?> int inotify_add_watch(int, const char *, __u32) +<?> int inotify_rm_watch(int, __u32) ; ; I/O operations
2013 Nov 30
1
Samba4 git pull(11/30/2013) link error on FreeBSD 9.2
.... [3591/3880] Linking default/source4/librpc/python-unixinfo.so [3592/3880] Linking default/source4/ntvfs/libntvfs.so default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_setup': inotify.c:(.text+0x508): undefined reference to `inotify_init' default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor': inotify.c:(.text+0x8d4): undefined reference to `inotify_rm_watch' default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch': inotify.c:(.text+0x9ad): undefined reference to `inotify_add_watch'...
2013 Mar 11
1
samba 4.0.3 compiling fails on freebsd 9.1
...b/samdb/ldb_modules/libldb-objectclass.so [3411/3611] Linking default/source4/dsdb/samdb/ldb_modules/libldb-descriptor.so [3412/3611] Linking default/source4/ntvfs/libntvfs.so default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_setup': inotify.c:(.text+0x508): undefined reference to `inotify_init' default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor': inotify.c:(.text+0x8d4): undefined reference to `inotify_rm_watch' default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch': inotify.c:(.text+0x9c5): undefined reference to `inotify_add_watch'...
2009 Aug 10
2
daemon/ warnings
...b/daemon/inotify.c index 1b90f2b..8bb8ed2 100644 --- a/daemon/inotify.c +++ b/daemon/inotify.c @@ -33,7 +33,7 @@ static int inotify_fd = -1; static char inotify_buf[64*1024*1024]; /* Event buffer, [0..posn-1] is valid */ -static int inotify_posn = 0; +static size_t inotify_posn = 0; /* Because inotify_init does NEED_ROOT, NEED_INOTIFY implies NEED_ROOT. */ #define NEED_INOTIFY(errcode) \ @@ -184,7 +184,8 @@ do_inotify_read (void) while (space > 0) { struct inotify_event *event; - int n, r; + int r; + size_t n; r = read (inotify_fd, inotify_buf + inotify_posn,...
2006 Jan 23
1
Compiling Dovecot with-notify=inotify
....0.beta2/src/lib/ioloop-notify-inotify.c:145: undefined reference to `inotify_rm_watch' ../lib/liblib.a(ioloop-notify-inotify.o)(.text+0x2de): In function `io_loop_notify_handler_init': /home/nico/sources/dovecot/dovecot-1.0.beta2/src/lib/ioloop-notify-inotify.c:163: undefined reference to `inotify_init' Am I missing something ? What should be done to compile Dovecot with inotify support ? Thanks in advance, -- Nico L'homme est intelligent parce qu'il a une main. -+- Anaxagore -+-
2017 Mar 03
2
[PATCH 1/2] Use gnulib set_nonblocking_flag function instead of fcntl.
...ndex 4360866..93722d0 100644 --- a/daemon/inotify.c +++ b/daemon/inotify.c @@ -29,6 +29,8 @@ #include <sys/inotify.h> #endif +#include "nonblocking.h" + #include "guestfs_protocol.h" #include "daemon.h" #include "actions.h" @@ -112,8 +114,8 @@ do_inotify_init (int max_events) reply_with_perror ("inotify_init"); return -1; } - if (fcntl (inotify_fd, F_SETFL, O_NONBLOCK) == -1) { - reply_with_perror ("fcntl: O_NONBLOCK"); + if (set_nonblocking_flag (inotify_fd, 1) == -1) { + reply_with_perror ("set_nonblocking...
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
...t, gid_t); int getcwd::__getcwd(char *, size_t); -int utimensat(int, const char *, const struct timespec *, int); +<32> int utimensat_time64::utimensat(int, const char *, const struct timespec *, int); +<64> int utimensat(int, const char *, const struct timespec *, int); <?> int inotify_init(); <?> int inotify_add_watch(int, const char *, __u32); <?> int inotify_rm_watch(int, __u32); @@ -165,9 +166,11 @@ int dup3(int, int, int); <!i386,ppc64> int fcntl64,fcntl::fcntl(int, int, unsigned long); int ioctl(int, int, void *); int flock(int, int); -int pselect6::__psel...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...wd(char *, size_t); <?> int utime(const char *, const struct utimbuf *); <?> int utimes(const char *, const struct timeval *); <?> int futimesat(int, const char *, const struct timeval *); +<?> int utimensat(int, const char *, const struct timespec *, int); <?> int inotify_init(); <?> int inotify_add_watch(int, const char *, __u32); <?> int inotify_rm_watch(int, __u32); @@ -158,7 +159,7 @@ int getcwd::__getcwd(char *, size_t); */ <!i386,m68k,64> int open::__open(const char *, int, mode_t); <?!i386,m68k,64> int openat::__openat(int, const char...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...wd(char *, size_t); <?> int utime(const char *, const struct utimbuf *); <?> int utimes(const char *, const struct timeval *); <?> int futimesat(int, const char *, const struct timeval *); +<?> int utimensat(int, const char *, const struct timespec *, int); <?> int inotify_init(); <?> int inotify_add_watch(int, const char *, __u32); <?> int inotify_rm_watch(int, __u32); @@ -158,7 +159,7 @@ int getcwd::__getcwd(char *, size_t); */ <!i386,m68k,64> int open::__open(const char *, int, mode_t); <?!i386,m68k,64> int openat::__openat(int, const char...
2010 Nov 01
1
Samba 4 on osx
...ror : yes Checking for gpg_err_code_from_errno : not found Checking for header linux/inotify.h : no Checking for inotify_init : not found Checking for variable __NR_inotify_init : not found Checking for header linux/fcntl.h : no Check...
2010 Oct 07
1
OSX and samba4 git
...ror : yes Checking for gpg_err_code_from_errno : not found Checking for header linux/inotify.h : no Checking for inotify_init : not found Checking for variable __NR_inotify_init : not found Checking for header linux/fcntl.h : no Check...