Vito Sansevero
4afb042b07
fix(tests): pin glibc's mmap threshold in the browser test server ( #516 )
...
Each tests/browser/server.py grew from about 13 MB to 0.6-1 GB RSS over
a page-workflow shard while its Python heap stayed near 12 MB. glibc
raises its mmap threshold (up to 32 MiB) after a large free, so the
seeder's image-sized buffers came from per-thread malloc arenas, which
fragmented and kept their pages. The server now fixes the threshold at
glibc's 128 KiB start value (mallopt M_MMAP_THRESHOLD) before it starts,
so large blocks go back to the OS on free. No memory limit is set; off
glibc it does nothing.
Closes #516
2026-10-29 17:43:11 -07:00
..
2026-10-16 06:45:20 -07:00
2026-10-22 18:55:24 -07:00
2026-10-28 18:09:16 +00:00
2026-10-29 01:14:20 +00:00
2026-10-29 02:55:55 +00:00
2026-10-28 23:12:24 +00:00
2026-10-21 23:10:57 -07:00
2026-10-28 18:09:16 +00:00
2026-10-27 17:45:24 +00:00
2026-10-29 19:40:26 +00:00
2026-10-22 15:21:07 -07:00
2026-10-28 19:23:41 +00:00
2026-10-29 19:40:26 +00:00
2026-10-29 19:40:26 +00:00
2026-10-29 05:19:04 +00:00
2026-10-29 19:40:26 +00:00
2026-10-28 13:31:23 +00:00
2026-10-28 13:31:23 +00:00
2026-10-29 21:09:22 +00:00
2026-10-29 21:09:22 +00:00
2026-10-29 04:04:52 +00:00
2026-10-21 23:10:57 -07:00
2026-10-22 16:06:07 -07:00
2026-10-29 17:43:11 -07:00
2026-10-28 18:09:16 +00:00
2026-10-21 23:10:57 -07:00
2026-10-29 02:55:55 +00:00
2026-10-22 19:49:14 -07:00
2026-10-27 17:45:24 +00:00
2026-10-23 15:02:18 -07:00
2026-10-29 17:43:11 -07:00
2026-10-28 21:45:09 +00:00
2026-10-23 03:24:20 -07:00
2026-10-28 23:06:36 +00:00
2026-10-29 21:09:22 +00:00
2026-10-29 12:00:32 +00:00
2026-10-27 19:15:37 +00:00
2026-10-26 21:21:33 -07:00
2026-10-27 19:15:37 +00:00
2026-10-28 02:03:22 +00:00
2026-10-23 15:02:18 -07:00
2026-10-28 23:06:36 +00:00
2026-10-28 23:31:53 +00:00
2026-10-29 11:32:48 +00:00
2026-10-28 19:23:41 +00:00
2026-10-21 23:10:57 -07:00
2026-10-28 13:31:23 +00:00
2026-10-23 16:58:06 -07:00
2026-10-28 21:45:09 +00:00
2026-10-28 21:45:09 +00:00
2026-10-28 09:06:15 +00:00
2026-10-21 02:25:25 -07:00
2026-10-19 17:26:37 -07:00
2026-10-26 21:21:33 -07:00
2026-10-28 21:45:09 +00:00
2026-10-28 21:45:09 +00:00
2026-10-28 06:16:57 +00:00
2026-10-28 23:06:36 +00:00
2026-10-28 21:45:09 +00:00
2026-10-28 21:45:09 +00:00
2026-10-26 23:49:15 -07:00
2026-10-29 19:40:26 +00:00
2026-10-29 14:06:42 +00:00
2026-10-29 22:30:32 +00:00
2026-10-29 20:15:35 +00:00
2026-10-29 17:50:51 +00:00
2026-10-29 21:09:22 +00:00
2026-10-29 22:30:32 +00:00
2026-10-29 14:10:29 +00:00
2026-10-29 21:09:22 +00:00
2026-10-29 14:10:29 +00:00
2026-10-24 04:08:04 -07:00
2026-10-29 14:10:29 +00:00
2026-10-29 18:26:13 +00:00
2026-10-29 21:09:22 +00:00
2026-10-29 22:30:32 +00:00
2026-10-26 21:21:33 -07:00
2026-10-25 05:51:57 -07:00
2026-10-29 12:00:32 +00:00
2026-10-28 19:58:05 +00:00
2026-10-29 06:30:15 +00:00
2026-10-29 19:40:26 +00:00
2026-10-22 15:21:07 -07:00
2026-10-29 02:44:42 +00:00
2026-10-24 21:00:30 -07:00
2026-10-29 06:30:15 +00:00
2026-10-29 02:55:55 +00:00
2026-10-29 11:32:48 +00:00
2026-10-29 11:32:48 +00:00
2026-10-29 06:30:15 +00:00