[imp] Re: SSL and timeouts?

Craig Richardson crichard at maccs.mq.edu.au
Fri Dec 6 05:08:21 2002


Hi Andy, that¹s for that it was extremely useful, I've bumped up to 3660 to
see if that helps.

When I was talking about SSL, I meant that maybe it be the case that there
are too many SSL connections coming in and as they are more resource
intensive than normal http connections that apache (or mod ssl) is timing
people out before PHP can via the session.

Or is that just silly??

I ask because I have all the users inboxes refreshing every five minutes,
and my session.gc_maxlifetime = 1440 so therefore it shouldn¹t ever log out
(you'd think).  However it does log out, and I've looked and the inboxes are
refreshing.  The thing that made me think of SSL is that the timeout is not
after a fixed time, but always after some long amount of time.  I'm not a
100% certain but I'd say its after the 1440 seconds in the php.ini file.

Any advice/speculation would be welcome!!

Thanks,
Craig

On 6/12/02 11:22 AM, "Andrew Morgan" <morgan@orst.edu> wrote:

> 
> 
> On Fri, 6 Dec 2002, Craig Richardson wrote:
> 
>> Hi There,
>> 
>> Andy, is this session timeout you refer to in the php.ini file the
>> session.gc_maxlifetime variable???
> 
> Yes, that's the variable I have set to 3600.
> 
>> Also I've been running IMP successfully for a couple of years now but on=
ly
>> recently forced everyone to use SSL to connect.  Now I have had some peo=
ple
>> complain about being logged out without warning.  I have looked at the M=
IT
>> help page for their IMP installation and suggested to people that they l=
eave
>> their inbox open so that it refreshes and keeps their connection alive.
> 
> I think that only works if you have IMP setup to check for new mail every
> X minutes.
> 
>> What are the best avenues to explore to increase the amount of time peop=
le
>> are logged in for, my session.gc_maxlifetime is 1440 which is 24 minutes
>> however with the inbox left open people can stay logged in for longer th=
an
>> that?
> 
> The session.gc_maxlifetime variable only controls the timeout for
> sessions.  Every time you load a new page in IMP, it refreshes the
> session.  You only get hit by the timeout (gc_maxlifetime) if you haven't
> loaded a page in gc_maxlifetime seconds (1440 for you).  If you've told
> IMP to check for new mail every so often, that will load a new page and
> refresh the session, keeping you from hitting the timeout.
> 
>> Is this perhaps something to do with SSL loads, if so can these be
>> lengthened or is this a case of perhaps getting a dedicated server to ho=
st
>> IMP so there is less traffic.
> 
> No, the session timeout has nothing to do with your use of SSL.
> 
>> I have about 50 people use IMP but they use it as their primary client, =
ie -
>> it would be good if they can be logged in all day.
> 
> As long as they are doing something every once in a while, their session
> won't time out.  Still, I'd recommend increasing gc_maxlifetime.  I don't
> think it is uncommon to take longer than 24 minutes to compose an email
> (during which time you won't be loading any new pages).
> 
> Andy
> 

--
Craig Richardson, BSc
Systems Administrator
Macquarie Centre for Cognitive Science
Email : crichard@maccs.mq.edu.au
Phone: +61 2 9850 6730
Fax : +61 2 9850 6059
Office : C5A409 




More information about the imp mailing list