Let me look at nonces once again and isolate that value in production and determine what if anything is occurring without a value there. Fairly certain that is the correlating factor to the 503's even though it seems from your description unrelated.
I'll report back with my further findings later this week. Keep the input coming :) On 10/6/09, Alvaro Lopez Ortega <[email protected]> wrote: > Hello Paul, > First of all, thanks a million for documenting the issue!! I bet your mail > will be useful for many people. > However, I'd like to clarify a something. I missed the part where you asked > about nonces mail in the previous mail, and that seems to have leaded to a > misunderstanding: > > On Tue, Oct 6, 2009 at 1:08 PM, pub crawler <[email protected]>wrote: > >> >> In Cherokee-Admin: Advanced > Nonces clean up time >> Nonces clean up time I believe was null in our installation. Unsure if >> this is a required value or not and what happens if no value is >> specified. In our experience leaving this value empty means open file >> descriptors are kept open artificially long - or perhaps infinitely, >> which creates a large number of idle but open descriptors on the >> server. Worst case is when under traffic load the number of open >> files become excessive until all descriptors are used and thus a 503 >> error is served. >> >> Nonces is another value that should be set in EVERY Cherokee >> installation. Cleanups need to happen in our experience otherwise >> eventually resource exhaustion occurs and 503s only get served. >> >> Nonces clean up time we have set intentionally low at value of 5. This >> means cleanup is done every 5 seconds. This has intended consequence >> of closing open file descriptors, which prevents them from piling up >> in unused heap. We have tested longer value of 10 seconds which works >> also just fine, just more open file descriptors being used. >> Clarification is needed on what intended task of this cleanup is and >> what meets qualification to be cleaned up each time it is ran. >> > > The "nonce"s cache has actually nothing to do with the file descriptor > usage. Nonces are little strings that are exchanged between the web browser > and the web server for authentication purposes. That cache is no more than a > handful of short strings; neither it requires much memory, nor it holds any > opened file descriptor. > > Leaving the option empty (so it uses the default value) should be alright. > > -- > Greetings, alo > http://www.alobbs.com/ > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
