<div dir="ltr">I missed the additional responses in this thread; thanks for the additonal info.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Mar 8, 2025 at 11:18 PM Kenneth Wolcott <<a href="mailto:kennethwolcott@gmail.com">kennethwolcott@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Chris;<div><br></div><div>  I'm sorry that I did not capture any details for this issue.  What I remember is that there where several "STUCK" clang entries shown in top.  The build step count (not sure what it is formally called; the number that increments inside square brackets) would take about ten to twenty minutes to increment (I guess that is the equivalent of single-threaded in a very low RAM environment!).</div><div><br></div><div>  Should this problem occur again, what output should I gather and what tools do I need to obtain such output? memstat? vmstat?</div><div><br></div><div>Thanks,</div><div>Ken Wolcott</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 7, 2025 at 2:31 AM Chris Jones via macports-users <<a href="mailto:macports-users@lists.macports.org" target="_blank">macports-users@lists.macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
<br>
On 07/03/2025 3:39 am, Joshua Root wrote:<br>
>> Building flang has always been CPU+RAM intensive, but it looks like it is<br>
>> thrashing now.<br>
>><br>
>>    Is there a way to make it go single threaded?  I have like ten "stuck"<br>
>> clang processes...<br>
> <br>
> A better solution would be to set build.mem_per_job to something higher <br>
> in the port. It defaults to 1024 (MB) and is used to limit the number of <br>
> parallel build processes based on the available memory.<br>
<br>
1GB per thread is from what I have seen not unreasonable for flang. I've <br>
never seen any specific issues myself so would like to see more details <br>
of the problem seen before changing anything here.<br>
<br>
Kenneth please open a trac ticket with more details, how many thread are <br>
start for you, where in the build specifically do you have issues etc.<br>
<br>
Chris<br>
<br>
<br>
</blockquote></div>
</blockquote></div>