diff options
author | ceri <ceri@FreeBSD.org> | 2006-08-25 15:19:47 +0000 |
---|---|---|
committer | ceri <ceri@FreeBSD.org> | 2006-08-25 15:19:47 +0000 |
commit | 0db75312ec3bb7b608165bf534997c016988b8d6 (patch) | |
tree | 728b1f815cdbff84bce64e0685fc9ab3ea10f822 /lib/libc/sys/kqueue.2 | |
parent | a2a865527ba033abc0c6e3a62dfc7051d4141178 (diff) | |
download | FreeBSD-src-0db75312ec3bb7b608165bf534997c016988b8d6.zip FreeBSD-src-0db75312ec3bb7b608165bf534997c016988b8d6.tar.gz |
Note that the system only allows a maximum of kern.kq_calloutmax timers.
PR: docs/102353
Submitted by: phk
MFC after: 1 week
Diffstat (limited to 'lib/libc/sys/kqueue.2')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index b597950..06146e2 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -418,6 +418,10 @@ On return, contains the number of times the timeout has expired since the last call to .Fn kevent . This filter automatically sets the EV_CLEAR flag internally. +There is a system wide limit on the number of timers +which is controlled by the +.Va kern.kq_calloutmax +sysctl. .It Dv EVFILT_NETDEV Takes a descriptor to a network interface as the identifier, and the events to watch for in .Va fflags . @@ -504,7 +508,12 @@ The specified time limit or filter is invalid. .It Bq Er ENOENT The event could not be found to be modified or deleted. .It Bq Er ENOMEM -No memory was available to register the event. +No memory was available to register the event +or, in the special case of a timer, the maximum number of +timers has been exceeded. +This maximum is configurable via the +.Va kern.kq_calloutmax +sysctl. .It Bq Er ESRCH The specified process to attach to does not exist. .El |