Hi Robert,
Thank you for your reply. Yes, I have taken the backup parameter into
account. It is not clear to me how the backup parameter works in
combination with the hash directive and whether this achieves the desired
behavior.
~Jonathan
On Wed, Jan 11, 2017 at 4:34 PM, Robert Paprocki <
rpapr
Hi,
On Wed, Jan 11, 2017 at 1:27 PM, Jonathan Simowitz via nginx <
nginx@nginx.org> wrote:
> Hello,
>
> I would like to define an upstream block with a number of servers and
> utilize the hash directive to choose a particular server dependent on the
> request. There is a chance that the chosen se
Hello,
I would like to define an upstream block with a number of servers and
utilize the hash directive to choose a particular server dependent on the
request. There is a chance that the chosen server could fail and so I would
also like to configure a backup server to handle the request in this ca
On 1/12/17 12:04 AM, Руслан Закиров wrote:
> Looks like BSD 11 has improvements in this area. At least `man` says
> that sendfile doesn't block on disk I/O and can return earlier with
> success.
That's correct observation.
https://www.nginx.com/blog/nginx-and-netflix-contribute-new-sendfile2-to-f
On Wed, Jan 11, 2017 at 10:25 PM, Руслан Закиров wrote:
>
> On amd64 sendfile() uses mbufs / mbuf clusters. Try looking into
> "vmstat -z" to see if there are enough mbuf clusters in various
> zones. Note well tha sendfile() normally blocks on disk, and it
> might simply mean that your disk sub
11 Янв 2017 г. 21:40 пользователь "Maxim Dounin"
написал:
Hello!
On Wed, Jan 11, 2017 at 08:54:31PM +0300, Руслан Закиров wrote:
> On Wed, Jan 11, 2017 at 6:44 PM, Maxim Dounin wrote:
>
> > Hello!
> >
> > On Wed, Jan 11, 2017 at 06:07:01PM +0300, Руслан Закиров wrote:
> >
> > > On Mon, Jan 9,
Hello!
On Wed, Jan 11, 2017 at 08:54:31PM +0300, Руслан Закиров wrote:
> On Wed, Jan 11, 2017 at 6:44 PM, Maxim Dounin wrote:
>
> > Hello!
> >
> > On Wed, Jan 11, 2017 at 06:07:01PM +0300, Руслан Закиров wrote:
> >
> > > On Mon, Jan 9, 2017 at 10:59 PM, Maxim Dounin
> > wrote:
> > >
> > > > Ty
On Wed, Jan 11, 2017 at 6:44 PM, Maxim Dounin wrote:
> Hello!
>
> On Wed, Jan 11, 2017 at 06:07:01PM +0300, Руслан Закиров wrote:
>
> > On Mon, Jan 9, 2017 at 10:59 PM, Maxim Dounin
> wrote:
> >
> > > Typical kern.sched.quantum is about 100ms, so several
> > > CPU-intensive tasks can delay proce
I gave up ... No fresh ideas anymore :(
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,271891,271940#msg-271940
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Wed, Jan 11, 2017 at 12:23:08PM -0500, bdesemb wrote:
> I want to add some clarification. My client calls is like "/app" and the
> server respond with a name. My file is stored at /var/local/data/. I
> want to cache the response. So if I have another request on /app, Nginx
> should resp
Hello!
On Wed, Jan 11, 2017 at 05:18:26PM +0100, Bike dernikov1 wrote:
> Hi, i have "simple" question, need simple explanation. It's driving me
> nuts.
>
> In nginx configuration what is meaning of $request_uri in line?
>
> *
> return 301
I want to add some clarification. My client calls is like "/app" and the
server respond with a name. My file is stored at /var/local/data/. I
want to cache the response. So if I have another request on /app, Nginx
should respond with the cached version of the file.
Posted at Nginx Forum:
https://
Hi, i have "simple" question, need simple explanation. It's driving me
nuts.
In nginx configuration what is meaning of $request_uri in line?
*
return 301 $scheme://example.com1$request_uri;
**
Thanks for your help but there is still something I don't understand. I have
dynamic access for resources. For me, I have 3 different locations in 2
servers and your conf only contains 2. I have my location of the client
request, the location of the X-Accel-Redirect and the location where caching
h
Hello!
On Wed, Jan 11, 2017 at 06:07:01PM +0300, Руслан Закиров wrote:
> On Mon, Jan 9, 2017 at 10:59 PM, Maxim Dounin wrote:
>
> > Typical kern.sched.quantum is about 100ms, so several
> > CPU-intensive tasks can delay processing of the events enough to
> > trigger a timeout if a context switc
On Mon, Jan 9, 2017 at 10:59 PM, Maxim Dounin wrote:
> Typical kern.sched.quantum is about 100ms, so several
> CPU-intensive tasks can delay processing of the events enough to
> trigger a timeout if a context switch happens at a bad time.
>
Here what I see in truss' output:
38.820523207 0.0
Hello!
On Wed, Jan 11, 2017 at 07:39:32AM -0500, bdesemb wrote:
> Hi Maxim,
>
> Can you post an example please? I don't understand how to do that.
Try something like this:
server {
server 8080;
location / {
# no caching configured, only proxying to an intermedi
Hello!
On Tue, Jan 10, 2017 at 03:42:24PM -0500, vegetax wrote:
> Hi need some help I am load balancing my syslog traffic from my WAF device
> to
> ngix server below and the servers in the pool are servers running rsyslog
> currently the issue is when the logs hit the nginx server it re-writes t
Hi Maxim,
Can you post an example please? I don't understand how to do that.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,241734,271925#msg-271925
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
19 matches
Mail list logo