Lucas <lu...@sexy.is> wrote: > Hello tech@, > > While using my macppc to try a port I noticed there is a discrepancy > between login classes limits: default datasize-cur is defined to 2048M > while staff datasize-cur is 512M. This happened in > /src/etc/etc.macppc/login.conf 1.12 as "grow limits a bit because clang > is a pig." A similar change was introduced for loongson in that commit > too. > > I checked all the arch-specific login.conf for similar discrepancy just > between default and staff classes. Only these are affected, and only > datasize-cur is below default's. Find a diff for bumping it. > > Out of curiosity, what is the rationale for bumping limits in one arch > but not the others? For example, default class' datasize-cur in amd64 > is only 768MB, despite them being more beefy in general than most of > macppc devices, yet this ship a 2048MB datasize-cur.
Your diff is proposing cranking the amount of memory 1 process can use, to 3/4 of what the machine physical maxes out to. I think that is unreasonable. Our maximums are intended to be functional and reasonable, while yours are not reasonable. At that point we might as well remove all limits, no?