Welcome! Log In Create A New Profile

Advanced

Re: nginx-1.0.3

Denis F. Latypoff
May 26, 2011 10:06PM
25.05.2011, 22:24, "Igor Sysoev" <igor@sysoev.ru>:
> Изменения в nginx 1.0.3                                           25.05.2011
>
[...]

А POSIX семафоры в линуске? ))
C приаттаченным патчем оно собирается и якобы
работает. Но в strace'е процесса ядерных вызовов
я так и не увидел, так же как и в debug'е. Что надо
сделать чтобы делались вызовы? Кеш включен,
воркеров два + кеш-манагер. Или семафоры и в
правду не ядерные, или скажите, что надо сделать,
чтобы выловить вызовы.

--
br, Denis F. Latypoff.diff -ru nginx-1.0.3/auto/unix nginx-1.0.3-posix-sem-rt/auto/unix
--- nginx-1.0.3/auto/unix 2011-05-10 06:39:13.000000000 -0500
+++ nginx-1.0.3-posix-sem-rt/auto/unix 2011-05-26 19:54:18.000000000 -0500
@@ -245,6 +245,17 @@
sem_destroy(&sem);"
. auto/feature

+if [ $ngx_found != yes ]; then
+
+ ngx_feature="POSIX semaphores in librt"
+ ngx_feature_libs="-lrt"
+ . auto/feature
+
+ if [ $ngx_found = yes ]; then
+ CORE_LIBS="$CORE_LIBS -lrt"
+ fi
+fi
+

ngx_feature="struct msghdr.msg_control"
ngx_feature_name="NGX_HAVE_MSGHDR_MSG_CONTROL"
diff -ru nginx-1.0.3/configure nginx-1.0.3-posix-sem-rt/configure
--- nginx-1.0.3/configure 2010-06-18 10:51:14.000000000 -0500
+++ nginx-1.0.3-posix-sem-rt/configure 2011-05-26 19:53:38.000000000 -0500
@@ -95,14 +95,14 @@
have=NGX_HTTP_SCGI_TEMP_PATH value="\"$NGX_HTTP_SCGI_TEMP_PATH\""
. auto/define

-. auto/make
-. auto/lib/make
-. auto/install
-
if [ "$NGX_PLATFORM" != win32 ]; then
. auto/unix
fi

+. auto/make
+. auto/lib/make
+. auto/install
+
# STUB
. auto/stubs

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx-1.0.3

Igor Sysoev May 25, 2011 11:26AM

Re: nginx-1.0.3

Michael May 25, 2011 11:26AM

Re: nginx-1.0.3

Igor Sysoev May 25, 2011 11:28AM

Re: nginx-1.0.3

Michael May 25, 2011 11:30AM

Re: nginx-1.0.3

Alex Vorona May 26, 2011 07:06AM

Re: nginx-1.0.3

Igor Sysoev May 26, 2011 07:44AM

Re: nginx-1.0.3

Denis F. Latypoff May 26, 2011 10:06PM

Re: nginx-1.0.3

Igor Sysoev May 27, 2011 01:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready