Re: deadlock in "zoneli" state on 6.2-PRERELEASE

2006-12-11 Thread LI Xin
Hi, Nikolay, Nikolay Pavlov wrote: > On Tuesday, 12 December 2006 at 2:59:37 +0800, LI Xin wrote: >> Hi, Nikolay, >> >> Nikolay Pavlov wrote: >>> On Monday, 11 December 2006 at 15:59:03 +0800, LI Xin wrote: Hi, Would you please give the following patch a try? http://peopl

Re: apache and php5

2006-12-11 Thread RYAN M. vAN GINNEKEN
sorry everyone i am a dumb [EMAIL PROTECTED] i was tring to install php5-extensions the option to build the apache module is found in the php5 port not the php5-extensions very sorry - RYAN M. vAN GINNEKEN <[EMAIL PROTECTED]> wrote: > Ok folks i looked though the dialog 3 or 4 times looking/

Re: apache and php5

2006-12-11 Thread RYAN M. vAN GINNEKEN
Ok folks i looked though the dialog 3 or 4 times looking/yearning for anything to do with apache but cannot seem to find anything. Does it go under a differnt name like SOAP or XML or DXML or something like that. - Iassen Anadoliev <[EMAIL PROTECTED]> wrote: > On Mon, December 11, 2006 10

Re: panic: sleeping thread

2006-12-11 Thread Max Laier
On Monday 11 December 2006 23:40, John Baldwin wrote: > On Monday 11 December 2006 17:21, Marc G. Fournier wrote: > > --On Monday, December 11, 2006 16:27:23 -0500 John Baldwin > > <[EMAIL PROTECTED]> > > > > wrote: > > > On Saturday 09 December 2006 03:30, Marc G. Fournier wrote: > > >> Without a

Re: malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Andrew Reilly
On Mon, 11 Dec 2006 12:25:44 -0600 Dan Nelson <[EMAIL PROTECTED]> wrote: > The FreeBSD 6.x behaviour is slightly against POSIX rules that state > all successful malloc calls must return unique pointers, so the 7.x > malloc silently rounds zero-size mallocs to 1. Ideally malloc would > return uniq

Re: panic: sleeping thread

2006-12-11 Thread John Baldwin
On Monday 11 December 2006 17:21, Marc G. Fournier wrote: > > --On Monday, December 11, 2006 16:27:23 -0500 John Baldwin <[EMAIL PROTECTED]> > wrote: > > > On Saturday 09 December 2006 03:30, Marc G. Fournier wrote: > >> > >> Without a core dump, does this mean anything to anyone? > >> > >> Sleep

Re: panic: sleeping thread

