I am currently using hostmonster.com. They shut down my site because the MySQL database is causing the server to go down quite a bit. They informed me to look at the log and fix the issue, but I am not a programmer. They said it would require optimizing or repairing it.
What is the best solution to fix this so I can get my website back up and running again? Is there some CS update or module I could install to fix the issue?
I wouldn’t be able to help, but I’m sure others will need more information. The biggest thing they would need is what version of CS-Cart you are using. I guess it may be in some of what you posted, but I’m not familiar enough with the code to know.
I would guess that you do not have a primary key defined for your cscart_sessions table. This will be read each time a page is loaded and if somehow you’ve managed to get rid of the primary key, it will grow HUGE and no one will be able to do anything useful.
The keys for this table should look something like:
I’ve seen this often during system backups and it’s an indication that the server is under very heavy load. When the load lessons these queries will finally drop off and everything goes back to normal.
If I am correct about this then there is really nothing you can do about it. It is strange though because, whenever I notice this happening it is always only cs-cart related queries hanging from different accounts. The other scripts running queries seem to work as normal…
[quote name=‘S-Combs’]I’ve seen this often during system backups and it’s an indication that the server is under very heavy load. When the load lessons these queries will finally drop off and everything goes back to normal.
If I am correct about this then there is really nothing you can do about it. It is strange though because, whenever I notice this happening it is always only cs-cart related queries hanging from different accounts. The other scripts running queries seem to work as normal…[/QUOTE]
Thanks!
The only issue is that Host Monster is telling me I need to get it fixed, and talk to one of their admins before they put it back online. I don’t know if waiting will help fix this? Also, I’d like to avoid this problem occurring down the road. Can’t afford to have my shopping cart down.
I’m afraid that this will be an ongoing problem with Hostgator on their shared servers because CS-Cart is a very resource heavy script. They have disabled the accounts of many other CS-Cart users for the same reasons.
[COLOR=black]I’m sorry for mentioning Hostgator above… I was confused because of other recent chats about the same thing with them :rolleyes:
I don’t know if Host[/COLOR][COLOR=DarkRed]Monster[/COLOR] [COLOR=Black]is as strict with resources as Host[COLOR=DarkRed]Gator [COLOR=Black]is. [/COLOR][/COLOR][/COLOR]
So it looks like the issue is more with Host Monster rather than CS-Cart? Someone suggested VPS hosting for me. Any VPS recommendations or other hosting companies that might offer me better services and reliability?
I don’t think he meant it that way Struck… There have recently been numerous recommendations of VPS servers from people who don’t completely understand the requirements and, all hell will break loose if another exploit is found in this script.
@ meetagrawal
Our prices are a bit higher than budget hosts but, we don’t pack nearly as many clients on a server and our resource limitations are much more relaxed.
[QUOTE]I don’t think he meant it that way Struck… There have recently been numerous recommendations of VPS servers from people who don’t completely understand the requirements and, all hell will break loose if another exploit is found in this script.[/QUOTE]
It’s all good S-Combs, I did not take it the wrong way nor was I offended in any way, quite the contrary! Like I say, it is all good!
don’t think he meant it that way Struck… There have recently been numerous recommendations of VPS servers from people who don’t completely understand the requirements and, all hell will break loose if another exploit is found in this script.
[/quote]
Actually, I did. Sometimes I try to provide too much information and rationale for things I state. His statement said it pretty simply.
[quote name=‘meetagrawal’]I am currently using hostmonster.com. They shut down my site because the MySQL database is causing the server to go down quite a bit. They informed me to look at the log and fix the issue, but I am not a programmer. They said it would require optimizing or repairing it.
What is the best solution to fix this so I can get my website back up and running again? Is there some CS update or module I could install to fix the issue?
Heres the last log. Thanks in advance![/QUOTE]
Hello,
Clear your Statistics and optimize your database, than from your cpanel repair your MySQL database and you will be good.