user839215
user839215

Reputation: 1

php session -> 980,000 bytes?

I work on a website on which I must add functionality without changing existing code. I notice that the php session variable created on the bootstrap is almost 1 MB (980,000 bytes). That's a lot ... this website must be able to accommodate more than 10,000 users a day. you find it normal?

thank you

nb:Excuse me for translation, translate it from google ...

Upvotes: 0

Views: 179

Answers (1)

Seva Alekseyev
Seva Alekseyev

Reputation: 61378

10 GB of RAM on a server is not that big of a deal. My current work box has more. That said, 1MB of session data on startup (as opposed to gradual accumulation) does sound a little extreme. Do some global search in the code - what goes into the session?

Upvotes: 2

Related Questions