2006-12-11 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Monday, December 11, 2006 16:27:23 -0500 John Baldwin <[EMAIL PROTECTED]> wrote: > On Saturday 09 December 2006 03:30, Marc G. Fournier wrote: >> >> Without a core dump, does this mean anything to anyone? >> >> Sleeping thread (tid 101251,

Re: panic: sleeping thread

2006-12-11 Thread John Baldwin
On Saturday 09 December 2006 03:30, Marc G. Fournier wrote: > > Without a core dump, does this mean anything to anyone? > > Sleeping thread (tid 101251, pid 38200) owns a non-sleepable lock > panic: sleeping thread > cpuid = 1 > > The kernel was last upgraded: > > FreeBSD 6.2-PRERELEASE #1: Fri

Re: bge Ierr rate increase from 5.3R -> 6.1R

2006-12-11 Thread Doug Barton
Greg Eden wrote: > Hello > > I recently updated two production servers from 5.3 to 6.1 via cvsup and > buildworld. Since the upgrade I've seen an increase in the number of > Input packet errors reported on the bge cards in on both boxes. One is a > HP DL360g3, the other is a HP DL380g3. Both have

Re: deadlock in "zoneli" state on 6.2-PRERELEASE

2006-12-11 Thread Nikolay Pavlov
On Tuesday, 12 December 2006 at 2:59:37 +0800, LI Xin wrote: > Hi, Nikolay, > > Nikolay Pavlov wrote: > > On Monday, 11 December 2006 at 15:59:03 +0800, LI Xin wrote: > >> Hi, > >> > >> Would you please give the following patch a try? > >> > >> http://people.freebsd.org/~delphij/misc/patch-zoneli

Re: ggate still broken on 6.2-RC1 for amd64.

2006-12-11 Thread Ulrich Spoerlein
Ulrich Spoerlein wrote: > But I'll whip up a ggate test case. Very strange ... I thought I would work through different buffer sizes, starting with some low value. Here's what gives: igor# ggated -a localhost -v -R8k -S8k /tmp/ggate_exports igor# ggatec create -v -R8k -S8k localhost /t

Re: malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Luigi Rizzo
On Mon, Dec 11, 2006 at 12:54:11PM -0600, Dan Nelson wrote: > In the last episode (Dec 11), Dan Nelson said: > > In the last episode (Dec 11), Luigi Rizzo said: > > > i was debugging a program on FreeBSD 6, and much to my surprise, i > > > noticed that malloc(0) returns 0x800, as shown by this prog

Re: deadlock in "zoneli" state on 6.2-PRERELEASE

2006-12-11 Thread LI Xin
Hi, Nikolay, Nikolay Pavlov wrote: > On Monday, 11 December 2006 at 15:59:03 +0800, LI Xin wrote: >> Hi, >> >> Would you please give the following patch a try? >> >> http://people.freebsd.org/~delphij/misc/patch-zonelim-drain >> >> Note: Please revert my previous patch against sys/kern/kern_mbuf.c

Re: malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Dan Nelson
In the last episode (Dec 11), Dan Nelson said: > In the last episode (Dec 11), Luigi Rizzo said: > > i was debugging a program on FreeBSD 6, and much to my surprise, i > > noticed that malloc(0) returns 0x800, as shown by this program: > > > > > more a.c > > #include > > int main(int

Re: ggate still broken on 6.2-RC1 for amd64.

2006-12-11 Thread Ulrich Spoerlein
Craig Boston wrote: > Have you tried increasing the send/receive buffer size? In my local > ggate setup I'm running both the client and server with the options > "-R 196608 -S 196608". I added it a while back after discovering that > the default buffer size was inadequate in certain situations an

Re: malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Dan Nelson
In the last episode (Dec 11), Luigi Rizzo said: > i was debugging a program on FreeBSD 6, and much to my surprise, i > noticed that malloc(0) returns 0x800, as shown by this program: > > > more a.c > #include > int main(int argc, char *argv[]) > { > char *p =

Re: deadlock in "zoneli" state on 6.2-PRERELEASE

2006-12-11 Thread Nikolay Pavlov
On Monday, 11 December 2006 at 15:59:03 +0800, LI Xin wrote: > Hi, > > Would you please give the following patch a try? > > http://people.freebsd.org/~delphij/misc/patch-zonelim-drain > > Note: Please revert my previous patch against sys/kern/kern_mbuf.c. > > This patch should be applied agains

Re: Zoneli State / Nttcp client.

2006-12-11 Thread LI Xin
[EMAIL PROTECTED] wrote: > Hi, > > I have a script where we start a nttcp for some 500 nttcp client in back > ground. After some time I could see the nttcp clients are listed in the > TOP command as "Zoneli" state. Can any one please let me know what is > meant by Zoneli state? > > Test Script: >

malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Luigi Rizzo
i was debugging a program on FreeBSD 6, and much to my surprise, i noticed that malloc(0) returns 0x800, as shown by this program: > more a.c #include int main(int argc, char *argv[]) { char *p = malloc(0); printf(" malloc 0 returns

Re: ggate still broken on 6.2-RC1 for amd64.

2006-12-11 Thread David Gilbert
> "Craig" == Craig Boston <[EMAIL PROTECTED]> writes: Craig> On Mon, Dec 11, 2006 at 02:47:41AM -0500, David Gilbert wrote: >> That doesn't square with my experience. Although bigger buffers >> could be involved in a performance problem, what we're dealing with >> here is a _zero_ traffic sit

bge Ierr rate increase from 5.3R -> 6.1R

2006-12-11 Thread Greg Eden
Hello I recently updated two production servers from 5.3 to 6.1 via cvsup and buildworld. Since the upgrade I've seen an increase in the number of Input packet errors reported on the bge cards in on both boxes. One is a HP DL360g3, the other is a HP DL380g3. Both have a pair of 2.8GHz Xeo

Re: apache and php5

2006-12-11 Thread Iassen Anadoliev
On Mon, December 11, 2006 10:13 am, RYAN M. vAN GINNEKEN wrote: > > trying to get php5 to work with apache anyone got any tips i am lost. what > ever happend to mod_php cd /usr/ports/lang/php5 && make config - Do you have APACHE option enabled here? > > -- > Computer King/CaNMail > > http://www

SMBFS bad address

2006-12-11 Thread Gerald Host
I'm having problems with SMBFS. I'll start by saying I'm using the PAE kernel (6.1), so the SMBFS options aren't loaded by default. If I should add these and rebuild the kernel please let me know: [not in my kernel]: options SMBFS #SMB/CIFS filesystem options

Re: apache and php5

2006-12-11 Thread Henrik Brix Andersen
On Mon, Dec 11, 2006 at 02:05:03AM -0700, RYAN M. vAN GINNEKEN wrote: > I tried what you suggested did not see anything about apache in the > dialog and my php still does not seem to work. DO i need to still > need to add anything to my apache httpd.conf used to be something > like this > > #

Re: apache and php5

2006-12-11 Thread RYAN M. vAN GINNEKEN
I tried what you suggested did not see anything about apache in the dialog and my php still does not seem to work. DO i need to still need to add anything to my apache httpd.conf used to be something like this # php5 #AddModule mod_php5.c #Loa

Re: kern.ipc.nsfbufs Max Value?

2006-12-11 Thread Dominic Mitchell
Ruslan Ermilov wrote: On Sun, Dec 10, 2006 at 08:23:00AM -0800, Holtor wrote: I have an extremely busy web server here serving mostly static html pages and images using apache 2.2.3 with sendfile enabled. It's a Dual Xeon server with 4 GB RAM and I've tweaked many sysctl variables to help the sy

Re: apache and php5

2006-12-11 Thread Michael
RYAN M. vAN GINNEKEN wrote: trying to get php5 to work with apache anyone got any tips i am lost. what ever happend to mod_php Well I can tell you that it does work, but getting the extensions is done differently now and you have to do it through php5-extensions port. Type: # cd /usr/port

apache and php5

2006-12-11 Thread RYAN M. vAN GINNEKEN
trying to get php5 to work with apache anyone got any tips i am lost. what ever happend to mod_php -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.c

Re: ggate still broken on 6.2-RC1 for amd64.

2006-12-11 Thread Craig Boston
On Mon, Dec 11, 2006 at 02:47:41AM -0500, David Gilbert wrote: > That doesn't square with my experience. Although bigger buffers could > be involved in a performance problem, what we're dealing with here is > a _zero_ traffic situation. It seems that it works enough for tasting > to be successful

Re: deadlock in "zoneli" state on 6.2-PRERELEASE

2006-12-11 Thread LI Xin
Hi, Would you please give the following patch a try? http://people.freebsd.org/~delphij/misc/patch-zonelim-drain Note: Please revert my previous patch against sys/kern/kern_mbuf.c. This patch should be applied against sys/vm/ [RELENG_6 or RELENG_6_2], it schedules a drain of uma zones when they