misc/187422: installing devel/gdb triggers 'maxproc limit exceeded'

Idwer Vollering vidwer at gmail.com
Mon Mar 10 16:10:01 UTC 2014


>Number:         187422
>Category:       misc
>Synopsis:       installing devel/gdb triggers 'maxproc limit exceeded'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 10 16:10:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Idwer Vollering
>Release:        10.0-RELEASE #0 r260789
>Organization:
>Environment:
>Description:
Installing GDB from ports stalls at the step "checking whether compiler driver understands Ada...".
Running 'make -dx install' in its directory reveals the following top output (note that this is not all of it):

+ cd /usr/ports/devel/gdb/work/gdb-7.6.2
last pid: 18508;  load averages:  0.37,  2.57,  9.55                                                                                  up 0+00:21:29  15:51:07
2221 processes:1 running, 2220 sleeping
CPU:  5.0% user,  0.0% nice, 23.5% system,  0.2% interrupt, 71.4% idle
Mem: 485M Active, 138M Inact, 1333M Wired, 5447M Free
ARC: 344M Total, 103M MFU, 210M MRU, 16K Anon, 10M Header, 21M Other
Swap: 8192M Total, 8192M Free

  PID USERNAME     PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
18149 root          52    0 32664K  8340K wait    0   0:00  29.69% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18151 root          52    0 32664K  8340K wait    1   0:00  29.69% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18150 root          52    0 32664K  8340K wait    3   0:00  29.69% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18147 root          52    0 32664K  8340K wait    2   0:00  29.69% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18148 root          52    0 32664K  8340K wait    3   0:00  29.69% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18143 root          52    0 32664K  8340K wait    1   0:00  29.59% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18144 root          52    0 32664K  8340K wait    3   0:00  29.59% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18145 root          52    0 32664K  8340K wait    2   0:00  29.59% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18146 root          52    0 32664K  8340K wait    3   0:00  29.59% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18141 root          52    0 32664K  8340K wait    2   0:00  29.49% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18140 root          52    0 32664K  8340K wait    0   0:00  29.49% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18139 root          52    0 32664K  8340K wait    1   0:00  29.49% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18142 root          52    0 32664K  8340K wait    3   0:00  29.49% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18138 root          52    0 32664K  8340K wait    0   0:00  29.39% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18137 root          52    0 32664K  8340K wait    3   0:00  29.39% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18135 root          52    0 32664K  8340K wait    1   0:00  29.39% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18136 root          52    0 32664K  8340K wait    0   0:00  29.39% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18131 root          52    0 32664K  8340K wait    3   0:00  29.30% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18134 root          52    0 32664K  8340K wait    2   0:00  29.30% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18130 root          52    0 32664K  8340K wait    1   0:00  29.30% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18132 root          52    0 32664K  8340K wait    1   0:00  29.30% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18133 root          52    0 32664K  8340K wait    0   0:00  29.30% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18129 root          52    0 32664K  8340K wait    3   0:00  29.20% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18127 root          52    0 32664K  8340K wait    1   0:00  29.20% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18126 root          52    0 32664K  8340K wait    2   0:00  29.20% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18128 root          52    0 32664K  8340K wait    0   0:00  29.20% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18124 root          52    0 32664K  8340K wait    1   0:00  29.05% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18122 root          52    0 32664K  8340K wait    3   0:00  29.05% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18125 root          52    0 32664K  8340K wait    3   0:00  29.05% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18123 root          52    0 32664K  8340K wait    2   0:00  29.05% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18119 root          52    0 32664K  8340K wait    0   0:00  28.96% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18120 root          52    0 32664K  8340K wait    3   0:00  28.96% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18121 root          52    0 32664K  8340K wait    0   0:00  28.96% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18118 root          52    0 32664K  8340K wait    3   0:00  28.96% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18113 root          52    0 32664K  8340K wait    0   0:00  28.86% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb
18116 root          52    0 32664K  8340K wait    0   0:00  28.86% /usr/bin/gcc -S -m64 -o /tmp/conftest-ziv42W.s -x ada conftest.adb

During compilation, this line is shown in dmesg: "maxproc limit exceeded by uid 0 (pid 50033); see tuning(7) and login.conf(5)"
>How-To-Repeat:
make install clean -C devel/gdb
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list