Date: Tue, 9 Apr 2019 22:26:03 +0300 From: =?UTF-8?B?0JDQu9C10LrRgdC10Lkg0J/RgNC+0LrQvtC/0YfRg9C6?= <alexpro.ewr@gmail.com> To: Freebsd-Sparc64 <freebsd-sparc64@freebsd.org> Subject: Re: Question about RSS limit Message-ID: <8066b7a4-f081-bdd0-06ba-d86bd8792765@gmail.com> In-Reply-To: <899b0854-9941-437f-ad3c-8baa8334be59@Rs-iPhone> References: <899b0854-9941-437f-ad3c-8baa8334be59@Rs-iPhone>
next in thread | previous in thread | raw e-mail | index | archive | help
I found another memory module and test git by cloning FreeBSD source and got same result: git crashes with segmentation fault. After that I installed all memory modules (I has 2x512Mb before, and found 1Gb), 2Gb total. And, all problems gone - git works OK, and no segfaults during package building. Very strange... On amd64 git works with 1Gb perfectly, I checked it. Can't understand why processes crashes with segmentation fault. I never received any "out of memory" messages, and I have active swap in my system but it never used. Maybe I don't know something? I didn't meet in documentation about such system behavior with a lack of memory on sparc64... >> On Apr 5, 2019 at 3:31 PM, <Алексей Прокопчук >> <mailto:alexpro.ewr@gmail.com>> wrote: >> >> Greetings! >> >> >> >> My English is not very good, excuse me if I said something wrong. >> >> >> >> I trying to build packages for FreeBSD sparc64 and faced some problems. >> >> >> >> I have Sun Fire V120 with installed FreeBSD-11.2 GENERIC downloaded from >> >> official location. >> >> >> >> There were problems with package building (for example - perl and gcc7), >> >> make fails sometime with "internal compiler error" or "segmentation >> >> fault". But building continues when I repeat make after error. After >> >> all, I was able to build gcc7 and perl which are dependency for most >> >> packages. Now I have problem with using git: I trying to clone FreeBSD >> >> source from github and git always fails with segmentation fault. I >> >> monitored clone process with top and discover that RES memory for any >> >> process never exceeds 32800K, and SIZE never exceeds approx. 600M. I >> >> tried to increase limits by setting kern.maxdsiz parameter, but no >> >> success, git fails with segfault anyway, and RES never exceeds 32800K. I >> >> tested same git clone on amd64 and RES grows to 500M during operation. >> >> >> >> Same with gcc7 and perl building. Build fails when compile big and >> >> complex file, and SIZE of c1plusplus process grows about 600M, but RES >> >> has always max. value 32800K. >> >> >> >> On amd64 kern.maxdsiz has default value 32G, on sparc64 - 1G. When I >> >> tried to grow it to 2G, absolutely all processes crashes with >> >> segmentation fault (include init on boot). With value 1.5G system works >> >> fine but git fails anyway. The only difference - SIZE of git process >> >> grows up to 928M before crash, RES retains 32800K. >> >> >> >> There is some limit for process memory in sparc64? I can't find anything >> >> about such limits, and stuck. I understand that my hardware very old and >> >> slow, but I don't have another one unfortunately... >> >> >> >> Thanks in advance, with best regards, Alexey Prokopchuk. >> >> >> >> >> >> _______________________________________________ >> >> freebsd-sparc64@freebsd.org mailing list >> >> https://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 >> >> To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8066b7a4-f081-bdd0-06ba-d86bd8792765>