[Chapel Merge] Bump our thread limit under valgrind from 100 to 4

Branch: refs/heads/main
Revision: 8b4e034
Author: ronawho
Log Message:

Merge pull request #18311 from ronawho/increase-valgrind-thread-limit

Bump our thread limit under valgrind from 100 to 450

[reviewed by @gbtitus]

Since #18302 tests like test_big_recursive_cobegin now need more threads
to be created. In 4b13103fb7, we limited to 100 threads under valgrind
since we were hitting 227328 – Please increase VG_N_THREADS slightly, but
the valgrind thread limit was later raised to address that. Now,
according to valgrind(1) - Linux manual page
valgrind's --max-threads option defaults to 500 so we can safely raise
our limit. In some tests I did we do see errors approaching 500 threads,
so here I'm limiting to 450 to be safe.

Modified Files:
M doc/rst/developer/bestPractices/Valgrind.rst

M util/cron/common-valgrind.bash
M util/test/start_test.py

Compare: https://github.com/chapel-lang/chapel/compare/961d038c020f...8b4e03417143