As said in the title, i’d like to know if active mod_jk sticky sessions will get preserved if i restart apache webserver with reload or graceful (running on linux (centos5)).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, they will.
The stickiness works by looking at the node identifier in the session cookie – mod_jk looks at the node name in the cookie, and sends it to the worker that matches that name. It doesn’t actually maintain an internal table of sessions, that doesn’t scale well. It’s effectivelt stateless from that perspective, so a restart will not affect stickiness.