Commit Graph

15 Commits

Author SHA1 Message Date
sthen
40f5f67190 cope with sysctl.h changes 2012-12-18 21:38:12 +00:00
jasper
7b5bd51a46 remove -lpthread vs. -pthread patches/chunks 2012-09-23 19:33:02 +00:00
ajacoutot
94bc87e6cc When the kqueue(2) backend is used, make sure we initialise the poll(2)
backend as well so that NFS monitoring works.
2011-09-06 11:48:04 +00:00
ajacoutot
21878384e0 Do not monitor /usr/xobj/*. 2011-07-31 07:22:08 +00:00
ajacoutot
90e4ce3c77 Add /usr/obj and /usr/ports/pobj to the non monitored list.
prodded by and ok landry@
2011-03-02 06:47:40 +00:00
ajacoutot
b4900052b8 Fix memleaks by including string.h where needed.
While here, switch to new REVISION/DEPENDS.
2010-07-13 14:10:35 +00:00
ajacoutot
182b905e44 Make use of getsockopt(2) SO_PEERCRED so we can use c_pid.
Requires a very current current...
2010-06-30 20:48:30 +00:00
ajacoutot
1f9980cc7b We don't want getpid() here. 2010-06-29 04:27:11 +00:00
phessler
a54cb0daa3 explicitly mention in the patch that these are gcc2.95 fixes.
requested by ajacoutot@
2009-12-28 17:35:19 +00:00
phessler
5416b58a68 add some gcc2.95 fixes 2009-12-28 17:23:23 +00:00
ajacoutot
a74730da46 I finally nailed down the previous issue, so re-enable kqueue support.
Successfully tested with nautilus and pcmanfm.
2009-12-06 17:48:37 +00:00
ajacoutot
894e572092 Tweak maxfilesperproc to force polling all the time. 2009-12-06 13:38:54 +00:00
ajacoutot
1b582b7296 Use setrlimit to set a correct value for maxfilesperproc.
Disable the kqueue(2) backend for now (by setting max_open_files to the
minimum) as there are some weird corner cases where it doesn't work and
hangs gam_server. I'm still on that but for the time beeing we want this
to work in every situations.
2009-12-05 22:55:36 +00:00
ajacoutot
74952d6226 Really fall back from kqueue to poll when we run out of fds.
While here, add more CONFIGURE_ARGS to DEBUG.
2009-12-05 17:03:40 +00:00
ajacoutot
494093ce60 Import (lib,py-)gamin-0.1.10
Gamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system.
The main goals of the project are:
  * minimize the security model of FAM
  * simplify the code base
  * provide an API and ABI compatible replacement for FAM
  * try to fix some other issues like resource consumption

works for bernd@
ok landry@ jasper@
2009-12-04 08:07:20 +00:00