Re: Where does the content get stored?

2019-03-21 Thread waleedkh
Ok thanks that is interesting. The way I configured Nginx on the front end is as such: [code] upstream ruby_application { ip_hash; server 10.0.0.21:9000 max_fails=1 fail_timeout=10s; server 10.0.0.22:9000 max_fails=1 fail_timeout=10s; [/code] and then [code] include fastcgi_params;

Re: nginx servers share session or cookies

2019-03-21 Thread Hung Nguyen
Just for your information, Cookie is stored on client side, there’s no need to share btw. > On Mar 22, 2019, at 1:47 PM, David Ni wrote: > > Hi Experts, > Who can help with this?Thanks very much. > > > > > > At 2019-03-15 16:36:22, "David Ni" wrote: > Hi Nginx Experts, > I have on

Re:nginx servers share session or cookies

2019-03-21 Thread David Ni
Hi Experts, Who can help with this?Thanks very much. At 2019-03-15 16:36:22, "David Ni" wrote: Hi Nginx Experts, I have one requirement right now,we are using nginx with ldap auth(I compiled nginx with auth_ldap module),and I created many servers like datanode02.bddev.test.net d

Re: nginx directives geo and map behind proxy

2019-03-21 Thread Francis Daly
On Mon, Mar 18, 2019 at 09:49:05AM -0400, gogan wrote: Hi there, > With myracloud CF-Connecting-IP and remote_addr are set to client ip and > real remote is myracloud ip. botlimit is set to remote_addr in general and > to x.x.x.x if hits in geo given ip address. So far as I expected and now it >

Re: Possible memory leak?

2019-03-21 Thread wkbrad
Hey Maxim, Thanks again! I was a little confused at first because your tests in freebsd were so much different than mine but then I found what you did wrong. You were testing the 2nd reload but the issue can only be seen on the first reload. Here is my test to show what I mean.

Re: Possible memory leak?

2019-03-21 Thread Maxim Dounin
Hello! On Thu, Mar 21, 2019 at 11:29:04AM -0400, wkbrad wrote: > Thanks again Maxim! You're really providing some valuable insights for me. > > > This is because mmap()-based individual allocations imply additional > > overhead. Using mmapAnd this is are costly. > > That's what I figured might

Re: Possible memory leak?

2019-03-21 Thread wkbrad
Thanks again Maxim! You're really providing some valuable insights for me. > This is because mmap()-based individual allocations imply additional > overhead. Using mmapAnd this is are costly. That's what I figured might be going on. I assume there are also some negative impacts on performance w

Re: Possible memory leak?

2019-03-21 Thread Maxim Dounin
Hello! On Thu, Mar 21, 2019 at 04:45:26PM +0300, Maxim Dounin wrote: > On Wed, Mar 20, 2019 at 06:41:01PM -0400, wkbrad wrote: > > [...] > > > The first test I ran was in FreeBSD just because I was curious. Lol. But I > > actually saw the exact same problem on it. I can send you some tests i

Re: Possible memory leak?

2019-03-21 Thread Maxim Dounin
Hello! On Wed, Mar 20, 2019 at 06:41:01PM -0400, wkbrad wrote: [...] > The first test I ran was in FreeBSD just because I was curious. Lol. But I > actually saw the exact same problem on it. I can send you some tests if you > like but they look the same as the others do. On FreeBSD you'll se