Show all posts by user
Introduce yourselves
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Results 1261 - 1290 of 1298
Look at your php.ini file and use for example this:
open_basedir = /webroot/ww.name.nl
doc_root = /webroot/ww.name.nl
by
itpp2012
-
How to...
You solve this with an internal DNS system, which is very simple to do, talk to your network administrators.
by
itpp2012
-
Other discussion
Trow this "org.apache.commons.fileupload SizeLimitExceededException" into google, plenty of solutions.
by
itpp2012
-
Other discussion
Sunny Thakur Wrote:
-------------------------------------------------------
> at java.lang.Thread.run(Thread.java:722)
> Caused by:
> org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededExceptio
> n: the request was rejected because its size (4358445) exceeds the
> configured maximum (2000000)
This looks like a tomcat error and not a nginx issue.
by
itpp2012
-
Other discussion
It also depends on what the Host has as a nic and how its settings are set, ea. QoS and LLTP are useless protocols but take resources away, force VM's to use 1gb FD, another thing is to stick to VBox 3.2, force the GA to use timesync only. Ea. use IPerf to push settings and boundaries.
by
itpp2012
-
Nginx Mailing List - English
Daniel L. Miller Wrote:
-------------------------------------------------------
> Is there a reason to use the 'MT' vs the 'T' if I only need one
> interface?
Other then better performance and a wider range of support by default, no.
You're not going to see 2 nics anyway, the MT has a few more tuning options then the T, I've done some extensive testing with all of them and their sever
by
itpp2012
-
Nginx Mailing List - English
Stick to 'Intel PRO/1000 MT Server (82545EM)' for every guest that can use it, even debian/nginx (6.0.6) blasts with it, I was using virtio for some time which does do what it suppose to do, lower cpu use and less virtualization overhead, but the performance s*cks.
by
itpp2012
-
Nginx Mailing List - English
Done! maybe something to think about, allow a feature request to be sponsored, for example SiT has this, if many sponsor a request it gets done faster or if few sponsor a request, it requires higher sponsor fees to get it done.
by
itpp2012
-
Nginx Mailing List - English
Look for srvany, http://support.microsoft.com/kb/137890
Then create a batchfile (.cmd) which loads php-cgi.exe with its parameters or make the service run php-cgi directly.
by
itpp2012
-
Nginx Mailing List - English
I've had the same sort of issue yesterday with 1.2.2, all of a sudden 404's but with a additional 'No input file specified' coming from the php backend(and 1 sec later from nginx cache 'HIT'), one minute later and everything was normal again. No floods, normal traffic, no additional log entries... Only backend effected, normal static sites worked ok.
Restarts did not help either which is the we
by
itpp2012
-
Nginx Mailing List - English
Virtual machines and nginx do work but you need to carefully look at the network card you're using, the intel ones are the best.
by
itpp2012
-
Nginx Mailing List - English
Safe_mode must be off & see http://forum.nginx.org/read.php?2,964,970
by
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...
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.
Each
by
itpp2012
-
How to...
-- 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
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 it
by
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 = 128M
by
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 the
by
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 c
by
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 tim
by
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