nginx LB for tomcat server
I have a nginx plus Load balancing server and 2 backend servers running apache tomcat. When I connect to nginx LB IP, it just keeps requesting to the backend servers repeatedly (web browser keep...
View Articleonly show nginx index page
Hello Sorry for my bad english I try to configure my first nginx server and php on ubuntu. I install nginx and i succeed to go to the default nginx index page. i copy my site folder to...
View Articlenginx write to log 200 instead of 204
I'm using the nginx-proxy. It's return 204 when "not content" as configured. I can see 204 with curl request. But this action logged as 200 in access log. Can I configure nginx to write 204 in log...
View ArticleRe: 100% CPU load with static build, --with-threads and Ubuntu 18
The problem is still actual. I've found a similar request here.
View Articletext/x-gwt-rpc message body getting corrupted/wrapped around
We're using Nginx in a reverse proxy configuration (with TIBCO AMX-BPM as a backend). In 99% of the GTW-RPC calls this works fine, but once every 100 or so requests (repeating same activity in browser...
View ArticleRe: API for managing redirects and rewrites
Hi Dale, may be you could have a try Create Temporary and Permanent Redirects with Nginx (https://docsbay.net/create-temporary-and-permanent-redirects-with-nginx).
View ArticleRe: text/x-gwt-rpc message body getting corrupted/wrapped around
Thanks for all the responses. After wireshark tracing, turns out to be a client side issue. Garbage packets/packets in wrong order are being sent by Chrome in rare occasions. Switching to HTTP/2 which...
View ArticleHow to configure nginx.conf file to connect from another server/system
I have nginx set up in one server and added RTMP module in the nginx.conf file. I am able to fetch RTMP stream in the same server. But I want to read the stream from another server. I don't how to...
View ArticleRunning nginx on Windows server 2019
Hello, We have been running nginx without any problems on Windows 2012 servers and are now in the process of upgrading the servers to Windows 2019 servers. I have done the some configuration on the new...
View ArticleRe: Running nginx on Windows server 2019
This topic can be closed or deleted. I found the issue to be some IP conflict that under the server configuration.
View ArticleNginx Handle Java and PHP at same context path
Hi there, We have a server where we have two applications running simultaneously - Jetty/Java and PHP. Both are on same port 443. Nginx listens Request and forward all requests to Java starting / ....
View ArticleMemory Leaks nginx1.16.0 Centos
Hi Team, I am using centos based opensource nginx for our work. During testing we could see huge spike in memory consumption because of memory leaks happening. Integrated valgrind .to nginx. Below are...
View ArticleFree memory from another Pool location
Hello guy, im just beginner. I'm building a moduel that inserted into NGX_HTTP_ACCESS_PHASE. I have some data that i want to save and to use for along time, then i store them in a variable in location...
View Articleproxy_cache_lock_age vs proxy_cache_lock_timeout
Hi, The proxy_cache_lock feature is nice to protect the backend server from being overloaded with requests. So we set that on and configure proxy_cache_lock_age to 20s, expecting the backend to be able...
View ArticleNginx / bokeh load balancing issue
Hi, First of all I would like to say that I am quite new to bokeh and nginx. I have created a simple bokeh that reads in data, performs simple analysis and plots the results. However, the data import...
View ArticleRe: Nginx / bokeh load balancing issue
You might think your running as asynchronous processing but it does not sound like it is: https://www.codemag.com/Article/0102091/Handling-long-Web-Requests-with-Asynchronous-Request-Processing
View ArticleRe: Nginx / bokeh load balancing issue
Thank you for your reply itpp2012. Yes, it does seem so, however, it is not clear to me what is wrong with my configuration.
View ArticleRe: Nginx / bokeh load balancing issue
Nothing much, you need to add more backend servers to handle more requests, for example php-cgi is a single thread backend, if requests are handled fast one will suffice if not you add more backends....
View ArticleRe: Nginx / bokeh load balancing issue
What I expected to see is something as follows: webapp1_1 | 2019-08-27 15:37:33,000 200 GET /bokeh_server (172.21.0.3) 2000ms webapp0_1 | 2019-08-27 15:37:33,000 200 GET /bokeh_server (172.21.0.3)...
View ArticleRe: Nginx / bokeh load balancing issue
Do you see them rotating in the nginx log ? (backend) "when multiple users are trying to access the webapp at the same time they have to wait until the bokeh server process their request. " With more...
View Article