Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx-clojure is not receiving cookies/header if many workers are spawned #239

Open
kaushikjeet opened this issue Sep 21, 2020 · 1 comment

Comments

@kaushikjeet
Copy link

kaushikjeet commented Sep 21, 2020

nginx-clojure is not receiving cookies/header if many workers are spawned.
We have a scenario when we set workers more than 20, some of the request are missing auth cookies.

This is load test setup where many users are generating load to the live system.

Platform: Linux pbsaccesslnc 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

nginx version: nginx/1.14.2built by gcc 4.1.2 20080704 (Red Hat 4.1.2-54)built with OpenSSL 1.1.0e 16 Feb 2017TLS SNI support enabledconfigure arguments: --prefix= --sbin-path=nginx --conf-path=conf/nginx.conf --error-log-path=logs/error.log --http-log-path=logs/access.log --pid-path=logs/nginx.pid --lock-path=logs/nginx.lock --http-client-body-temp-path=temp/client_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --http-scgi-temp-path=temp/scgi_temp --with-http_ssl_module --with-http_v2_module --with-pcre-jit --with-debug --with-http_image_filter_module=dynamic --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-pcre=../pcre-8.40 --with-zlib=../zlib-1.2.11 --with-openssl=../openssl-1.1.0e --with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=../nginx-clojure/src/c

@xfeep
Copy link
Member

xfeep commented Sep 22, 2020

@kaushikjeet
Could you please give more details?
I have done a simple load test and it got no error. The test used

  • 25 worker processes
  • 50 client threads, 100 requests per thread
  • 1060 bytes cookie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants