Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [imp] Big Session Problem

0 views
Skip to first unread message

Jan Schneider

unread,
Mar 20, 2007, 8:32:06 AM3/20/07
to
Zitat von Fatih ?aki <fatih...@mynet.com>:

> Hi all
>
> I noticed that when we include only *base.php *(for example in
> login.php) horde writes to the session object about 65 kb. data.(Without
> compression)
>
> We have about 3 million members.So its huge amount size of data to store
> for us.
>
> Most of the data is the applications details.

What do you mean with application details? The configuration items
from config/regsistry.php? In this case, simply remove all
applications that you don't use from registry.php.

> We want to use only *imp&dimp.*
>
> So how can i prevent the unnecessary data writing to the session object?
>
> Is there any idea to reduce the session object size?

Use a session handler like memcache that supports compression.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-uns...@lists.horde.org

Fatih Şaki

unread,
Mar 20, 2007, 11:33:56 AM3/20/07
to

http://groups.google.com/group/mailing.www.horde-imp/msg/7440f8d0742ac29c

Thanks Michael
Disabling some applications reduced the session size but it still about
32 Kb.
And we look at linux then we saw 2 sessions are running.Why and where
this sessions have been created?
Best regards.

Thanks Jan

But i haven't used memcache before and i don't know where must i begin
in horde project for session handling..

Fatih

Jan Schneider

unread,
Mar 20, 2007, 12:06:24 PM3/20/07
to
Zitat von Fatih ?aki <fatih...@mynet.com>:

>


> http://groups.google.com/group/mailing.www.horde-imp/msg/7440f8d0742ac29c
>
> Thanks Michael
> Disabling some applications reduced the session size but it still about
> 32 Kb.
> And we look at linux then we saw 2 sessions are running.Why and where
> this sessions have been created?

That's the expected behaviour. A new session is created after the user
logged in. With recent Horde and PHP versions the old session is
deleted though.

> Best regards.
>
> Thanks Jan
>
> But i haven't used memcache before and i don't know where must i begin
> in horde project for session handling..

Uh, you are hosting 1 million users and don't use a custom session
handler? Do you use a sticky load balancer?

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--

0 new messages