Re: Apache2 Virtual Hosts and FreeBSD fd limits.

2007-05-02 Thread Steve Bertrand
Eduardo Meyer wrote: > I have had a number of problems with Apache, concerning the number of > virtual hosts I have. I know it is a FAQ but raising FD_SETSIZE on > apache didnt help, am now trying to raise some limits with FreeBSD. I may have missed any previous posts, but can you inform of exactl

Apache2 Virtual Hosts and FreeBSD fd limits.

2007-05-02 Thread Eduardo Meyer
I have had a number of problems with Apache, concerning the number of virtual hosts I have. I know it is a FAQ but raising FD_SETSIZE on apache didnt help, am now trying to raise some limits with FreeBSD. I have raised maxfiles, but my openfiles do increase and the problem with Apache persists.

Re: msleep() on recursivly locked mutexes

2007-05-02 Thread Julian Elischer
Attilio Rao wrote: Julian Elischer wrote: Hans Petter Selasky wrote: First of all: Where is FreeBSD's locking strategy document? It is just started.. man 9 locking. it needs a lot of work still. I'm working with rwatson@ about a document that can nicely fit in locking(9), but we are a lit

Re: Debug and control registers in kdb.

2007-05-02 Thread stas . ibragimov
The 'hwatch' interface can set breakepoint only to reading and writing, but not to execution. Reading from cr3 can be used to display page tables. On Wed May 02, 2007 at 11:02:56AM -0400, John Baldwin wrote: > On Tuesday 01 May 2007 06:17:48 pm [EMAIL PROTECTED] wrote: > > Hello everybody. > > In

Re: Debug and control registers in kdb.

2007-05-02 Thread John Baldwin
On Tuesday 01 May 2007 06:17:48 pm [EMAIL PROTECTED] wrote: > Hello everybody. > In ddb(4) we can read/write only cs-ss,eax-edx,esp,ebp,esi,edi,eip and efl registers of CPU? > Why not implemented reding/writing to the dr0-dr7 and cr0-cr4 registers? > In attach there are small patch, that implemen

Re: how to configure mail server by freebsd 4.11

2007-05-02 Thread Carl Johan Gustavsson
edytocho tocho wrote: > how to configure mail server by freebsd 4.11 > This is not the correct list for such questions, questions@ is more appropriate, further, 4.11 isn't supported anymore. I suggest you to read the chapter about mail servers in the handbook (http://www.freebsd.org/handbook)

Re: msleep() on recursivly locked mutexes

2007-05-02 Thread Attilio Rao
Sergey Babkin wrote: From: Julian Elischer <[EMAIL PROTECTED]> Basically you shouldn't have a recursed mutex FULL STOP. We have a couple of instances in the kernel where we allow a mutex to recurse, but they had to be hard fought, and the general rule is "Don't". If you are recursing on a mute

Re: msleep() on recursivly locked mutexes

2007-05-02 Thread Attilio Rao
Julian Elischer wrote: Hans Petter Selasky wrote: First of all: Where is FreeBSD's locking strategy document? It is just started.. man 9 locking. it needs a lot of work still. I'm working with rwatson@ about a document that can nicely fit in locking(9), but we are a little bit stuck in ter

Re: msleep() on recursivly locked mutexes

2007-05-02 Thread Attilio Rao
Matthew Dillon wrote: The real culprit here is passing held mutexes to unrelated procedures in the first place because those procedures might have to block, in order so those procedures can release and reacquire the mutex. That's just bad coding in my view. The unrelated procedur