Re: Error... FastCGI sent in stderr:
I found a solution....location ~ \.php$ {try_files $uri =404;fastcgi_split_path_info ^(.+\.php)(.*)$;fastcgi_pass dnbheaven-php;fastcgi_index index.php;include fastcgi_params;fastcgi_param...
View ArticleHow to add/remove upstreams to ngnix configuration programmatically
Is it possible to add create/update/remove upstream dynamically through program/script ?I checked the below one but it doesn't seem to support the creation of...
View ArticleNginx slow / not all can connect
Hello everyone,I have a problem with our server.Not all people can connect and some times the site loads very slow ( no ddos attack ).Nginx status says 1 active connection but my friend cant connect...
View ArticleRe: Upstream on Windows 60 second delay
I´m having same issue with a backend with nodejs. My configuration is pretty similar and have also tested changing connection type with no luck (missing requests on my backend and a timeout of 60...
View ArticleRe: Upstream on Windows 60 second delay
Can you reach the backend directly without issues? anything in the backend logs?
View ArticleRe: Upstream on Windows 60 second delay
Hi itpp2012,The backend always returns fast and healthy. I have debugged the port numbers, and the socket has been closed from backend side.
View ArticleRe: Upstream on Windows 60 second delay
itpp2012,Let me rephrase, the first request on the backend appears and closes fast and everything ok. The second request connects to nginx, and backend doesn´t show any connections/requests. After 1...
View ArticleRe: Upstream on Windows 60 second delay
HI all,I am patching this problem with a small timeout parameter (as my nodejs server connects and responds fast, I shouldn't have any issues)proxy_connect_timeout 2s;Hopefully this will help while the...
View ArticleRe: Upstream on Windows 60 second delay
I use many tomcat backends with nginx as frontend balancing proxy and have not seen this anywhere, if possible could you create a small VM linux distro with nginx to see what happens with open ports...
View ArticleRe: Upstream on Windows 60 second delay
Thanks itpp2012,On Linux machine this problem is not happening (we have same configuration on windows and linux). Sorry if it wasn't clear before.This problem is only happening on Windows machines. I...
View ArticleRe: Upstream on Windows 60 second delay
Ah xp no problem but w7 the problem, this is most likely a ASLR issue, are you using limit_req_zone or other options that used shared memory ? shared memory don't work beyond XP, either keep nginx on...
View ArticleRe: Upstream on Windows 60 second delay
I think i'm not using any parameter that uses shared memory. I am using the standard nginx.conf (the version that comes with windows distribution) and a site.conf file. Attached both config files
View ArticleRe: Upstream on Windows 60 second delay
itpp2012,Looks like nginx version 1.2.9 didn´t have the bug (for windows 7) that is breaking my proxy_pass directive!! Here calling a lot of times the proxy_pass doesn´t break the connection.On another...
View ArticleRe: Upstream on Windows 60 second delay
Hi itpp2012I have reported what I think the bug is on trac:http://trac.nginx.org/nginx/ticket/496#ticketHope it is clear.CheersCruz
View ArticleRe: Upstream on Windows 60 second delay
If your willing you could try some of the releases here http://nginx-win.ecsds.eu/1.5.10.1 will be out soon, but 1.5.9.1 should not display the behavior your having.
View ArticleRe: Upstream on Windows 60 second delay
Thanks for your response itpp2012. I've found a way another two workarounds until your changes are merged into a release:* you can use 127.0.0.1 (instead of localhost on the proxy_pass directive)or*...
View ArticleRe: Upstream on Windows 60 second delay
itpp2012,The release you gave me (1.5.9.1 cheshire), still has the issue of 60 seconds delay, and an error of upstream on "::1" ipv6 address.(of course, the error happens on windows 2008, with...
View ArticleRe: Upstream on Windows 60 second delay
The delay sounds like a dns issue, never seen it happen though, I'll put it on the testlist.About the v6 error, I need the errorlogging and config used to reproduce the...
View ArticleRe: Upstream on Windows 60 second delay
Itpp2012The nginx conf is the standard one:<code>location /api {proxy_pass http://localhost:3000;proxy_set_header X-Real-IP $remote_addr;}</code>looks like to reproduce this you might have...
View Article