karimali831 Posted February 5, 2011 Share Posted February 5, 2011 All of a sudden, my website is having constant load because apparently my website is causing high overload all because of this annoying script: session_name('ws_session'); session_start(); ?> My webhost is saying they will suspend if I do not resolve, what am I suppose to do? I wasn't doing any development at the time, didn't make any changes at all.. it just started occuring. Now it seems there is a session problem, it is my CMS or my host? How can I find out? Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/ Share on other sites More sharing options...
Pikachu2000 Posted February 5, 2011 Share Posted February 5, 2011 What's the rest of the script? Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170107 Share on other sites More sharing options...
karimali831 Posted February 5, 2011 Author Share Posted February 5, 2011 It is only that... and that is causing consistent load. Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170113 Share on other sites More sharing options...
spfoonnewb Posted February 5, 2011 Share Posted February 5, 2011 We won't be able to help you with just that. What does your site do? There has to be additional code. Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170117 Share on other sites More sharing options...
karimali831 Posted February 5, 2011 Author Share Posted February 5, 2011 Webspell CMS.. I am not sure what else to give you This is too strange, anything I can use then to find out why I am getting consistent load? It is some file... but don't know where! Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170120 Share on other sites More sharing options...
fortnox007 Posted February 5, 2011 Share Posted February 5, 2011 how do you know it's that little snippet? isn't it some sort of weird loop in your script? Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170178 Share on other sites More sharing options...
karimali831 Posted February 5, 2011 Author Share Posted February 5, 2011 because when I comment these two lines, the page loads fine. Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170212 Share on other sites More sharing options...
PFMaBiSmAd Posted February 5, 2011 Share Posted February 5, 2011 Have you searched for and/or asked about this problem on the Webspell CMS site? If the problem is session related, then either - 1) There are too many session data files in a folder (the max the operating system can store in one folder) and/or session garbage collection is not running to clean out old data files or the session data is being stored in a database and there are is no index and/or old records are not being cleaned out or a query error is occurring or the database server is experiencing a problem, 2) The disk where the session data files are being stored is full or is experiencing disk errors, 3) The session data file that is being read when you attempt this is corrupted or a huge amount of data is being stored in the session data files or something about the specific session data is causing the code to loop forever (does the page eventually load or do anything after a 30-60 second timeout?) 4) About 6-12 other things that could be causing the problem, but without any specific symptoms to pin down which direction to look, no one can really specifically help with. You haven't exactly provided any specific information in this thread that would help pin down what is happening. Have you checked that none of your script files have been altered by a hacker? Have you looked at where your session data is being stored to see if there is anything unusual about how many session data files there are or what size they are or how much free space there is on that disk? Have you checked any of the server logs to see if there are relevant error messages? Quote Link to comment https://forums.phpfreaks.com/topic/226743-need-urgrent-help/#findComment-1170264 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.