Re: Superpages on amd64 FreeBSD 7.2-STABLE

2009-11-27 Thread Adrian Chadd
There's a bunch of other random crap that may be going on relating to the helper processes (eg rewriters, auth, etc) which may also be restarted. Anyway. The thread is about superpage demotion and copying, not what Squid is or isn't doing in her configuration. :) Adrian 2009/11/27 Daniel O'Con

Workaround for ntop as daemon, is it ok?

2009-11-27 Thread Henner Morten Kruse
Hi, I have just set up an ntop server based on 8.0-RELEASE. FreeBSD ntop 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 After installing ntop 1.3.10 and all dependencies from the ports ntop did work, but when ru

Re: zero size set_pcpu linker sets

2009-11-27 Thread Bjoern A. Zeeb
On Tue, 24 Nov 2009, Navdeep Parhar wrote: Hi, objdump -h shows that most, but not all, KLDs on amd64 have a "set_pcpu" section of size 0. Why? What is the difference between having a 0 sized set_pcpu vs. not having it at all? The kernel linker considers the alignment requirements of these e

Re: Superpages on amd64 FreeBSD 7.2-STABLE

2009-11-27 Thread Daniel O'Connor
On Fri, 27 Nov 2009, Adrian Chadd wrote: > There's a bunch of other random crap that may be going on relating to > the helper processes (eg rewriters, auth, etc) which may also be > restarted. OK. > Anyway. The thread is about superpage demotion and copying, not what > Squid is or isn't doing in

ucred when euid/egid

2009-11-27 Thread Anthony Pankov
Hello, I face some misunderstood situation related to the access permissions. There is a program(script) with the suid/sgid (mode 6555): r-sr-sr-x fuser:proggroup theprog There is a file: rw-rw someone:filegroupthefile User 'fuser' (==program euid) have primary group 'filegroup'

Re: Workaround for ntop as daemon, is it ok?

2009-11-27 Thread Jilles Tjoelker
On Fri, Nov 27, 2009 at 09:19:11AM +0100, Henner Morten Kruse wrote: > I have just set up an ntop server based on 8.0-RELEASE. > FreeBSD ntop 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 > r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > After installing nto

Re: zero size set_pcpu linker sets

2009-11-27 Thread Navdeep Parhar
On Fri, Nov 27, 2009 at 08:51:41AM +, Bjoern A. Zeeb wrote: > On Tue, 24 Nov 2009, Navdeep Parhar wrote: > > Hi, > > >objdump -h shows that most, but not all, KLDs on amd64 have a "set_pcpu" > >section of size 0. Why? What is the difference between having a 0 > >sized set_pcpu vs. not havin

heap limits: mmap(2) vs. break(2) on i386

2009-11-27 Thread Maxim Sobolev
Hi, I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. Both MAXDSIZ and DFLDSIZ are set to 2GB. Here is my limits: Resource limits (current): cputime infinity secs filesize infinity kB datasize 2097152

Re: heap limits: mmap(2) vs. break(2) on i386

2009-11-27 Thread Jason Evans
Maxim Sobolev wrote: I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. Both MAXDSIZ and DFLDSIZ are set to 2GB. Some memory (1GiB?) is reserved for kernel address space, and you reserved 2GiB for DSS. That leaves less than 1GiB ava

Re: heap limits: mmap(2) vs. break(2) on i386

2009-11-27 Thread Maxim Sobolev
Jason Evans wrote: Maxim Sobolev wrote: I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. Both MAXDSIZ and DFLDSIZ are set to 2GB. Some memory (1GiB?) is reserved for kernel address space, and you reserved 2GiB for DSS. That leave

Re: heap limits: mmap(2) vs. break(2) on i386

2009-11-27 Thread Jason Evans
Maxim Sobolev wrote: Jason Evans wrote: Maxim Sobolev wrote: I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. Both MAXDSIZ and DFLDSIZ are set to 2GB. Some memory (1GiB?) is reserved for kernel address space, and you reserved 2Gi

Re: heap limits: mmap(2) vs. break(2) on i386

2009-11-27 Thread Maxim Sobolev
Jason Evans wrote: Maxim Sobolev wrote: Jason Evans wrote: Maxim Sobolev wrote: I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. Both MAXDSIZ and DFLDSIZ are set to 2GB. Some memory (1GiB?) is reserved for kernel address space, a