Maksim Sosnovskiy Wrote: ------------------------------------------------------- > I've added an error_log direction to the > nginx.conf file, restarted nginx. > However, it's not logging php errors. What could > be wrong? Make sure your backend sends errors over fastcgi correctly. Although I'm not sure if it is even possible with php.by jjjx128 - Nginx Mailing List - English
Jonathan Leibiusky Wrote: ------------------------------------------------------- > Is it true to say that every worker process in > nginx has its own round-robin > counters and that they are not aware of the other > workers counters? Yes, take a look at ngx_http_upstream_round_robin.c.by jjjx128 - Nginx Mailing List - English
Ildar Wrote: ------------------------------------------------------- > Но файлы из папки > установки src/core,event,misc,os > которые содержат > заголовочные файлы .h , они > не устанавливаются. Без них > скомпилировать модуль не > могу. Они и не нужнby jjjx128 - Nginx Mailing List - Russian
netinsideout Wrote: ------------------------------------------------------- > add_before_body /insert.html; > на других html > превращается в нечитаемый > побитый код. Видимо gzip > виноват. Если gzip виноват, то можно попросить апстрим не использовать gzip: prby jjjx128 - Nginx Mailing List - Russian
Pasi Kärkkäinen Wrote: ------------------------------------------------------- > in tcp mode you can't filter the requests etc.. I > need to do that aswell. There are quite a few load balancers and proxies out there. I'm sure you can find something useful. > Maybe I need to take a look at the code and try to > figure out > if direct upload streaming could be implementeby jjjx128 - Nginx Mailing List - English
Pasi Kärkkäinen Wrote: ------------------------------------------------------- > Is there an option to disable this behaviour? > I'd like to directly stream the uploads to the > backend.. No. Nginx has no way of streaming data directly to the backend. Take a look at haproxy or any other tcp load balancer.by jjjx128 - Nginx Mailing List - English
По-моему лишняя кавычка в 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> + #include <string.h>' #include <stdio.h>'by jjjx128 - Nginx Mailing List - Russian
jjjx128 Wrote: ------------------------------------------------------- > And if you are not serving 100 megabytes > of data to 500 clients but a lot more you are most > likely to get better results with asynchronous > server even with blocking file I/O. Sorry, bad example, in this case your data will fit in file system cache and you still will be better off with nginx bacuase oby jjjx128 - Nginx Mailing List - English
Piotr Sikora Wrote: ------------------------------------------------------- > It's actually very related, because with > event-driven programming, you're > blocking _all_ worker's clients on the single disk > I/O. I know, but imagine how much memory you can save and use for file system cache if you are not running apache. Which can make fat more greater impact on your performaby jjjx128 - Nginx Mailing List - English
Andy Wrote: ------------------------------------------------------- > I was always under the impression that Nginx is > non-blocking for file IO. Then I was told it > wasn't. Actually AIO support was added not so long ago. It can be non-blocking for file IO on systems with AIO. > If Nginx blocks for file IO, then > using Nginx here wouldn't be any better than using >by jjjx128 - Nginx Mailing List - English
darckos Wrote: ------------------------------------------------------- > Server is not busy at all. 16G of memory and 24 > core just for static delivery ... :) Well sometimes it happens even when machine is idle and serving about 10 or 20 images per second. But seems to happen more often with normal priority. So it might not be related to how busy machine is. Anyway I still can't getby jjjx128 - Nginx Mailing List - English
Алферов Василий Wrote: ------------------------------------------------------- > Добрый день! > > Мне тут попалась отличная > статья Барона Шварца по > метрикам > производительности: > Практически все это можно > сделать на основе анby jjjx128 - Nginx Mailing List - Russian
ruslansvs Wrote: ------------------------------------------------------- > Та не винду в виртуальную > машину - это вообще > извращение Да ну, не более извращение, чем винду вообще. Тем более готовые образы на рэкспейсе или ком-то другом позволят пby jjjx128 - Nginx Mailing List - Russian
darckos Wrote: ------------------------------------------------------- > I use Nginx to serve static image and sometimes to > get one image I need to wait 10 or more seconds. Strangely I was having the exact same problem on a very busy freebsd 8.0 i386 machine that serves images as well. Raising worker_priority to -10 helped a lot.by jjjx128 - Nginx Mailing List - English
Sergey Shepelev Wrote: ------------------------------------------------------- > 2011/4/29 ruslansvs <nginx-forum@nginx.us>: > > У меня freebsd > > Тогда нужно иметь большую > удачу, чтобы запустить asp.net Или просто поставить винду в виртуальную машину.by jjjx128 - Nginx Mailing List - Russian
San Wrote: ------------------------------------------------------- > Создаю файл на стороне > сервера my_file.txt и заполняю > его мусором.... > > Редактирую my_file.txt, > сохраняю, закрываю и вновь > делаю запросы и > наблюдаю следующее: Потому чby jjjx128 - Nginx Mailing List - Russian
> > На что следует обратить внимание? > Проверить записываемость > proxy_temp_path. Тогда, наверное, была бы ошибка в логах, а автор говорит, что там чисто. Можно сразу пробовать: proxy_set_header Accept-Encoding "identity";by jjjx128 - Nginx Mailing List - Russian
Shemaeva Wrote: ------------------------------------------------------- > directio на загрузку данных в > кеш ( хотелось уменьшить > кеширование > файлов, размер которых > превышает 5к). > значимого прироста > свободного кеша обнаружено > неby jjjx128 - Nginx Mailing List - Russian
Андрей Василишин Wrote: ------------------------------------------------------- > Сервер занимается раздачей > flv > Заметил такую особенность: > было 4 воркера, трафик едва > доходил до 700 > мбит, увеличил до 8, трафик > сразу вылез до своеby jjjx128 - Nginx Mailing List - Russian
romas1982 Wrote: ------------------------------------------------------- > Т.е. получается надо тюнить > апач так, чтобы он по > proxy_set_header Host "asdf"; > гарантированно сваливался > в нужную мне секцию? Просто использовать один хост для всех. Заby jjjx128 - Nginx Mailing List - Russian
romas1982 Wrote: ------------------------------------------------------- > Судя по поведению - имена > хостов в секции upstream не > передаются бэкэнду. > Т.е. я обречен на поиски > другого пути? proxy_set_header Host "asdf";by jjjx128 - Nginx Mailing List - Russian
dix75 Wrote: ------------------------------------------------------- > которая включает в себя 2 файла dor.h и dor.c > а как теперь добавить dor.h и > dor.c ? В NGX_ADDON_DEPS все *.h, в NGX_ADDON_SRCS все *.c. Еще удобно в CORE_INCS добавить, чтобы можно было писать #include <dor.h&gby jjjx128 - Nginx Mailing List - Russian
Была недавно статья, как держать 500000 соединений, как раз по теме :) http://blog.urbanairship.com/blog/2010/09/29/linux-kernel-tuning-for-c500k/by jjjx128 - Nginx Mailing List - Russian
> Can nginx act as a front-end proxy for very long > POST requests where > the back-end server is not bothered until the POST > is totally complete > (at which point it is given the data). It is exactly how it's done in nginx. > Further, can it support (while the POST is in > progress) another query > as to the status of the POST (bytes completed, > bytes tby jjjx128 - Nginx Mailing List - English
> Пишу систему для отдачи > captcha на стороне front-end`a с > использованием > встроенного perl`a > Есть необходимость > хранения в ОЗУ спиков IP с > возможностью их > редактирования. (что бы не > тянуть каждый раз изby jjjx128 - Nginx Mailing List - Russian
SaveFrom.net Wrote: ------------------------------------------------------- > Сейчас запросы идут по > следующей схеме: > nginx -> nginx + php-fpm > > как считаете, будет ли > оправдана ли смена схемы > работы на > nginx -> php-fpm (на удаленной > машине)by jjjx128 - Nginx Mailing List - Russian
Tue, 27 Jul 2010 13:06:27 +0400 письмо от Михаил Монашёв <postmaster@softsearch.ru>: > Есть желание в разных странах поставить по кэширующему серверу. Но > проблема в том, что не понятно как bind обучить выдавать ip ближайшего > к юзеру кэша.by jjjx128 - Nginx Mailing List - Russian
"C. Bergström" Wrote: ------------------------------------------------------- > If you guys ever consider switching to cmake it > does an awesome job of > generating native project files. This *really* > can help with building > things on Win and other unsane platforms. I think the whole point of Nginx is keeping it simple and avoid any kind of dependenciesby jjjx128 - Nginx Mailing List - English
Wed, 30 Jun 2010 22:11:03 +0300 письмо от "maxhl" <maxhl@hitline.net.ua>: > Primarily a modified version of the Nginx FastCGI module which implements > multiplexing of connections, allowing a single FastCGI server to handle many > concurrent requests. > This paves the way for long-lived connections in web apps without wasting > resources -- i.e. optimally yby jjjx128 - Nginx Mailing List - Russian
Fri, 18 Jun 2010 10:26:53 -0400 письмо от "vl" <nginx-forum@nginx.us>: > nginx 0.7.67 падает из-за regexp. 0.6.39 работает. > if ($remote_addr ~* > "213.87.(89\..*|90\..*)|213.87.64.(6[4-9]|[7-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.74.251([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.66.146.(3[3-9]|[4-9][0-9]|10[by jjjx128 - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
![]() |