Doc Posted March 22, 2017 Share Posted March 22, 2017 Hello, My website is live for 24h now. In the admin, setup->session section, I see many sessions but apparently own buy the same user, is it normal ? (see the screenshot). I guess it eats database ram ? Is there a way to change that behavior ? Stop the db sessions maybe ? Update : Don't know if it's related but my Guest user is inserting dozens and dozens of lines in session table... (10 to 100 / minute) Thanks Link to comment Share on other sites More sharing options...
horst Posted March 22, 2017 Share Posted March 22, 2017 The most UAs, regarding your screenshot, are a Facebook Browsers: FB_IAB/FB4A So, you first should check why / which Facebook-Apps are polling your site, and if they properly send session-cookies with each following request, or if they open a new session with every poll. 3 Link to comment Share on other sites More sharing options...
Doc Posted March 22, 2017 Author Share Posted March 22, 2017 Mmhhhh, very good move. I've launched some promote ads with FB, it could comes from that. I'm going to investigate and will post result here. Thanks a lot ! Link to comment Share on other sites More sharing options...
Doc Posted March 22, 2017 Author Share Posted March 22, 2017 I get rid of facebook (stopped campaigns, not enough effective according to me actually), and now discover other peoples walking here (see screenshot). I still don't understand why does it hit several times per second the DB... (checkmy.ws is my external monitoring solution) Perhaps I'll go back to file based sessions, I'm a bit scared to see those access to the DB... Link to comment Share on other sites More sharing options...
horst Posted March 22, 2017 Share Posted March 22, 2017 Using filebased sessions is slower, and for every DB record, you will get a file in filesystem. This would be fighting the symptoms and not the reason! To be honest, a monitoring service that sends 7-15 requests in one second, each starting a new session is not what I would expect from professionals. At next step, I would drop that service and see how it comes with the total amount. Or maybe there are config options with that service? One request every five minutes would be enough, maybe? Link to comment Share on other sites More sharing options...
Doc Posted March 22, 2017 Author Share Posted March 22, 2017 Monitoring service dropped, but I think I have regular users who generate the same symptoms, this one is coming from an android phone : Dalvik/2.1.0 (Linux; U; Android 5.1.1; A0001 Build/LMY48Y) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now