Safe_mode must be off & see http://forum.nginx.org/read.php?2,964,970by itpp2012 - How to...
Sure but thats not the magic thing you need when it comes to multiple workers and to overcome the win32 limits, apart from path settings everything can be used from other OS samples, the download win32 zipfile contains a good enough example. Or look at these; http://eksith.wordpress.com/2008/12/08/nginx-php-on-windows/ http://kbeezie.com/view/nginx-configuration-examples/by itpp2012 - How to...
No idea, a developer should answer that one.by itpp2012 - Nginx Mailing List - English
Set worker_processes to 1. How are you having phpcgi loading ? (config) Check if your w8k server is blocking ports above 1024, you might need to enable this first. You can't have nginx using 8 cores as such, you need to create 8 nginx instances with 8 users (to overcome the win32 limits imposed on the build) and use a loadbalancer in front of them, they ty each instance to a cpu. Eachby itpp2012 - How to...
Maybe this one: http://mailman.nginx.org/pipermail/nginx/2007-January/000588.htmlby itpp2012 - Nginx Mailing List - English
-- proxy_pass https://docproxy; Points to 443, Yet the upstream wants 7443... -- upstream docproxy { -- server 127.0.0.1:7443; -- }by itpp2012 - Nginx Mailing List - English
Get the source, add the code handling and compile.by itpp2012 - Nginx Mailing List - English
Show us the relative config parts, we're just guessing without it.by itpp2012 - Nginx Mailing List - English
First use worker_processes 1, under windows only 1 works, you can get more by making a pool and load-balancing that pool. sendfile off; Use slashes in paths not backslashes. See my other posts about how to handle backends like php-cgi and also using a pool. http://forum.nginx.org/read.php?2,226613 http://forum.nginx.org/read.php?11,226806 If you want simple then create a block, test itby itpp2012 - How to...
Drop apc and go for xcache, drop your nginx config file here and tell us whats not working. I haven't seen any GUI kind of setup for what you want so you might have to make it yourself. Or keep it simple and script the stuff which ain't that hard.by itpp2012 - How to...
In php.ini you can add multiple sites with the setting which can be different for each site just like you would do with nginx. ea.: open_basedir = s:/webroot/forums.site.nl doc_root = s:/webroot/forums.site.nl upload_max_filesize = 32M open_basedir = s:/webroot/sdsc.site.nl doc_root = s:/webroot/sdsc.site.nl upload_max_filesize = 128Mby itpp2012 - How to...
In php.ini: ignore_user_abort = On In nginx.conf inside the php location block: fastcgi_ignore_client_abort on;by itpp2012 - Php-fpm Mailing List - English
The fastcgi settings must be inside the location block.by itpp2012 - How to...
I never said it was going to be easy, just that porting for win32 requires some win32 work as there are substantial differences between linux and win32 (duh). They managed to get php win32 thread-safe after all. Setup nginx as a front-end, make a pool with nginx back-ends (just like you would do for fpm with sockets or tcp) and from there on the back-end nginx servers are load-balanced from theby itpp2012 - Nginx Mailing List - English
I think we might benefit more from solving the select problem, with 8 separate workers as mentioned before you're still stuck to 1024*8 which isn't that much more, found an interesting discussion about select, why it's used and why it should not be used on windows systems: http://groups.google.com/group/alt.winsock.programming/browse_thread/thread/a041475f7312f9c5 If select was rewritten you cby itpp2012 - Nginx Mailing List - English
A fpm pool of 4 for 1 worker is more then enough to have the same performance with win32 compared to linux, of-course linux supports more workers but you can get that on win32 too by loadbalancing multiple nginx installations using nginx itself in fpm frontend mode to multiple nginx backend nodes as, affinity managed, fpm pool. Why php aborts depends on whats happening, have a look at php's timby itpp2012 - Nginx Mailing List - English
Remove the PHP_FCGI_x lines and add "fastcgi_ignore_client_abort on;" For the pool add for all of them "weight=1 fail_timeout=5"by itpp2012 - Nginx Mailing List - English
You have created a upstream but ain't using it.... each line "fastcgi_pass 127.0.0.1:9000;" must be changed to "fastcgi_pass myproject;" then make sure the fpm processes are running for your pool.by itpp2012 - Nginx Mailing List - English
You need to make a pool for fastcgi, see the loadbalance example http://wiki.nginx.org/LoadBalanceExample This solution is the same for any OS suffering from upstream timeouts. With a pool of 4 you can easily handle 1000 requests/sec, and yes even with nginx win32.by itpp2012 - Nginx Mailing List - English
Does anyone know or understand what the relation (technically) is between limit_req & burst value and limit_req_zone & rate value? It seems that burst must be equal to rate, if less rate is triggered to fail (excess 1.000) and sticks to this excess value forever. ea. is there a relation to the local timer event/count? ai. when using a rate=32 without using burst, excess is fairlby itpp2012 - How to...
Could very well be a lan driver issue, rx/tx values too high or rx value higher then tx, flow control not used or used but not supported, etc..... try an older driver or if its really old a newer one. Also see if you can get a driver with debugging compiled in or support for raw mode and run something like wireshark to see whats going on.by itpp2012 - Nginx Mailing List - English
You have more then 1 nginx/php process running, kill them all and restart.by itpp2012 - Php-fpm Mailing List - English
Contact your website service provider, what your seeing can be anything including a failed maintenance page.by itpp2012 - How to...
Why not create a 1gb ramdrive to make sure it is a disk IO issue. It might be a lan driver buffer issue.by itpp2012 - Nginx Mailing List - English
You can run multiple nginx sessions by seperating the config between them, the main http section will have to use a 'uniqe' port for each session, from there on you can seperate out the hosted websites and also assign each session its own cpu. You are however limited to a 65.000 connection max for all sessions. Another, easier, way for multiple sessions is to use 1 session as proxy to many secoby itpp2012 - Nginx Mailing List - English
Fyi, VBox shared folders are not designed for active file changes, its a poor man's file sharing method, use a real Samba share if you want to do things with active file changes.by itpp2012 - Ideas and Feature Requests
Can we have a win32 build with ssl 'support' ? ea. compiled so that openssl modules can be held outside the nginx binary for easy updating, for instance since the 1.20 release there have been 2 new (security)releases of openssl which win32 users can not update for nginx as its compiled in. For example filezilla and stunnel have compiled ssl support, I would like nginx to have ssl compiled supporby itpp2012 - Ideas and Feature Requests
![]() |
![]() |
![]() |
![]() |
![]() |