On Fri, May 06, 2011 at 03:39:50PM -0400, uid_b wrote: > This appears to be an issue with our VPN, I have no idea why everything > works except for massive URL's but I don't think it's related to nginx > in any way. Try to search for "path mtu discovery vpn". -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 02:56:10PM -0400, uid_b wrote: > I get 2 different outputs, depending on whether the connection is SSL or > not > > Non-SSL: > 2011/05/06 12:52:44 13267#0: *48 accept: 192.168.10.21 fd:3 > 2011/05/06 12:52:44 13267#0: *48 event timer add: 3: > 120000:1304708084457 > 2011/05/06 12:52:44 13267#0: *48 epoll add event: fd:3 op:1 > ev:80000001 ngiby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 02:56:10PM -0400, uid_b wrote: > I get 2 different outputs, depending on whether the connection is SSL or > not > 2011/05/06 12:54:09 13267#0: *69 http header: "User-Agent: > Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1" > 2011/05/06 12:54:09 13267#0: *69 http header: "Accept: > text/html,application/xhtml+xml,apby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 11:39:11AM -0700, Qun-Ying wrote: > Hi, > > I would like to know is it possible to store some private per request data > structure (like a state machine that need to remember the current state due > to async operation, and continue from the previous state when data continue) > from a module without invading into nginx's ngx_http_request_t structure? Is &gby Igor Sysoev - Nginx Development
On Fri, May 06, 2011 at 01:20:24PM -0300, Felipe Teofilo wrote: > Hello, > > > How can i change 502 bad gateway from all my vhosts, to do a unique erro page? > > > I want redirect to /var/html/www/errors/502/ > > > I try put at vhost config, but some time it doesnt work. error_page 500 502 503 504 /50x.html; location = /50x.html {by Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 12:16:55PM -0400, jfix wrote: > Hello, I've looked far and wide but couldn't find an answer to my > problem. > > Here's a quick description: an appserver must use the company's http > proxy for outgoing http requests, but cannot be configured. So I (tried) > set up nginx to act as a forward proxy, like this: > > server { > listen 9099; > reby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 06:29:52PM +0300, Dobrozhansky Sergey wrote: > Имею следуюзий конфиг: > > map $http_user_agent $players { > default 1; > "~mplayer|vlc|nsplayer" 0; > } > > server { > location /pl/ { > > if ($players) { > return 444; > } > > location ~ ^/pl/([0-9]+)$ { >by Igor Sysoev - Nginx Mailing List - Russian
On Fri, May 06, 2011 at 01:37:17PM -0400, uid_b wrote: > update: to rule out fastcgi/php I ran the same test against a basic HTML > file with the same GET parameter, same problem. Could you create a debug log of the HTML files request ? http://nginx.org/en/docs/debugging_log.html -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://ngiby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 12:52:51PM +0000, Richard Kearsley wrote: > Hi > Many thanks for your help, it is much appreciated. > I am still getting these pauses. They happen every 30 seconds on the dot. > What could be running/locking every 30 seconds? System disk (ad4) incurs usage at this point, and this should not be being used (ad5 and ad6 are the cache disks) > (note that I increaby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 09:37:12AM +0000, Richard Kearsley wrote: > Is aio used while reading files from proxy_cache? Yes, it works. For FreeBSD I recommend this settings: sendfile on; aio sendfile; tcp_nopush on; read_ahead 512k; > I test aio on a file every 1s (it should be in ram buffers, so no disk io needed) > Usually it takes 1ms (or lower), but sby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 03:22:23AM -0400, stalkercn wrote: > ooh a foolish fault! > But as seem as proxy mode,between two contiguous lines in the debug > log,the time is 4-5 seconds,I dont know why? > > eg: > 2011/05/06 15:14:10 86514#0: *101 http upstream request: > "/general/mytable/intel_view/index.php?" > 2011/05/06 15:14:10 86514#0: *101 http upstream dumby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 02:34:03AM -0400, stalkercn wrote: > http://www.toofiles.com/zh/rawfilesdownload-documents-log-nginx.html nginx does not merge locations as Apache does, so: location / { root /home/www; index index.php index.html; } location ~ \.php$ { root /home/www; fastcgi_pass 127.0.0.1:9000;by Igor Sysoev - Nginx Mailing List - English
On Thu, May 05, 2011 at 10:33:02PM -0300, Marcelo Cabral wrote: > Hello, > > I was wondering if I could monitor FastCGI responses (timers, success, > failures, round robin stats, etc...) with nginx? > Any hints on how I could get this info? Only by logging variables: $upstream_response_time $upstream_status $upstream_addr -- Igor Sysoev _______________________________________by Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 02:34:03AM -0400, stalkercn wrote: > http://www.toofiles.com/zh/rawfilesdownload-documents-log-nginx.html According to this log nginx uses 4k fastcgi_buffer_size. Could you show your configuration ? -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
On Fri, May 06, 2011 at 02:14:37PM +0800, XueHJ wrote: > > ----- Original Message ----- > From: "Igor Sysoev" <igor@sysoev.ru> > To: <nginx-devel@nginx.org> > Sent: Friday, May 06, 2011 12:44 PM > Subject: Re: How to use BIG data in my module? > > > > On Fri, May 06, 2011 at 12:38:55PM +0800, XueHJ wrote: > > > >> ----- Originby Igor Sysoev - Nginx Development
On Fri, May 06, 2011 at 12:38:55PM +0800, XueHJ wrote: > ----- Original Message ----- > From: "Piotr Sikora" <piotr.sikora@frickle.com> > To: <nginx-devel@nginx.org> > Sent: Thursday, May 05, 2011 8:26 PM > Subject: Re: How to use BIG data in my module? > > > > Hi, > > > >> in which to load into memory a BIG data (about 800MB), &by Igor Sysoev - Nginx Development
On Thu, May 05, 2011 at 10:45:21PM -0400, stalkercn wrote: > nginx: nginx version: nginx/1.0.1 > nginx: built by gcc 4.2.1 20070719 > nginx: configure arguments: --prefix=/usr/local/etc/nginx > --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' > --conf-path=/usr/local/etc/nginx/nginx.conf > --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid &gby Igor Sysoev - Nginx Mailing List - English
What is in error_log ? -- Igor Sysoev 05.05.2011, в 19:52, "Yanxin Z." <lists@ruby-forum.com> написал(а): > Hello, > I am using PHP to connect to memcache. > > I connect memcache service in the PHP code as follows: > $memcache = new Memcache; > $memcache->connect('127.0.0.1', 11211); //connect to memcached server > > > Then when I connecby Igor Sysoev - Nginx Mailing List - English
А что в error_log ? -- Igor Sysoev 12.04.2011, в 11:50, "Alexander Sobcanyuk" <sasa@algosoft.ru> написал(а): > Добрый день > > Попробую описать ситуацию, но понимаю, что несколько сумбурно > > Frontend - nginx > > Конфиг максимально простой > > seby Igor Sysoev - Nginx Mailing List - Russian
On Thu, May 05, 2011 at 04:12:08PM +0400, Theodor Zurabishvili wrote: > На сколько корректно использовать директиву root вместе с proxy_pass? root (явный или унаследованный) есть в любом сервере и location'е. -- Igor Sysoev _______________________________________________ nginx-ru mailing list nginx-ru@ngby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 04, 2011 at 10:50:07PM -0400, stalkercn wrote: > nginx version: nginx/0.8.54 > configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I > /usr/local/include' --with-ld-opt='-L /usr/local/lib' > --conf-path=/usr/local/etc/nginx/nginx.conf > --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid > --error-log-path=/var/log/nginx-error.log --user=wwwby Igor Sysoev - Nginx Mailing List - English
On Thu, May 05, 2011 at 05:05:37AM +0000, Richard Kearsley wrote: > Hi > A lot of talk about AIO recently - I actually didn't know it existed before, so I am trying it on freebsd8 > > # sysctl -a | grep aio > kern.features.aio: 1 > vfs.aio.max_buf_aio: 16 > vfs.aio.max_aio_queue_per_proc: 256 > vfs.aio.max_aio_per_proc: 32 > vfs.aio.unloadable: 0 > vfs.aio.aiod_lifetby Igor Sysoev - Nginx Mailing List - English
On Wed, May 04, 2011 at 11:10:00PM +0400, Igor Sysoev wrote: > On Thu, May 05, 2011 at 02:59:21AM +0800, 杨镭 wrote: > > Hi, > > > > The context of map directive is *http* as documented on wiki.nginx.org. This > > means all the requests will go through the map filter phase. > > This is not ideal when you have many virtual hosts. > > > > For example,by Igor Sysoev - Nginx Mailing List - English
On Thu, May 05, 2011 at 02:59:21AM +0800, 杨镭 wrote: > Hi, > > The context of map directive is *http* as documented on wiki.nginx.org. This > means all the requests will go through the map filter phase. > This is not ideal when you have many virtual hosts. > > For example, we've 50+ virtual hosts. When one of them need map variables, > the others automatically inheriteby Igor Sysoev - Nginx Mailing List - English
On Wed, May 04, 2011 at 04:46:14PM +0400, Vladimir Rusinov wrote: > 2011/5/3 Igor Sysoev <igor@sysoev.ru> > > > *) Изменение: теперь по умолчанию nginx использует значение 511 для > > listen backlog на Linux. > > > > А можно вопрос для повышения образованности: поby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 04, 2011 at 08:08:57AM -0400, jjjx128 wrote: > По-моему лишняя кавычка в ngx_feature_incs: > > --- a/auto/unix Tue Apr 12 00:00:00 2011 +0400 > +++ b/auto/unix Wed May 04 15:09:05 2011 +0300 > @@ -141,14 +141,19 @@ > ngx_feature_name=NGX_SYS_NERR > ngx_feature_run=value > ngx_feature_incs='#include <errno.h> > +by Igor Sysoev - Nginx Mailing List - Russian
The attache patch enables POSIX semaphores usage during shared memory access. It should decrease CPU usage on start-up or online upgrade of installations with large caches or large number of workers. I tested the patch on FreeBSD 8.2. There is no sense to test it on FreeBSD prior to 7.2 version, since semaphores does not work on these systems. You can ensure that there are enough semaphores: sby Igor Sysoev - Nginx Mailing List - English
Прилагаемый патч использует ожидание на POSIX семафорах при доступе к разделяемой памяти. Должно помочь уменьшить потребление процессора при старте или он-лайн апгрэйде конфигураций с большими кэшами или большим числоby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 04, 2011 at 02:11:01PM +0400, TJ wrote: > Спасибо! > Направление понял Регулярное выражение должно быть в low case. > 04.05.2011 11:25, Igor Sysoev пишет: > > On Wed, May 04, 2011 at 11:15:37AM +0400, TJ wrote: > >> Приветствую! > >> > >> Необходимо определby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 04, 2011 at 11:15:37AM +0400, TJ wrote: > Приветствую! > > Необходимо определить запрашивает адрес мобильный клиент (и ему отдать > страницу, оптимизированную под браузер сотового телефона) или же обычный > клиент (отдать оby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|