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 sessi开发者_StackOverflow中文版on 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 ...
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?
精彩评论