Hello!
On Mon, Jan 15, 2024 at 09:00:09AM +0700, Алексей wrote:
> Приветствую.
>
> Использую fastcgi proxy с кэшом, расположенном на NFS шаре. Кэшируемые
> файлы размером около 250К.
Традиционно отмечу, что раздавать данные nginx'ом с NFS (а тем
более держать там кэш) - не лучшая идея. Если
Приветствую.
Использую fastcgi proxy с кэшом, расположенном на NFS шаре. Кэшируемые
файлы размером около 250К.
Вывод команды mountstats показывает, что операции READ получают в
среднем 54К байт, а операции WRITE отправляют в среднем 220К байт.
Получается, что когда nginx пишет файлы, то делает
Добрый день, Максим.
Вы писали 13 января 2024 г., 16:21:12:
> Именно об этом и тикет, да. Мне тоже вариант с файлами кажется
> более интересным - с extended-атрибутами, возможно, код будет чуть
> проще и, вероятно, быстрее, в силу меньшего количества необходимых
> системных вызовов, но там
Hello!
On Sat, Jan 13, 2024 at 03:11:11PM +0800, Muhammad Nuzaihan wrote:
> Hi Maxim,
>
> I did enable debug logs before i posted the question.
>
> With json payload, my code is executed right after doing malloc and
> "http request body content length filter".
>
> Without a json payload, it
Hello!
On Sat, Jan 13, 2024 at 10:34:08AM +0300, izor...@gmail.com wrote:
> Добрый день, Максим.
>
> Вы писали 13 января 2024 г., 3:28:36:
>
> > Hello!
>
> > Hash-сумма файла в качестве ETag - в целом отличное решение,
> > проблема тут ровно одна: её нужно как-то получить, ибо системный
> >
Добрый день, Максим.
Вы писали 13 января 2024 г., 3:28:36:
> Hello!
> Hash-сумма файла в качестве ETag - в целом отличное решение,
> проблема тут ровно одна: её нужно как-то получить, ибо системный
> вызов fstat() никаких hash-сумм почему-то не возвращает. Считать
> на лету - очевидно,
Hi Maxim,
I've verified that even with "curl -X POST
http://localhost/proxy/profile/alice/comment; works. as below debug
logs.
2024/01/13 15:19:44 [debug] 2452969#0: *20 rewrite phase: 0
2024/01/13 15:19:44 [debug] 2452969#0: *20 test location: "/"
2024/01/13 15:19:44 [debug] 2452969#0: *20 test
Hi Maxim, (added some info about URL)
I did enable debug logs before i posted the question.
With json payload, my code is executed right after doing malloc and
"http request body content length filter".
Without a json payload, it doesn't execute my request
validation.That's why i thought it
Hi Maxim,
I did enable debug logs before i posted the question.
With json payload, my code is executed right after doing malloc and
"http request body content length filter".
Without a json payload, it doesn't execute my request
validation.That's why i thought it might be due to content length
Hello!
On Fri, Jan 12, 2024 at 11:03:45PM +, Jakub Zelenka wrote:
> On Fri, Jan 12, 2024 at 10:20 PM Maxim Dounin wrote:
>
> > > # HG changeset patch
> > > # User Jakub Zelenka
> > > # Date 1705078404 0
> > > # Fri Jan 12 16:53:24 2024 +
> > > # Node ID
Hello!
On Fri, Jan 12, 2024 at 10:35:38PM +0300, izor...@gmail.com wrote:
> Вы писали 9 января 2024 г., 5:26:08:
>
> > Что до nix store, то кажется, что возвращение размера в ETag также
> > должно проблему решить.
>
> В том то и дело, что размер не всегда меняется.
Дата модификации и размер
Hi,
On Fri, Jan 12, 2024 at 10:20 PM Maxim Dounin wrote:
> > # HG changeset patch
> > # User Jakub Zelenka
> > # Date 1705078404 0
> > # Fri Jan 12 16:53:24 2024 +
> > # Node ID 1ff2f737bd318a730d0944a6037c8fd7c7da2656
> > # Parent ee40e2b1d0833b46128a357fbc84c6e23be9be07
> > Added
Hello!
On Fri, Jan 12, 2024 at 10:17:42PM +0800, Muhammad Nuzaihan wrote:
> Hi Maxim,
>
> Thank you so much for your explaination.
>
> I have another question. If i have an empty string in my payload, it
> skips the phase handler completely.
>
> Example: curl -X POST
Hello!
On Fri, Jan 12, 2024 at 05:04:22PM +, Jakub Zelenka wrote:
> Hi,
>
> I'm a PHP-FPM maintainer and some FPM users have issues with missing host
> header when using HTTP/3: https://github.com/php/php-src/issues/13021 .
> This is not an nginx issue as correctly noted in
>
Добрый вечер, Максим.
Вы писали 9 января 2024 г., 5:26:08:
> Что до nix store, то кажется, что возвращение размера в ETag также
> должно проблему решить.
В том то и дело, что размер не всегда меняется.
> Полный путь к файлу в ETag точно не имеет смысла. Более того, его
> там быть точно не
Hi,
I'm a PHP-FPM maintainer and some FPM users have issues with missing host
header when using HTTP/3: https://github.com/php/php-src/issues/13021 .
This is not an nginx issue as correctly noted in
https://trac.nginx.org/nginx/ticket/2281 but it would be nice to have
fastcgi_param set for
Добрый вечер, Илья.
При условии в 2 пакета и 1 скачивание файла:
614 29.6% 29.6% 614 29.6% __sendmsg
551 26.6% 56.2% 551 26.6% _aesni_ctr32_ghash_6x
298 14.4% 70.6% 298 14.4% __libc_pread64
198 9.6% 80.2% 198 9.6% __memmove_avx_unaligned_erms
пт, 12 янв. 2024 г. в 15:16, :
> Добрый день, Илья.
>
>
> Этот метод будет работать при много-поточной загрузке, когда запрашивается
>
> сразу несколько разных файлов?
>
>
>
> Запустил тест в 2 потока, (запущен только 1 воркер) в итоге
>
> количество вызовов sendmmsg() увеличилось до 27 (без
Hi Maxim,
Thank you so much for your explaination.
I have another question. If i have an empty string in my payload, it
skips the phase handler completely.
Example: curl -X POST http://localhost/proxy/profile/alice/comment -d
'' -H 'Content-Type: application/json'
the flag "-d ''"
I do doing
Добрый день, Илья.
Этот метод будет работать при много-поточной загрузке, когда запрашивается
сразу несколько разных файлов?
Запустил тест в 2 потока, (запущен только 1 воркер) в итоге
количество вызовов sendmmsg() увеличилось до 27 (без дополнительного патча).
1361 33.4% 33.4% 1361
On Fri, Jan 12, 2024, 12:03 wrote:
> Добрый день, Илья.
>
>
> Первый вариант патча оказывается не рабочий, забыл применить:
>
> gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror
> -g -I src/core -I src/event -I src/event/modules -I src/event/quic -I
> src/os/unix -I
Добрый день, Илья.
Первый вариант патча оказывается не рабочий, забыл применить:
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I
src/core -I src/event -I src/event/modules -I src/event/quic -I src/os/unix -I
/nix/store/2ysp5ichpc$
-o
On Fri, Jan 12, 2024, 11:29 wrote:
> Добрый день, Илья.
>
>
>
> Применил такой патч:
>
> diff --git a/src/event/quic/ngx_event_quic_output.c
> b/src/event/quic/ngx_event_quic_output.c
>
> index 914d81921..5f3720e7c 100644
>
> --- a/src/event/quic/ngx_event_quic_output.c
>
> +++
Добрый день, Илья.
Применил такой патч:
diff --git a/src/event/quic/ngx_event_quic_output.c
b/src/event/quic/ngx_event_quic_output.c
index 914d81921..5f3720e7c 100644
--- a/src/event/quic/ngx_event_quic_output.c
+++ b/src/event/quic/ngx_event_quic_output.c
@@ -297,10 +297,7 @@
пт, 12 янв. 2024 г. в 08:13, :
> Добрый день, Илья.
>
>
> Может требуется ещё и поддержка recvmmsg()? Может поэтому
>
> не работает sendmmsg()?
>
есть подозрение, что упираетесь вот в это условие (не успевают накопиться 3
пакета)
if (bytes > len * 3) {
/* require at least ~3
Добрый день, Илья.
Может требуется ещё и поддержка recvmmsg()? Может поэтому
не работает sendmmsg()?
--
С уважением,
Izorkin mailto:izor...@gmail.com___
nginx-ru mailing list
nginx-ru@nginx.org
details: https://hg.nginx.org/njs/rev/4fba78789fe4
branches:
changeset: 2267:4fba78789fe4
user: Dmitry Volyntsev
date: Thu Jan 11 15:13:47 2024 -0800
description:
HTTP: avoiding arithmetic ops with NULL pointer in r.args getter.
Found by UndefinedBehaviorSanitizer.
diffstat:
details: https://hg.nginx.org/njs/rev/2b221f44efa6
branches:
changeset: 2266:2b221f44efa6
user: Dmitry Volyntsev
date: Thu Jan 11 15:13:43 2024 -0800
description:
QueryString: avoiding arithmetic ops with NULL in parse().
Found by UndefinedBehaviorSanitizer.
diffstat:
Hello!
On Fri, Jan 12, 2024 at 03:26:39AM +0800, Muhammad Nuzaihan wrote:
> Hi Maxim,
>
> After searching the archives, I found the solution which you had
> answered before:
> https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463/4
>
> The code that reads the body
Добрый вечер, Илья.
Судя по логам все попытки успешны.
Там все сообщения идентичны:
[debug] 33853#33853: *1 sendmmsg: 2 of 2 msg of size 69087
...
[debug] 33853#33853: *1 sendmmsg: 2 of 2 msg of size 70287
...
[debug] 33853#33853: *1 sendmmsg: 2 of 2 msg of size 84687
...
Почти все сообщения
Hello everyone!
I am proposing to add the mjs file extension to the mime-types, because the
lack of it causes some problems with apps (in this case Nextcloud) . I have
reviewed the old discussion about the change from application/javascript to
text/javascript and I understand the position of
чт, 11 янв. 2024 г. в 20:25, :
> Добрый вечер, Илья.
>
>
> В логах не обнаружил сообщений sendmsg() и sendmmsg().
>
т.е. все попытки успешны ?
а вот эта часть есть в логах ?
+ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
+ "sendmmsg: %z of %ui msg of size %uz", n,
Hi Maxim,
After searching the archives, I found the solution which you had
answered before:
https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463/4
The code that reads the body is:
rc = ngx_http_read_client_request_body(r,
Добрый вечер, Илья.
В логах не обнаружил сообщений sendmsg() и sendmmsg().
Вы писали 11 января 2024 г., 22:11:56:
> я имею в виду вот этот код
> + if (n == -1) {
> + err = ngx_errno;
> +
> + switch (err) {
> + case NGX_EAGAIN:
> +
чт, 11 янв. 2024 г. в 20:00, :
> Добрый вечер, Илья.
>
>
> Да, только 9 раз. Сейчас в тестах вообще только 3 раза был вызов. И в
> debug режиме
>
> чаще используется __libc_write вызов.
>
>
>
> 6965 69.8% 69.8%6965 69.8% __libc_write
>
> 654 6.6% 76.3% 654 6.6% __sendmsg
>
hi, i'm using nginx as a proxy to api gateway / lambda services. each
day, i get 500mb of gzipped access logs from 6 proxy servers. i want to
load these nginx access logs into a data lake that takes parquet format as
input. my question is fairly general, is there something that easily
converts
Добрый вечер, Илья.
Да, только 9 раз. Сейчас в тестах вообще только 3 раза был вызов. И в debug
режиме
чаще используется __libc_write вызов.
6965 69.8% 69.8% 6965 69.8% __libc_write
654 6.6% 76.3% 654 6.6% __sendmsg
357 3.6% 79.9% 357 3.6%
из интересного, в openssl master есть вот такое
https://github.com/openssl/openssl/blob/master/doc/designs/quic-design/dgram-api.md
пн, 8 янв. 2024 г. в 14:18, :
> Добрый день, Роман.
>
> В среднем чуть-чуть лучше результат, скорость иногда выше на
> 5-10 МБайт/сек. Иногда на одном уровне
Hi,
On Fri, Dec 15, 2023 at 07:37:49PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov
> # Date 1702651328 -14400
> # Fri Dec 15 18:42:08 2023 +0400
> # Node ID 219662ea1613ab68d4d5d4085394bba75993ae42
> # Parent 9be627b7a3a35c00be13332f553e2d3b778877ae
>
Hi,
On Fri, Dec 15, 2023 at 07:37:48PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov
> # Date 1702650593 -14400
> # Fri Dec 15 18:29:53 2023 +0400
> # Node ID 9be627b7a3a35c00be13332f553e2d3b778877ae
> # Parent cca722e447f8beaaa6b41a620c8b4239a5d1aa7d
>
Hi Maxim,
Sorry for asking too many questions.
I did looked at he mirror module and i couldn't find the code which
reads the body (from what i understand i need a ngx_chain_t type of
value to build the request body from buffer)
details: https://hg.nginx.org/njs/rev/a5f279148c9f
branches:
changeset: 2265:a5f279148c9f
user: Vadim Zhestikov
date: Wed Jan 10 16:26:35 2024 -0800
description:
Removed unused field from njs_vmcode_t.
diffstat:
src/njs_disassembler.c |8 +-
src/njs_generator.c| 161
Hi folks,
I am happy to announce the new formal release, 1.25.3.1, of our
OpenResty web platform based on NGINX and LuaJIT. It is the first
OpenResty version based on Nginx core 1.25.3.
The full announcement, download links, and change logs can be found below:
details: https://hg.nginx.org/njs/rev/476f7b3e617d
branches:
changeset: 2264:476f7b3e617d
user: Dmitry Volyntsev
date: Tue Jan 09 17:56:19 2024 -0800
description:
Fixed potential buffer overread in String.prototype.match().
diffstat:
src/njs_string.c | 2 +-
1 files changed, 1
Hello!
On Tue, Jan 09, 2024 at 04:18:06PM +, Ben Kallus wrote:
> > This demonstrates that your patch
> > is clearly insufficient. Further, Vladimir's patch is clearly
> > insufficient too, as shown for the another patch in the same
> > patch series.
>
> "Insufficient" only when compared to
Здравствуйте, Maxim.
Понятно, в прошлый раз не полностью разобрался, извините.
Тут возникла идея добавить заголовок Alt-Svc, как это делается
для протокола HTTP/3, но на практике не сработало:
add_header Alt-Svc 'http/1.1=":443"';
Вариант с поднятием размера output_buffers тоже не сработал.
On 1/3/24 4:55 PM, Ben Kallus wrote:
When I run my nginx+njs application with UBSan enabled, I encounter a
few instances of undefined behavior in njs:
1. A memcpy from NULL
2. A couple of offsets applied to NULL
3. A u32 assigned to nan
4. A u32 assigned to inf
This patch adds checks to
details: https://hg.nginx.org/njs/rev/50c587f74a09
branches:
changeset: 2263:50c587f74a09
user: Dmitry Volyntsev
date: Tue Jan 09 09:14:42 2024 -0800
description:
Avoiding arithmetic ops with NULL in %TypedArray%.prototype.sort().
Found by UndefinedBehaviorSanitizer.
diffstat:
details: https://hg.nginx.org/njs/rev/f4cb0dc3e8ea
branches:
changeset: 2262:f4cb0dc3e8ea
user: Dmitry Volyntsev
date: Mon Jan 08 22:21:14 2024 -0800
description:
Avoiding casting Infinity to integer in String.fromCodePoint().
Found by UndefinedBehaviorSanitizer.
diffstat:
details: https://hg.nginx.org/njs/rev/5d2a3da0674f
branches:
changeset: 2261:5d2a3da0674f
user: Dmitry Volyntsev
date: Mon Jan 08 22:20:19 2024 -0800
description:
Avoiding arithmetic operations with NULL pointer in TextDecoder().
Found by UndefinedBehaviorSanitizer.
diffstat:
details: https://hg.nginx.org/njs/rev/c15a6129ade7
branches:
changeset: 2260:c15a6129ade7
user: Dmitry Volyntsev
date: Mon Jan 08 22:20:10 2024 -0800
description:
Avoiding casting NaN value to int64_t in njs.dump().
Found by UndefinedBehaviorSanitizer.
diffstat:
src/njs_json.c |
details: https://hg.nginx.org/njs/rev/e2c6451435a0
branches:
changeset: 2259:e2c6451435a0
user: Dmitry Volyntsev
date: Mon Jan 08 22:19:59 2024 -0800
description:
Avoiding pointer wraparound for padded integer specifier.
Previously, when integer was larger than the padded width in
> This demonstrates that your patch
> is clearly insufficient. Further, Vladimir's patch is clearly
> insufficient too, as shown for the another patch in the same
> patch series.
"Insufficient" only when compared to a hypothetical perfectly exhaustive
patch that requires "huge work," as you put
Hi,
On Fri, Dec 15, 2023 at 07:37:47PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov
> # Date 1702650289 -14400
> # Fri Dec 15 18:24:49 2023 +0400
> # Node ID cca722e447f8beaaa6b41a620c8b4239a5d1aa7d
> # Parent 4d90cb223fdb9e3e6c148726e36cec7835b2f0f8
>
Hello,
On Tue, 9 Jan 2024 08:59:14 +0300
Maxim Dounin wrote:
> Hello!
>
> On Mon, Jan 08, 2024 at 01:31:11PM +, J Carter wrote:
>
> > On Mon, 8 Jan 2024 11:25:55 +
> > J Carter wrote:
> >
> > > Hello,
> > >
> > > On Mon, 27 Nov 2023 05:50:27 +0300
> > > Maxim Dounin wrote:
> > >
Hi,
On Fri, Dec 15, 2023 at 07:37:46PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov
> # Date 1702648226 -14400
> # Fri Dec 15 17:50:26 2023 +0400
> # Node ID 4d90cb223fdb9e3e6c148726e36cec7835b2f0f8
> # Parent de11f5373157db6c1e22dbad2ab4014143a5e8f8
>
Hi,
On Fri, Dec 15, 2023 at 07:37:45PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov
> # Date 1702647536 -14400
> # Fri Dec 15 17:38:56 2023 +0400
> # Node ID de11f5373157db6c1e22dbad2ab4014143a5e8f8
> # Parent cb377d36446e1ce22b71848a4a138564b2e38719
>
On Mon, Jan 08, 2024 at 02:22:14PM -0500, James Read wrote:
Hi there,
> how would I redirect https://example.com/oldname.php to
> http://example.com/newname.php
Within the https server{} block:
location = /oldname.php { return 301 http://example.com/newname.php; }
should do it.
(Other
On Mon, Jan 08, 2024 at 11:48:13AM -0500, James Read wrote:
Hi there,
> OK this is a browser issue and not a nginx issue. I just accessed the site
> with lynx and it is showing the right site. However with Chrome it is
> showing the wrong site. This may have something to do with the fact that I
details: https://hg.nginx.org/njs/rev/0490f1ae4cf5
branches:
changeset: 2258:0490f1ae4cf5
user: Dmitry Volyntsev
date: Sun Jul 30 10:21:51 2023 +0100
description:
Ignoring UndefinedBehaviorSanitizer warnings where appropriate.
Prodded by David Carlier and Ben Kallus.
diffstat:
Hello!
On Mon, Jan 08, 2024 at 01:31:11PM +, J Carter wrote:
> On Mon, 8 Jan 2024 11:25:55 +
> J Carter wrote:
>
> > Hello,
> >
> > On Mon, 27 Nov 2023 05:50:27 +0300
> > Maxim Dounin wrote:
> >
> > > # HG changeset patch
> > > # User Maxim Dounin
> > > # Date 1701050170 -10800
> >
Hello!
On Tue, Dec 26, 2023 at 12:29:54AM +0400, Sergey Kandaurov wrote:
> > On 23 Dec 2023, at 01:46, Maxim Dounin wrote:
> >
> > Hello!
> >
> > On Fri, Dec 22, 2023 at 06:28:34PM +0400, Sergey Kandaurov wrote:
> >
> >> # HG changeset patch
> >> # User Sergey Kandaurov
> >> # Date
Hello!
On Sun, Jan 07, 2024 at 09:57:45AM +0300, izor...@gmail.com wrote:
> Обнаружилась ещё одна ошибка с текущим вариантом патча:
> https://github.com/NixOS/nixpkgs/pull/278380
>
> Некорректно кэшируются файлы, которые предварительно сжаты в формат
> gzip и/или brotli форматы.
>
> Может
details: https://hg.nginx.org/njs/rev/275d785ab5bf
branches:
changeset: 2257:275d785ab5bf
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:42 2024 -0800
description:
Fixed RegExp.prototype.exec() when second argument is absent.
Previously, when the second argument is undefined, NaN is
details: https://hg.nginx.org/njs/rev/ee4d396aa418
branches:
changeset: 2255:ee4d396aa418
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:42 2024 -0800
description:
Fixed initialization of external prototypes with object entry.
When external was NULL (for example, when
details: https://hg.nginx.org/njs/rev/41d0de3ad198
branches:
changeset: 2256:41d0de3ad198
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:42 2024 -0800
description:
Improved array enumeration with length 0.
The fix eliminates an arithmetic operation with NULL pointer.
Found by
details: https://hg.nginx.org/njs/rev/c43745da92cd
branches:
changeset: 2254:c43745da92cd
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:42 2024 -0800
description:
QueryString: fixed underflow in parse().
Previously, njs_query_string_append() might be provided with invalid
val_size
details: https://hg.nginx.org/njs/rev/9fadb2e9c6ea
branches:
changeset: 2253:9fadb2e9c6ea
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:42 2024 -0800
description:
Fixed external values initialization in unit tests.
Since 0.8.0 modules can create their own constructors and
details: https://hg.nginx.org/njs/rev/721475693b80
branches:
changeset: 2252:721475693b80
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:42 2024 -0800
description:
Unifying hash function prototypes.
This fixes UndefinedBehaviorSanitizer warning "call to function through
pointer to
details: https://hg.nginx.org/njs/rev/57071ecadeb5
branches:
changeset: 2251:57071ecadeb5
user: Dmitry Volyntsev
date: Mon Jan 08 16:40:27 2024 -0800
description:
Fixed Date constructor for overflows and with NaN values.
Found by UndefinedBehaviorSanitizer.
diffstat:
This is for an API, so no browsers are or will be involved.
So, I should print binary information from my LUA script?
A second question, can I offload receiving a very large zip file to
NGINX? I just need to know in my LUA script when it has fully arrived
and the name assigned to it.
Many thanks
Hello!
On Sun, Jan 07, 2024 at 10:39:00AM +0300, izor...@gmail.com wrote:
> Доброе утро.
>
> При использовании kTLS и sendfile наблюдается просадка производительности
> при отдаче статических файлов, например при видео-стриминге. Одним из
> вариантов решения является перенести статический файлы
Hello!
On Sun, Jan 07, 2024 at 09:41:33PM -0500, Saint Michael wrote:
> I am using openresty and nginx.
> I send a file to the server, which is a POST operation. Then the
> server processes the file and needs to send back a different file. I
> try to send a file with
Hi,
how would I redirect https://example.com/oldname.php to
http://example.com/newname.php
Thanks
___
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
On Mon, 8 Jan 2024, 11:34 James Read, wrote:
>
>
> On Mon, 8 Jan 2024, 10:04 Francis Daly, wrote:
>
>> On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote:
>> > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote:
>> > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote:
>>
>> Hi
On Mon, 8 Jan 2024, 10:04 Francis Daly, wrote:
> On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote:
> > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote:
> > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote:
>
> Hi there,
>
> > > So I'm going to guess that your "server_name"
On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote:
> On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote:
> > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote:
Hi there,
> > So I'm going to guess that your "server_name" line is of the
> > form "www.example.com"; and your browser is
On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote:
> On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote:
>
> Hi there,
>
> > I literally copied a working configuration. The only changes I made were
> > the name of the server and the root to find the files to be served.
>
> If you're not
On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote:
Hi there,
> I literally copied a working configuration. The only changes I made were
> the name of the server and the root to find the files to be served.
If you're not going to show a configuration, then anyone who might be
able to
I literally copied a working configuration. The only changes I made were
the name of the server and the root to find the files to be served.
On Mon, 8 Jan 2024, 08:20 Francis Daly, wrote:
> On Mon, Jan 08, 2024 at 08:11:21AM -0500, James Read wrote:
>
> Hi there,
>
> > My nginx server is
Hi,
On Fri, Dec 15, 2023 at 07:37:44PM +0400, Sergey Kandaurov wrote:
> # HG changeset patch
> # User Sergey Kandaurov
> # Date 1702646778 -14400
> # Fri Dec 15 17:26:18 2023 +0400
> # Node ID cb377d36446e1ce22b71848a4a138564b2e38719
> # Parent 763803589a36e3c67cbe39dd324b4e91fe57ecb7
>
On Mon, 8 Jan 2024 11:25:55 +
J Carter wrote:
> Hello,
>
> On Mon, 27 Nov 2023 05:50:27 +0300
> Maxim Dounin wrote:
>
> > # HG changeset patch
> > # User Maxim Dounin
> > # Date 1701050170 -10800
> > # Mon Nov 27 04:56:10 2023 +0300
> > # Node ID
Добрый день, Роман.
Забыл добавить текущий анализ профиля без использования патча:
670 32.1% 32.1% 670 32.1% __sendmsg
538 25.8% 58.0% 538 25.8% _aesni_ctr32_ghash_6x
269 12.9% 70.9% 269 12.9% __libc_pread64
176 8.4% 79.3% 176 8.4%
On Mon, Jan 08, 2024 at 08:11:21AM -0500, James Read wrote:
Hi there,
> My nginx server is serving the wrong site. I found this explanation online
> https://www.computerworld.com/article/2987967/why-your-nginx-server-is-responding-with-content-from-the-wrong-site.html
> However this explanation
Добрый день, Роман.
В среднем чуть-чуть лучше результат, скорость иногда выше на
5-10 МБайт/сек. Иногда на одном уровне держится.
По профилю видно, что sendmmsg()практически не используется:
626 31.3% 31.3% 626 31.3% __sendmsg
546 27.3% 58.7% 546 27.3%
My nginx server is serving the wrong site. I found this explanation online
https://www.computerworld.com/article/2987967/why-your-nginx-server-is-responding-with-content-from-the-wrong-site.html
However this explanation doesn't seem to fit my case as I have a location
which nginx should match
Добрый день,
On Thu, Jan 04, 2024 at 07:04:31PM +0300, izor...@gmail.com wrote:
> Добрый вечер, Илья.
>
> Замерил тесты на физическом сервере, пока без без поддержки kTLS.
> Оказывается в тестах на виртуальной машине я неправильно интерпретировал
> интерпретировал скорости,
> которые выводила
Hello,
On Mon, 27 Nov 2023 05:50:27 +0300
Maxim Dounin wrote:
> # HG changeset patch
> # User Maxim Dounin
> # Date 1701050170 -10800
> # Mon Nov 27 04:56:10 2023 +0300
> # Node ID 00c3e7333145ddb5ea0eeaaa66b3d9c26973c9c2
> # Parent 61d08e4cf97cc073200ec32fc6ada9a2d48ffe51
> AIO
On Mon, Jan 08, 2024 at 02:46:32PM +0400, Roman Arutyunyan wrote:
> Добрый день,
>
> On Tue, Jan 02, 2024 at 11:50:08PM +0300, izor...@gmail.com wrote:
> > Здравствуйте.
> >
> > Сравнил скорость загрузки большого файла на тестовой виртуальной машине
> > разными протоколами:
> > - HTTP/1.1 -
Добрый день, Роман.
Да, я уже разобрался, что kTLS не поддерживает HTTP/3 протокол. Первые тесты
я неправильно замерял, в итоге и сложилось неправильное предположение.
Думал, что как-то можно добиться более высокой скорости.
Вы писали 8 января 2024 г., 13:46:32:
> kTLS не работает для HTTP/3.
Добрый день,
On Tue, Jan 02, 2024 at 11:50:08PM +0300, izor...@gmail.com wrote:
> Здравствуйте.
>
> Сравнил скорость загрузки большого файла на тестовой виртуальной машине
> разными протоколами:
> - HTTP/1.1 - ~102 МБит/сек
> - HTTP/2 - ~97 МБит/сек
> - HTTP/3 - ~125 МБит/сек
>
> После
I am using openresty and nginx.
I send a file to the server, which is a POST operation. Then the
server processes the file and needs to send back a different file. I
try to send a file with ng.exec("/static/file_name") and I get error
405 Not Allowed.
But if I do a 302 redirect, it works.
I
Добрый вечер, Илья.
Удалось пересобрал curl использованием gnutls, скорость увеличилась где-то на
5-10 Мбайт/сек. Уже лучше :)
Вы писали 7 января 2024 г., 15:54:05:
> Выглядит так, что curl на http/3 потребляет больше процессора и это является
> лимитирующим фактором.
> Когда я игрался с
On Sun, Jan 7, 2024, 11:02 wrote:
> Добрый день, Илья.
>
>
>
> Добрался ещё до VPS на Ubuntu 22.04.3 LTS для тестов.
>
> Прописал для Nginx официальный репозиторий и заменил текущую версию на
> nginxMainline.
>
>
>
> По тестам для протокола HTTP/1.1 скорость скачет около 340-396 МБайт/сек
> при
Добрый день, Илья.
Добрался ещё до VPS на Ubuntu 22.04.3 LTS для тестов.
Прописал для Nginx официальный репозиторий и заменил текущую версию на
nginxMainline.
По тестам для протокола HTTP/1.1 скорость скачет около 340-396 МБайт/сек при
нагрузке процессор до 100%.
Для протокола HTTP/3 скорость
Доброе утро.
При использовании kTLS и sendfile наблюдается просадка производительности
при отдаче статических файлов, например при видео-стриминге. Одним из
вариантов решения является перенести статический файлы на другой хост и
использовать там только протоколы HTTP/1.1 и/или HTTP/3. Либо
Добрый утро, Максим.
Обнаружилась ещё одна ошибка с текущим вариантом патча:
https://github.com/NixOS/nixpkgs/pull/278380
Некорректно кэшируются файлы, которые предварительно сжаты в формат
gzip и/или brotli форматы.
Может получится найти какое-то альтернативный вариант решения генерации
Etags
Hello!
On Sat, Jan 06, 2024 at 11:03:47AM -0800, Jeff Kletsky wrote:
> I believe I have properly configured nginx v1.24.0 (open source) for
> IMAP proxy on FreeBSD 14.0. I am, however, unable to establish a TLS
> connection to the upstream server.
>
> I have confirmed that I can connect to
Добрый вечер, Илья.
Думаю, да :)
Вы писали 6 января 2024 г., 23:24:47:
> складывается ощущение, что перескакивание с "а вот есть еще PeerTube",
> заставляет как-то пытаться связать
> новый вопрос с предыдущим тредом, и связь неочевидна.
> выскажу осторожное предположение, что может стоит
сб, 6 янв. 2024 г. в 20:48, :
> Добрый вечер, Максим.
>
> Теперь ясно, благодарю :)
>
> Вы писали 6 января 2024 г., 21:27:52:
>
> > Просадка производительности, которую вы наблюдаете для HTTP/2 при
> > включённом kTLS - не собственно из-за kTLS, а из-за того, что у
> > вас включён sendfile, и при
801 - 900 of 46633 matches
Mail list logo