On Thu, Sep 03, 2009 at 11:14:17AM +0200, Tomasz Pajor wrote: > I have a request: > > http://test.dev/imgheaders/<img_hash>/<img_serialize> > > What I want to achieve is, get from location <img_hash>, and check if > file exists, if it exists then serve the file. if file not exists pass > <img_serialize> to php fastcgi script and it will return theby Igor Sysoev - Nginx Mailing List - English
On Wed, Sep 02, 2009 at 05:56:04PM -0400, JG wrote: > oh @#! forget it... my fault... i set the http port to 81 and was calling port 80 all the time in firefox. thats some way to spent time, too I predict that you will see more CPU load and probably more IO load. The reasons: 1) When nginx gets request from memcached, then 3 copy operations are done: from memcached to kernel, from kernelby Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 03, 2009 at 01:36:39AM -0400, Ilan Berkner wrote: > Thanks Igor, problem solved, turns out I needed to add the Verisign > intermediate key. So before you chain was just: 0 s:/C=US/ST=Florida/L=Fort Lauderdale/O=SpellingCity.com, Inc./OU=Terms of use at www.verisign.com/rpa (c)05/CN=www.spellingcity.com i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use atby Igor Sysoev - Nginx Mailing List - English
On Wed, Sep 02, 2009 at 11:59:28PM -0400, Ilan Berkner wrote: > We recently switched from GoDaddy SSL certificate to Verisign's. > Installation on Nginx went well. > > Some users and browsers are reporting that the "certificate was signed by an > unknown authority". What browsers ? > You can try this by going to https://www.spellingcity.com. > > It doesn't seby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 04:52:51PM -0400, Paul wrote: > Had some issues with people uploading/downloading files before on 0.6 > and the buffers fixed it.. These issues should be fixed in other way. > What would you suggest I change the config to? I will try and let you > know if I still see the problem. > Thank you. - proxy_buffer_size 32m; - proxy_buffersby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 03:58:28PM -0500, AMP Admin wrote: > I'm trying to list a bunch of domains under server_name. I'm doing this > because these domains generate dynamic content based on their name. it > seems to work fine except for one thing... $_SERVER['SERVER_NAME'] just > displays the first server_name entry. > > So say we have the following: > > serby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 04:17:03PM -0400, Paul wrote: > I know, but this problem has never occured until recently.. Once the > request is done, it should remove the memory allocation, but it looks > like maybe it isn't? No. These workers run since Aug 7 and handle up to 3,800r/s: ps ax -o pid,ppid,%cpu,vsz,wchan,start,command|egrep '(nginx|PID)' PID PPID %CPU VSZ WCHANby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 08:05:07PM +0200, Juergen Gotteswinter wrote: > Hallo folks again, > > i try to configure nginx to deliver swf files etc, and wanted to cache > them within memcached. but until now i didnt have much success with that. > what i already did: > > include/excluded parts of the config (flv part, swf part & php part) and > tested them oneby Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 09:45:55PM -0400, Paul wrote: > I had nginx 0.6.32 and just upgraded to 0.7.61 and still have the same > memleak issue. > What happens is as soon as I start nginx, it starts using ram and > continues to use more and more and more over a 16 hour period is > consumes 8gb ram and all the swap and then errors out because it cant > use any more. &gby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 03:38:44PM +0000, Peter Vandenberk wrote: > pvdb writes: > > I am dealing with the same requirement (implement a custom > > 413 nginx error page) and am banging my head against the > > wall for the same reason that Mike describes in his original post. > > > > Posted at Nginx Forum: > > http://forum.nginx.org/read.php?2,26by Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.13 31 Aug 2009 *) Bugfix: in the "aio sendfile" directive. the bug had appeared in 0.8.12. *) Bugfix: nginx could not be built without the --with-file-aio option on FreeBSD; the bug had appeared in 0.8.12. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 10:59:05PM +0800, Shri @ DevLib.Org wrote: > I seem to have a strange problem, that can best be reproduced by this > > curl http://www.geobaby.com/calendar/ -- works (connection terminates and control returns back to the prompt) > wget http://www.geobaby.com/calendar/ -- does not return control > > In firefox, the page does not seem to load althby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 03:45:54PM +0200, Miros??aw Jaworski wrote: > On Mon, 2009-08-31 at 15:07 +0200, Juergen Gotteswinter wrote: > > Hello Folks, > > > > i am badly looking for a solution to get nginx pipe his logfiles ... > > something like cronolog or in my case a special perl script. are there > > anyy solutions or patches around? > > Youby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 03:53:52PM +0200, Juergen Gotteswinter wrote: > i am looking for a possibility to get nginx logging the "HTTP request > host name", unfortunly i couldnt find anything in the english docs :( log_format host '"$request" $host'; access_log /path/to/host.log host; -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 11:54:18PM +1000, Jeff Waugh wrote: > <quote who="Igor Sysoev"> > > > However, you try this: > > > > location / { > > root /srv; > > try_files /example.com/root$uri > > /example.com/root$uri/ > > /wordpress/root/$uri > >by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 03:07:52PM +0200, Juergen Gotteswinter wrote: > Hello Folks, > > i am badly looking for a solution to get nginx pipe his logfiles ... > something like cronolog or in my case a special perl script. are there > anyy solutions or patches around? No, nginx does not support pipe logging. The following contruction is almost the same in terms of CPU waby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 03:45:09PM +0400, Igor Sysoev wrote: > Changes with nginx 0.8.12 31 Aug 2009 > > *) Feature: the "sendfile" parameter in the "aio" directive on FreeBSD. > > *) Bugfix: in try_files; the bug had appeared in 0.8.11. > > *) Bugfix: in memcached; the bug had appeared in 0.8.1by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 08:14:12AM -0400, Jim Ohlstein wrote: > It looks as though you got the data that you needed overnight in my time > zone. That server does use a try_files directive: > > location /forums/ { > try_files $uri $uri/ /forums/vbseo.php; > ... > } > > Previously we used a rewrite: > > #if (!-e $request_filename) { > #rby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.12 31 Aug 2009 *) Feature: the "sendfile" parameter in the "aio" directive on FreeBSD. *) Bugfix: in try_files; the bug had appeared in 0.8.11. *) Bugfix: in memcached; the bug had appeared in 0.8.11. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 06:36:24PM +1000, Jeff Waugh wrote: > > > > set $wordpress_root /srv/wordpress/root; > > Should've mentioned: > > root /srv/example.com/root; > > > location / { > > try_files $uri $uri/ @wordroot; > > } > > > > location @wordroot { > > internal; > > root $wordpress_root;by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 06:36:24PM +1000, Jeff Waugh wrote: > <quote who="Jeff Waugh"> > > > set $wordpress_root /srv/wordpress/root; > > Should've mentioned: > > root /srv/example.com/root; > > > location / { > > try_files $uri $uri/ @wordroot; > > } > > > > location @wordroot { > > internby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 05:14:57PM +1000, Jeff Waugh wrote: > <quote who="Igor Sysoev"> > > > p ((ngx_connection_t *) ngx_cycle->connections->data)->uri > > p ((ngx_connection_t *) ngx_cycle->connections->data)->main->count > > Log output: > > 2009/08/31 17:10:39 24934#0: signal process started > 2009/08/31by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 05:14:57PM +1000, Jeff Waugh wrote: > <quote who="Igor Sysoev"> > > > p ((ngx_connection_t *) ngx_cycle->connections->data)->uri > > p ((ngx_connection_t *) ngx_cycle->connections->data)->main->count > > Log output: > > 2009/08/31 17:10:39 24934#0: signal process started > 2009/08/31by Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 09:45:55PM -0400, Paul wrote: > I had nginx 0.6.32 and just upgraded to 0.7.61 and still have the same > memleak issue. > What happens is as soon as I start nginx, it starts using ram and > continues to use more and more and more over a 16 hour period is > consumes 8gb ram and all the swap and then errors out because it cant > use any more. &gby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 31, 2009 at 01:04:07PM +1000, Jeff Waugh wrote: > <quote who="Igor Sysoev"> > > > 3) reconfigure nginx, if there are open connections, then nginx creates > > coredump on exit > > When you say 'reconfigure', do you mean 'nginx -s reload'? I'm seeing an Yes. > 'aborted' line in the error log, but have yet to see a coredump (whby Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 09:44:02PM -0500, AMP Admin wrote: > What exactly is google_perftools_profiles and is it something we can benefit > from in your opinion? The Google PerfTools is mostly developer's option. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 10:55:57PM -0400, Jim Ohlstein wrote: > Igor Sysoev wrote: > >On Sun, Aug 30, 2009 at 11:52:51AM -0400, Jim Ohlstein wrote: > > > > > >>>>2009/08/30 10:29:00 2042#0: open socket #1023 left in > >>>>connection 1015 > >>>>2009/08/30 10:29:00 2042#0: aborting > >>>> > >>&gby Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 11:52:51AM -0400, Jim Ohlstein wrote: > >>2009/08/30 10:29:00 2042#0: open socket #1023 left in connection > >>1015 > >>2009/08/30 10:29:00 2042#0: aborting > >> > >>Other servers seem to be running fine including ones with busy sites. > >>For the moment I have reverted that VPS to 0.8.10. > >>by Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 11:00:10AM -0400, Jim Ohlstein wrote: > Igor Sysoev wrote: > >On Sun, Aug 30, 2009 at 01:45:30AM +1000, Jeff Waugh wrote: > > > > > >><quote who="Igor Sysoev"> > >> > >> > >>>>2009/08/29 23:15:52 8716#0: open socket #152 left in connection > >>>>105 > >>by Igor Sysoev - Nginx Mailing List - English
On Sun, Aug 30, 2009 at 03:51:06AM +0700, Joe wrote: > Igor, > > May I also asking too? > I am trying to do "getconf PAGESIZE" and the answer is "4096". > I am also often have "502 Bad Gateway" page, and I change the settings to: > > fastcgi_connect_timeout 60; > fastcgi_send_timeout 180; > fastcgi_read_timeout 180; > fastcgby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|