My host says my site is using server resources and there is danger of server crash (not bandwidth and space issue). What cause it can be, currently my hosting ac is suspended? Did they inform before suspending any ac (they did not) and when i ask why u did not inform me they says in some condition we inform and sometimes we do not. Now they are saying my ac was suspended becoz wordpress index.php file was using exccess cpu resources. how i can fix this issue
The simplest solution is to change the hosting company that does not have CPU limit or provides higher CPU limit. Another solution - Install wordpress caching plug-ins - Remove unnecessary plug-ins - If your database is large, remove unnecessary posts, comments and optimize all tables. However, it is still recommended to change the hosting company since as your blog grows, you will get more traffic and will use more CPU, your account will be suspended again.
Incorrect, This is not the simplest solution as finding the script or PHP page using the resources ( causing the issue ) will be the simplest solution. Dont change to a host and ignore the obvious problem(s). Has your host alerted you of what script is using these resources?
have you read the TOS of your host, it is probably indicated that they can suspend an account for server over usage. As stated, find the problem, correct it, either with a cache plug in for wordpress or by downsizing your db and blog plugs ins
you shouldnt trust cheap web hosts that come around for a while and then show their ass, they are really cheap.
Since they say the usage is coming from the index.php I imagine you're not using any caching plugin at all. I really recommended you consider using wp super cache. The other common cause to heavy CPU from wordpress are poorly made plugins or way to many plugins running.
I'd recommend taking a look at this: http://wordpress.org/extend/plugins/wp-super-cache/ Also be careful as installing a boat load of extra plugins into wordpress can up its CPU usage if they are badly written. And finally, be careful with who you choose to host with. Some web hosting providers will be there one minute and gone the next.
I would slightly go off-topic and comment that don't look for hostgator, they are bad just like your current host, they wont inform you about terminating your account, their support is quite slow in case they suspend your account, they don't have many abuse administrator, it took me more than 1 day to get my issue resolved. not commenting on your issue, as others comment would be helpful enough to resolve it