Re: source rpms missing?
Thanks Konstantin! I see this now: http://nginx.org/packages/centos/6/SRPMS/nginx-1.12.0-1.el6.ngx.src.rpm. Didn't see it yesterday, but maybe I was overlooking it. I did verify that the binary rpms for CentOS and RHEL are identical, so agreed that the CentOS srpm will meet my needs. David On Tue, Jun 6, 2017 at 5:36 AM, Konstantin Pavlov <thr...@nginx.com> wrote: > Hello, > > On 06/06/2017 04:00, David Kewley wrote: > > In http://nginx.org/packages/rhel/6/SRPMS/ I don't see > nginx-1.12.0-1.el6.ngx.src.rpm as expected. Similar for RHEL 5 and 7, and > for CentOS. This appears just to affect this release not (most of) the > previous releases. > > RHEL5 and CentOS5 are discontinued by the vendor, so don't expect SRPMS > (or binary RPMS for that matter) to appear for those distributions. > > 6 and 7 is a different matter, though, thanks - will fix. > > > Could the srpms be posted? If I should take a different route to raise > this issue, please point me in the right direction. > > You can use SRPMS from CentOS 6 until we fix the repositories: > http://nginx.org/packages/centos/6/SRPMS/ - those are exactly the same > source packages we use to provide RHEL binaries. > > Thank you, > > -- > Join us at nginx.conf, Sept. 6-8, Portland, OR > Konstantin Pavlov > www.nginx.com > ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
source rpms missing?
In http://nginx.org/packages/rhel/6/SRPMS/ I don't see nginx-1.12.0-1.el6.ngx.src.rpm as expected. Similar for RHEL 5 and 7, and for CentOS. This appears just to affect this release not (most of) the previous releases. Could the srpms be posted? If I should take a different route to raise this issue, please point me in the right direction. Thanks! David ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
Re: source rpms missing?
I just discovered that source rpms are also missing for the 1.13 mainline releases. David On Mon, Jun 5, 2017 at 6:00 PM, David Kewley <dkew...@uci.edu> wrote: > In http://nginx.org/packages/rhel/6/SRPMS/ I don't see > nginx-1.12.0-1.el6.ngx.src.rpm as expected. Similar for RHEL 5 and 7, and > for CentOS. This appears just to affect this release not (most of) the > previous releases. > > Could the srpms be posted? If I should take a different route to raise > this issue, please point me in the right direction. > > Thanks! > David > > ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
no access_log logging for UDP streams
I'm using nginx 1.12.1 to proxy TCP and UDP streams. I have in my stream {} stanza: log_format test '$time_local'; access_log /var/log/nginx/stream-access.log test buffer=64k flush=1s; error_log /var/log/nginx/stream-info.loginfo; Both TCP and UDP streams log to /var/log/nginx/stream-info.log. Only TCP streams are logged in /var/log/nginx/stream-access.log; UDP streams are not. FWIW, client application behavior and tcpdump both show that the upstream UDP server is sending a response that makes it through nginx proxy to the client just fine. Is this lack of UDP stream access_log logging expected, or should I open a new bug? If you need to see more details to show exactly what I'm doing, let me know which details would be helpful. Thanks! David ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
Re: no access_log logging for UDP streams
On Wed, Feb 14, 2018 at 5:59 AM, Roman Arutyunyan <a...@nginx.com> wrote: > Hi David, > > On Tue, Feb 13, 2018 at 01:01:03PM -0800, David Kewley wrote: > > I'm using nginx 1.12.1 to proxy TCP and UDP streams. I have in my stream > {} > > stanza: > > > > log_format test '$time_local'; > > > > access_log /var/log/nginx/stream-access.log test buffer=64k > flush=1s; > > error_log /var/log/nginx/stream-info.loginfo; > > > > > > Both TCP and UDP streams log to /var/log/nginx/stream-info.log. Only TCP > > streams are logged in /var/log/nginx/stream-access.log; UDP streams are > not. > > > > FWIW, client application behavior and tcpdump both show that the upstream > > UDP server is sending a response that makes it through nginx proxy to the > > client just fine. > > > > Is this lack of UDP stream access_log logging expected, or should I open > a > > new bug? > > > > If you need to see more details to show exactly what I'm doing, let me > know > > which details would be helpful. > > Probably your UDP session is not considered finished by nginx. > Did you specify proxy_responses and proxy_timeout in your config? > If proxy_responses is unspecified and proxy_timeout is large, it may take a > long time for a UDP session to expire and be logged. Thank you, Roman! You pointed me in the right direction. Now that I do more careful tests, I see the action of the default setting of "proxy_timeout 10m" in the two logs (access and info). Namely, info-level error_log shows client and proxy connections at the time they happen, as well as the disconnect when the 10m timeout happens. Meanwhile the access_log logs the connection at the time of disconnection (after the 10m timeout). I'm thinking that in many circumstances, I may not know how many response packets to expect from the upstream, so proxy_responses may not be optimal. But setting proxy_timeout shorter may in many cases help me by logging in access_log sooner. I've started by setting proxy_timeout 1s in a situation where each application message stream is expected to be quick and very short-lived. Now I see entries in access_log quickly. David ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx