<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
Some additional info:<BR>
<BR>
I am running the latest sbcl, hunchentoot and related code from clbuild as of Monday the 17th and my server is a virtual ubuntu 9.4<BR>
<BR>
On Fri, 2010-05-21 at 13:12 +0200, Phil Marneweck wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Well after running fine for a while hunchentoot is again re-setting sessions at arbitrary intervals. <BR>
<BR>
I have closed down my lisp instance serveral times today and restarted everything. Everything will work for a while (5 to 45 minutes) and then fall apart. Once hunchentoot has killed sessions once, it does so every couple of minutes, some times under a minute.<BR>
<BR>
I have checked my code again looking for a place that I might be killing the sessions or setting the session to nil in any way but I have no such code.<BR>
<BR>
I set the following before creating any acceptors:<BR>
<BR>
(setf hunchentoot::*session-gc-frequency* nil)<BR>
(setf hunchentoot::*session-max-time* 36000)<BR>
(setf hunchentoot::*use-user-agent-for-sessions* nil)<BR>
<BR>
hunchentoot::*use-remote-addr-for-sessions* reports NIL<BR>
<BR>
I added a check to see what the (session-db *my-acceptor*) reports when I say hunchentoot "resets sessions" and it reports NIL. Before a reset (session-db *my-acceptor*) reports (8 .#).<BR>
<BR>
The only other thing that I can think might have an effect is that the site uses ssl but hunchentoot is not hangling the ssl I am forwarding from nginx to hunchentoot.<BR>
<BR>
Any suggestions?<BR>
<BR>
<BR>
<BR>
On Thu, 2010-05-20 at 11:23 +0200, Edi Weitz wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Thu, May 20, 2010 at 6:41 AM, Phil Marneweck <<A HREF="mailto:zaries@global.co.za">zaries@global.co.za</A>> wrote:
> Thanx again for the help.
You're welcome... :)
> PS: How about some cross references in the documentation for
> *session-gc-frequency*, *session-max-time* and
> *use-remote-addr-for-sessions* just as a heads up for other people that
> might stumble into this?
Well, they are all mentioned in the same short chapter about sessions,
and *use-remote-addr-for-sessions* is by default set to NIL. One
should assume that users setting this value to T know what they're
doing. Besides, I don't see any specific relation between, e.g.,
*session-gc-frequency* and *use-remote-addr-for-sessions*.
Edi.
_______________________________________________
tbnl-devel site list
<A HREF="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</A>
<A HREF="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
<PRE>
_______________________________________________
tbnl-devel site list
<A HREF="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</A>
<A HREF="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>