|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
||||
Quote:
1) $ cat /etc/mk.conf Code:
SUDO=doas CLEANDEPENDS=Yes 3) $ env FLAVOR="python3" make install clean - attempting to reproduce the failure now. It might take an hour or so for the build to get to the fail point. I will post the exact message then. But if I recall correctly, the failure did mention something about ulimit -d, suggesting (it seemed at the time) insufficient resources.
|
|
|||
You could set ulimit -d to something outrageous, like
$ ulimit -d 8000000 |
|
||||
Code:
===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Configuring for rust-1.29.2 Using /usr/ports/pobj/rust-1.29.2/config.site (generated) datasize limit is too low - amd64 build takes approx 4GB *** Error 1 in /usr/ports/lang/rust (Makefile:123 'pre-configure': @if [ `ulimit -d` -lt 3145728 ]; then echo datasize limit is too low - a... ) $ ulimit -d Code:
1572864 $ ulimit -d 3200000 followed by $ env FLAVOR="python3" make install clean and the build resumes.Where are the default ulimit values set? That number (1572864) doesn't look like it came from /etc/login.conf. |
|
||||
Just an additional observation. In this context it might be possibly of interest to point out the limits login.conf sets for the pbuild user:
Code:
# # Building ports with DPB uses raised limits # pbuild:\ :datasize-max=infinity:\ :datasize-cur=4096M:\ :maxproc-max=1024:\ :maxproc-cur=256:\ :tc=default: |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to change login class ? | LeFrettchen | OpenBSD General | 2 | 14th October 2015 11:15 PM |
correct ulimit stack value | DaBSD | NetBSD General | 9 | 28th January 2014 03:54 AM |
Login class 'staff' datasize limits | Martillo | OpenBSD General | 7 | 13th May 2013 05:54 PM |
could ulimit value make them start faster ? | daemonfowl | OpenBSD General | 0 | 16th August 2012 09:15 PM |
sysctl.conf settings not loading on boot | Kuboaa | FreeBSD General | 2 | 18th November 2010 08:35 AM |