freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
395 stars 164 forks source link

Rewrite html_json_main into a daemon with kqueue #440

Open bdrewery opened 7 years ago

bdrewery commented 7 years ago

Every 2 seconds this is causing a lot of fork/execs that cause some contention. Rework this into a C daemon and possibly use kqueue to monitor the files that it is processing. A throttling mechanism is needed as we may have any number of packages change status in 1 second, but we only want to update these files once every few seconds at most.

bdrewery commented 7 years ago

415