Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 02:50:38 -0200
From:      "Java Nunes" <javanunes@gmail.com>
To:        dan-freebsd-bugs@ourbrains.org, freebsd-bugs@freebsd.org
Subject:   RE: fork bomb no respects limits in freebsd 7.0 (semeador da discordia)
Message-ID:  <425f5fc40812142050r5c3e72abm68aeebc535d89a48@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
This error not exist in system no swap i see.
To kill forkbomb problem i made a new class user in:
/etc/login.conf
so:


amarrado:\
       :memoryuse=20M:\
       :maxproc=16:\
       :memorylocked=18M:\
       :cputime=6s:\
       :vmemoryuse=19M:\
       :filesize=2M:\
       :datasize=2M:\
       :stacksize=4M:\
       :accounted:\
       :path=/bin /usr/bin /usr/local/bin /usr/games/ /usr/local/sbin:\
       :refreshtime=180d:\
       :passwd_format=blf:\
       :sessionlimit@:\

and put class cracker user like amarrado in vipw and cap_mkdb /etc/login.conf

I have see the message in console when swap on :
maxproc limit exceeded by uid 1010, please see tuning(7) and login.conf(5).
maxproc limit exceeded by uid 1010, please see tuning(7) and login.conf(5).
maxproc limit exceeded by uid 1010, please see tuning(7) and login.conf(5).
maxproc limit exceeded by uid 1010, please see tuning(7) and login.conf(5).
Approaching the limit on PV entries, consider increasing either the
vm.pmap.shpgpe
rproc or the vm.pmap.pv_entry_max sysctl.

But not anymore it shutdown my freebsd box








>Java Nunes(javanunes@gmail.com)@2008.12.11 05:27:08 -0200:
>> fBSD gives memory in spite of all limits. Is there any limit, which can stop
>> adding memory for that forks ?
>> limit it does not function in bsd?

>Hmm, I understand there is a per process limit, that once exceeded kills
>the process, I don't know if there is a system limit for max RAM.
>_______________________________________________
>freebsd-bugs@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-bugs <http://lists.freebsd.org/mailman/listinfo/freebsd-bugs>;
>To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
http://ceboliceta.blogspot.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425f5fc40812142050r5c3e72abm68aeebc535d89a48>