Re: svn commit: r287606 - head/sys/kern

2015-09-11 Thread Alfred Perlstein
64k hard is too low a number for large memory machines. -Alfred On 9/10/15 9:18 AM, Adrian Chadd wrote: On 10 September 2015 at 09:04, Warner Losh wrote: On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: On 10 September 2015 at 04:05, Adrian Chadd

Re: svn commit: r287606 - head/sys/kern

2015-09-11 Thread Adrian Chadd
On 11 September 2015 at 13:46, Alfred Perlstein wrote: > 64k hard is too low a number for large memory machines. Root can always bump it up all the way to kern.maxfilesperproc. I'm also a big fan of having the description of config of service stuff be in /etc/rc.conf, rather than

Re: svn commit: r287606 - head/sys/kern

2015-09-11 Thread Adrian Chadd
Hi, That would be nice. Maybe after this particular bug is fixed though. -a On 11 September 2015 at 09:47, Slawa Olhovchenkov wrote: > On Thu, Sep 10, 2015 at 03:11:39PM -0700, Adrian Chadd wrote: > >> Hi, >> >> Fixed a couple of bugs, and: >> >>

Re: svn commit: r287606 - head/sys/kern

2015-09-11 Thread Alfred Perlstein
The idea is sane defaults. Surely 256k makes sense for a machine with that much memory. Sent from my iPhone > On Sep 11, 2015, at 2:02 PM, Adrian Chadd wrote: > >> On 11 September 2015 at 13:46, Alfred Perlstein wrote: >> 64k hard is too low a number for

Re: svn commit: r287606 - head/sys/kern

2015-09-11 Thread Slawa Olhovchenkov
On Thu, Sep 10, 2015 at 03:11:39PM -0700, Adrian Chadd wrote: > Hi, > > Fixed a couple of bugs, and: > > https://reviews.freebsd.org/D3630 May be you also can be sanitize and standartize enviroment for services started from init and from sheell? Currently some enviroment will be different if

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Ed Maste
On 10 September 2015 at 04:05, Adrian Chadd wrote: > Author: adrian > Date: Thu Sep 10 04:05:58 2015 > New Revision: 287606 > URL: https://svnweb.freebsd.org/changeset/base/287606 > > Log: > Also make kern.maxfilesperproc a boot time tunable. > ... > TODO: Also "we"

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Warner Losh
On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: > On 10 September 2015 at 04:05, Adrian Chadd wrote: > > Author: adrian > > Date: Thu Sep 10 04:05:58 2015 > > New Revision: 287606 > > URL: https://svnweb.freebsd.org/changeset/base/287606 > > > > Log: > >

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Adrian Chadd
On 10 September 2015 at 09:04, Warner Losh wrote: > > > On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: >> >> On 10 September 2015 at 04:05, Adrian Chadd wrote: >> > Author: adrian >> > Date: Thu Sep 10 04:05:58 2015 >> > New Revision:

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread John-Mark Gurney
Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: > On 10 September 2015 at 09:04, Warner Losh wrote: > > > > > > On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: > >> > >> On 10 September 2015 at 04:05, Adrian Chadd

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Allan Jude
On 2015-09-10 13:53, John-Mark Gurney wrote: > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: >> On 10 September 2015 at 09:04, Warner Losh wrote: >>> >>> >>> On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: On 10 September

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Adrian Chadd
Hi, Fixed a couple of bugs, and: https://reviews.freebsd.org/D3630 -adrian On 10 September 2015 at 15:02, Adrian Chadd wrote: > I'd love for rc.subr to grow the ability to set per-daemon cpuset, > class, environment, etc. We have some of that in the rc script >

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Adrian Chadd
I'd love for rc.subr to grow the ability to set per-daemon cpuset, class, environment, etc. We have some of that in the rc script already. What I have so far for local hacking is this, which at least gets the default login class bits and runs things as user daemon. Yes, there are issues with

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread Eric van Gyzen
On 09/10/2015 12:53, John-Mark Gurney wrote: > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: >> On 10 September 2015 at 09:04, Warner Losh wrote: >>> >>> >>> On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: On 10 September

Re: svn commit: r287606 - head/sys/kern

2015-09-10 Thread John-Mark Gurney
Eric van Gyzen wrote this message on Thu, Sep 10, 2015 at 14:56 -0500: > On 09/10/2015 12:53, John-Mark Gurney wrote: > > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: > >> On 10 September 2015 at 09:04, Warner Losh wrote: > >>> > >>> > >>> On Thu, Sep 10,

svn commit: r287606 - head/sys/kern

2015-09-09 Thread Adrian Chadd
Author: adrian Date: Thu Sep 10 04:05:58 2015 New Revision: 287606 URL: https://svnweb.freebsd.org/changeset/base/287606 Log: Also make kern.maxfilesperproc a boot time tunable. Auto-tuning threshold discussions aside, it turns out that if you want to lower this on say, rather