[LON-CAPA-admin] lonbalancer

H. K. Ng hkng at fsu.edu
Thu May 31 07:15:18 EDT 2007


In the past few days, I have complaints that students were able to 
login to the lonbalancer server but got stuck on the "switch server" 
page. Checking the lonnet.log file, there are lots of entries for a 
given user showing something like this

Wed May 30 13:50:24 2007 (27873): SSO authorized user bmp06d
Wed May 30 13:50:24 2007 (27873): Flushing log buffers
Wed May 30 13:50:25 2007 (27869): SSO authorized user bmp06d
Wed May 30 13:50:25 2007 (27869): Flushing log buffers
Wed May 30 13:50:26 2007 (27868): SSO authorized user bmp06d
Wed May 30 13:50:26 2007 (27868): Flushing log buffers
Wed May 30 13:50:27 2007 (27872): SSO authorized user bmp06d
Wed May 30 13:50:27 2007 (27872): Flushing log buffers
Wed May 30 13:50:29 2007 (27873): SSO authorized user bmp06d
Wed May 30 13:50:29 2007 (27873): Flushing log buffers
Wed May 30 13:50:31 2007 (27869): SSO authorized user bmp06d
Wed May 30 13:50:31 2007 (27869): Flushing log buffers

The user activity file shows that at the same time the lonbalancer is 
trying to hand the session over to another server but that server is 
not accepting the service - as far as I can tell. (See sample entries 
below from the activity file.)

Wed May 30, 2007 13:50:24 - 1180547424:fsua0:Switch Server to fsua1 
with role  128.186.24.44
Wed May 30, 2007 13:50:25 - 1180547425:fsua0:Switch Server to fsua1 
with role  128.186.24.44
Wed May 30, 2007 13:50:26 - 1180547426:fsua0:Switch Server to fsua1 
with role  128.186.24.44
Wed May 30, 2007 13:50:27 - 1180547427:fsua0:Switch Server to fsua1 
with role  128.186.24.44
Wed May 30, 2007 13:50:31 - 1180547431:fsua0:Switch Server to fsua1 
with role  128.186.24.44

Any idea how to solve this? I removed fsua1 from the spare.tab and 
restart loncontrol but I think it is httpd that I need to restart. Is 
there a way for lonbalancer to hand the session to a third server 
after say, 3 unsuccessful tries?

Thanks,
-hk




More information about the LON-CAPA-admin mailing list