Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are using an nginx backend behind a nginx proxy.

We use upstream keepalives.

They work quite nicely.

We were wondering, what value would we set keepalive_requests on the backend to set the maximum number of keepalive requests to unlimited?

Thanks!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

There is no special value to mean unlimited. Use some big number (up to 2147483647 on 32-bit platforms) instead.

share|improve this answer
    
yep, we have taken a look at the nginx source. nothing in there that would point to a value that sets keepalive_requests to unlimited. this will have to do. thanks! –  anonymous-one Sep 7 '12 at 7:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.