silby
bba10d998e
Put some concrete limits on pipe memory consumption:
...
- Limit the total number of pipes so that we do not
exhaust all vm objects in the kernel map. When
this limit is reached, a ratelimited message will
be printed to the console.
- Put a soft limit on the amount of memory consumable
by pipes. Once the limit has been reached, all new
pipes will be limited to 4K in size, rather than the
default of 16K.
- Put a limit on the number of pages that may be used
for high speed page flipping in order to reduce the
amount of wired memory. Pipe writes that occur
while this limit is exceeded will fall back to
non-page flipping mode.
The above values are auto-tuned in subr_param.c and
are scaled to take into account both the size of
physical memory and the size of the kernel map.
These limits help to reduce the "kernel resources exhausted"
panics that could be caused by opening a large
number of pipes. (Pipes alone are no longer able
to exhaust all resources, but other kernel memory hogs
in league with pipes may still be able to do so.)
PR: 53627
Ideas / comments from: hsu, tjr, dillon@apollo.backplane.com
MFC after: 1 week
2003-07-08 04:02:31 +00:00
..
2003-03-25 04:32:52 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-04 03:50:20 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 08:41:43 +00:00
2003-06-22 22:28:56 +00:00
2003-06-27 08:35:05 +00:00
2003-07-02 01:19:15 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-07-04 12:20:27 +00:00
2003-06-11 00:56:59 +00:00
2003-06-18 18:16:40 +00:00
2003-06-15 00:31:24 +00:00
2003-06-15 00:31:24 +00:00
2003-06-19 05:57:25 +00:00
2003-06-11 00:56:59 +00:00
2003-07-01 16:00:38 +00:00
2003-06-11 00:56:59 +00:00
2003-07-04 01:41:32 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 22:28:56 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-23 01:26:34 +00:00
2003-06-11 05:18:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-13 19:39:21 +00:00
2003-07-02 16:14:09 +00:00
2003-06-25 20:56:40 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-17 19:14:00 +00:00
2003-07-04 02:21:28 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-15 11:43:00 +00:00
2003-07-05 08:37:40 +00:00
2003-06-11 00:56:59 +00:00
2003-06-15 00:31:24 +00:00
2003-06-11 00:56:59 +00:00
2003-06-28 08:29:05 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-07-02 08:01:52 +00:00
2003-07-04 06:59:28 +00:00
2003-07-04 01:41:32 +00:00
2003-06-11 00:56:59 +00:00
2003-06-20 08:39:04 +00:00
2003-07-04 23:28:42 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-04-01 01:12:24 +00:00
2003-06-11 00:56:59 +00:00
2003-05-05 07:22:35 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 06:34:30 +00:00
2003-06-15 00:31:24 +00:00
2003-07-07 21:08:28 +00:00
2003-06-22 08:41:43 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-07-02 16:01:38 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 02:18:31 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 02:18:31 +00:00
2003-07-08 04:02:31 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 03:20:24 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-12 19:46:51 +00:00
2003-06-11 00:56:59 +00:00
2003-06-28 08:29:05 +00:00
2003-07-02 16:14:09 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-18 19:53:59 +00:00
2003-07-08 04:02:31 +00:00
2003-06-11 06:43:48 +00:00
2003-06-18 18:16:40 +00:00
2003-06-04 03:50:20 +00:00
2003-06-28 08:29:05 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 02:54:33 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 02:54:33 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 21:23:04 +00:00
2003-06-11 00:56:59 +00:00
2003-06-17 02:34:40 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-19 03:55:01 +00:00
2003-06-11 00:56:59 +00:00
2003-06-22 08:41:43 +00:00
2003-06-22 08:41:43 +00:00
2003-06-20 08:26:38 +00:00
2003-06-13 08:46:13 +00:00
2003-06-11 00:56:59 +00:00
2003-06-15 19:49:14 +00:00
2003-06-11 00:56:59 +00:00
2003-07-04 12:20:27 +00:00
2003-06-12 20:48:38 +00:00
2003-06-11 00:56:59 +00:00
2003-07-01 17:40:23 +00:00
2003-06-11 00:56:59 +00:00
2003-07-04 12:20:27 +00:00
2003-06-22 23:03:07 +00:00
2003-06-22 22:45:24 +00:00