https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225584

--- Comment #44 from m...@sentex.net ---
(In reply to Konstantin Belousov from comment #43)


its unlimited, the defaults.  I changed the core pattern and tested it with
another shell script.

sysctl -w sysctl kern.corefile=/tmp/core/%N.core
root@amdtestr12:/usr/ports/net/samba47 # ls -l /tmp/core/
total 81
-rw-------  1 root  wheel  9031680 Feb  7 15:41 sh.core
root@amdtestr12:/usr/ports/net/samba47 # 
I did a kill -11 and it dump the core file


# 
I adjusted my script

#!/bin/sh

while true
do
rm -R work
ulimit -a
sleep 2
make
date >> /tmp/build.out
find . -name "*.core" | awk '{print "cp "$1" /tmp/"}' | sh
done


root@amdtestr12:/usr/ports/net/samba47 # ./b
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  34246
open files                      (-n)  940698
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to