Chtobi eto znachilo !?
Igor Sysoev
is at rambler-co.ru
Sat Mar 8 12:44:10 MSK 2008
On Sat, Mar 08, 2008 at 12:36:42PM +0300, Igor Sysoev wrote:
> On Fri, Mar 07, 2008 at 11:58:14AM +0200, Aleksej Novikov wrote:
>
> > Posle upgrade na linux-2.6.24-3, takaja vot lazha stala v dmesg
> > pojavljatsa.
> >
> > >warning: process `nginx' used the deprecated sysctl system call with 1.33.
> > >warning: process `nginx' used the deprecated sysctl system call with 1.33.
> >
> > Kernel otkompiljon s SMP , optimizacija dlja Old XEON,
> > sam servak DualCore DualXeon esli eto vazhno.
> >
> > Eto chtoto serjoznoe ?
>
> Нет. sysctl используется для rtsig.
>
> Прилагаемый патч добавляет параметр
> --without-rtsig_module
> который имеет смысл использовать на современных 2.6 ядрах.
>
> Интересно было бы увидеть, как выглядят первые 20 строк configure с этим
> патчем.
Патч.
--
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: auto/os/linux
===================================================================
--- auto/os/linux (revision 1239)
+++ auto/os/linux (working copy)
@@ -24,7 +24,8 @@
# enable the rt signals on Linux 2.2.19 and onward
-if [ $version -ge 131609 -o $EVENT_RTSIG = YES ]; then
+if [ \( $EVENT_RTSIG = NO -a $version -ge 131609 \) -o $EVENT_RTSIG = YES ]
+then
echo " + rt signals found"
have=NGX_HAVE_RTSIG . auto/have
have=NGX_HAVE_POLL . auto/have
Index: auto/options
===================================================================
--- auto/options (revision 1239)
+++ auto/options (working copy)
@@ -142,6 +142,7 @@
--builddir=*) NGX_OBJS="$value" ;;
--with-rtsig_module) EVENT_RTSIG=YES ;;
+ --without-rtsig_module) EVENT_RTSIG=NONE ;;
--with-select_module) EVENT_SELECT=YES ;;
--without-select_module) EVENT_SELECT=NONE ;;
--with-poll_module) EVENT_POLL=YES ;;
@@ -264,6 +265,7 @@
--builddir=DIR set the build directory
--with-rtsig_module enable rtsig module
+ --without-rtsig_module disable rtsig module
--with-select_module enable select module
--without-select_module disable select module
--with-poll_module enable poll module
More information about the nginx-ru
mailing list