ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple netisrs in FreeBSD-8.0


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: multiple netisrs in FreeBSD-8.0
  • From: "zuborg" <nginx-forum@xxxxxxxx>
  • Date: Fri, 02 Apr 2010 10:15:36 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=LzzRc02HcWCt2uTJark62+A4Qfm03on9c4l7uZI0aeE=; b=QQC9h+3KWPSoHwkbmFFJtKpB9zb4nzgec9o5dPltyDqM1/mYgo4Qh/JWmP0tNUg7KIDfuNJplZ9t2UMfp5LH2tFgrX7KOooDMCZZDynuMTLn0oQcwZMGHdZmDBvtDm38;
  • In-reply-to: <20100402134416.GK75736@xxxxxxxxxxxxx>
  • References: <20100402134416.GK75736@xxxxxxxxxxxxx>

Не забываем убрать options DEVICE_POLLING из ядра, иначе не будет работать:

netisr.c:

#ifdef DEVICE_POLLING
        /*
         * The device polling code is not yet aware of how to deal with
         * multiple netisr threads, so for the time being compiling in device
         * polling disables parallel netisr workers.
         */
        if (netisr_maxthreads != 1 || netisr_bindthreads != 0) {
                printf("netisr2: forcing maxthreads to 1 and bindthreads to "
                    "0 for device polling\n");
                netisr_maxthreads = 1;
                netisr_bindthreads = 0;
        }
#endif


Posted at Nginx Forum: http://forum.nginx.org/read.php?21,70554,70562#msg-70562


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.