about summary refs log tree commit homepage
path: root/lib/PublicInbox/IPC.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-08-29 17:20:16 +0000
committerEric Wong <e@80x24.org>2023-08-29 21:57:13 +0000
commit1ea097fe25d3717ad0b8e232268a6d55d8ed7225 (patch)
tree2c8fd60178fe124e050ba880e412fb3bc6a8674e /lib/PublicInbox/IPC.pm
parentbd0dc6ad0391f811f5248d83538a2eef8f74de95 (diff)
downloadpublic-inbox-1ea097fe25d3717ad0b8e232268a6d55d8ed7225.tar.gz
RLIMIT_CPU on OpenBSD doesn't work reliably with few syscalls or
on mostly idle systems.  Even at its most accurate, it takes an
extra second to fire compared to FreeBSD or Linux due to
internal accounting differences, but worst case even the SIGKILL
can be 50s delayed.

So rewrite the CPU burner script in Perl where we can unblock
SIGXCPU and reliably use more syscalls.

Link: https://marc.info/?i=20230829010110.M269767@dcvr
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
0 files changed, 0 insertions, 0 deletions