Displaying 4 results from an estimated 4 matches for "in_close_write".
2013 May 23
2
File deleted while locked
Hi,
I'm running Samba 4.0.0 on a RHEL 6.4 machine and have created a simple share with all the default configuration options. I've also created an application (running on the RHEL box) that does the following:
- detects a file appearing in the share (using Inotify looking for the IN_CLOSE_WRITE event)
- open and fcntl lock the file
- do some processing
- move the file to somewhere else in the filesystem
When I use a Windows 7 machine to copy a file to the share (using explorer) my app works fine. However if I copy a file as before, but then while my app is processing the file if I copy t...
2013 Sep 25
3
Dovecot extremely slow!
...37.537349 epoll_wait(9, {{EPOLLIN, {u32=1413012688, u64=139759648824528}}}, 6, 1800000) = 1
18:30:37.763416 read(11, "11 IDLE\r\n", 7988) = 9
18:30:37.763715 time(NULL) = 1380144637
18:30:37.763994 inotify_add_watch(13, "/home/pato/mail/Astro/conferences", IN_MODIFY|IN_CLOSE_WRITE|IN_CLOSE_NOWRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF) = 3
18:30:37.764617 epoll_ctl(9, EPOLL_CTL_ADD, 13, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=1413125552, u64=139759648937392}}) = 0
18:30:37.764825 stat("/home/pato/mail/Astro/conferences", {st_mode=S_IFREG|06...
2008 Nov 19
4
Configuring Rsync to run without any user input or Cron job.
Hi !
I would like to know if it's possible for Rsync to automatically mirror a
folder and it's content from one deamon to another. (or one client to a
deamon) Basically I want users to drag and drop files in a folder and Rsync
to mirror these files as soon as it sees them. A cron or schedule task is
not a viable solution since we can receive files any time of night or day
and we need to
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
Hi, my setup is a dovecot 2.0.19 IMAP server on Ubuntu Precise with
the antispam plugin in version 2.0+20120225-2 and spamassassin at
version 3.2.2
I have been trying and failed to get the pipe backend of the antispam
plugin to work. Spamassin by itself works, a manual call of sa-learn
works fine. Bayes data is stored in a mysql DB.
I have the following configuration in