oscommerce hosting and large number of products.
#1
Posted 19 December 2011 - 10:11 PM
If someone is running over 5000+ products, I would be interested in knowing where you are hosted and if you are on a dedicated server/have a memory cap.
If anyone is running oscommerce on Midphase, please let me know if you are having any issues.
Any help would be appreciated. My website is getting unusable.
I have not made in changes to anything but cosmetics.
Thanks.
#2
Posted 19 December 2011 - 11:14 PM
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#3
Posted 19 December 2011 - 11:52 PM
I have narrowed down the issue, according to midphase. The memory is capped at 1GB and I'm exceeding that threshold (I've posted about this one before). I haven't made any processing type changes. All other resource allocation seem adequate.
I guess I was looking for a couple of recommendations for good hosting that is known not have significant issues with osCommerce or if anyone has midphase and is experiencing any problems.
#4 ONLINE
Posted 20 December 2011 - 02:06 AM
A 1GB bandwidth use is almost unheard of now as most hosting providers have moved to unlimited bandwidth. The number of products you have is not many at all so you must be generating high traffic. I would move to a hosting provider with unlimited bandwidth or you could move up to VPS or DS hosting to avoid such restrictions.
Chris
#5
Posted 20 December 2011 - 03:44 AM
I also have the website stripped way down. My norm is 3k-5k. Right now there is very little traffic which is why all of the problems, I am having, are very suspect.
Edited by magdalena, 20 December 2011 - 03:46 AM.
#6
Posted 20 December 2011 - 04:07 AM
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#7 ONLINE
Posted 20 December 2011 - 04:14 AM
I would check your website to see if someone is taking advantage of a vulnerability and resolve that issue. As far as the 1GB, if you have a bandwidth restriction of any kind, seek out new hosting. many hosting providers 'basic' hosting packages now start at 10GB hard drive space, which is more than sufficient for most stores.
Chris
#8
Posted 20 December 2011 - 03:20 PM
Jack_mcs, on 20 December 2011 - 04:07 AM, said:
Yes. I've gone over this with the hosting company and looked at the resource usage charts. I have unlimited bandwidth and disk space. Thanks.
Edited by magdalena, 20 December 2011 - 03:21 PM.
#9
Posted 20 December 2011 - 03:24 PM
DunWeb, on 20 December 2011 - 04:14 AM, said:
I would check your website to see if someone is taking advantage of a vulnerability and resolve that issue. As far as the 1GB, if you have a bandwidth restriction of any kind, seek out new hosting. many hosting providers 'basic' hosting packages now start at 10GB hard drive space, which is more than sufficient for most stores.
Chris
Thanks for your reply. It's not a bandwidth or disk space issue. It's a server memory issue, according to them. Can you point me in the right direction as to how to see if someone is exploiting a vulnerability? I have the KISSER enhancement, couldn't put that in yesterday because their servers were down.
Sorry for the late replies, the notifications went in spam.
#10 ONLINE
Posted 20 December 2011 - 03:59 PM
Quote
On a hosting account, a 'memory' cap is usually defined as bandwidth usage. I suggest moving to a better service provider.
To check for exploits, I would check your access logs to see if an IP is spending considerable amounts of time on your site. (excluding search engines)
Chris
#11
Posted 20 December 2011 - 04:06 PM
DunWeb, on 20 December 2011 - 03:59 PM, said:
On a hosting account, a 'memory' cap is usually defined as bandwidth usage. I suggest moving to a better service provider.
To check for exploits, I would check your access logs to see if an IP is spending considerable amounts of time on your site. (excluding search engines)
Chris
That's fine. I have talked to them many times. I'll do it again. I'll check the logs. The original question was I was already looking for a new service and was asking anyone for recommendations on a good hosting company that is running osCommerce. I will consider the other discussion satisfied at this point. Thanks for everyone's help. If you know a good inexpensive hosting company, please let me know.
Edited by magdalena, 20 December 2011 - 04:07 PM.
#12
Posted 20 December 2011 - 04:07 PM
magdalena, on 20 December 2011 - 03:24 PM, said:
Thanks for your reply. It's not a bandwidth or disk space issue. It's a server memory issue, according to them. Can you point me in the right direction as to how to see if someone is exploiting a vulnerability? I have the KISSER enhancement, couldn't put that in yesterday because their servers were down.
Sorry for the late replies, the notifications went in spam.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#13
Posted 20 December 2011 - 04:28 PM
Jack_mcs, on 20 December 2011 - 04:07 PM, said:
To start, I do appreciate everyone's input. That being said, this is all I know. When I noticed the problem by site was blowing off with 404 or 505. This could be on the landing page, displaying the next page of products or in admin (e.g., adding categories).
When I asked Midphase they said I was exceeding the "memory cap" of 1.0GB. When I looked in my control panel the resource charts said I had unlimited bandwidth, disk and had a separate chart for memory. In the category of "nMem" I was exceeding 1.0GB frequently.
I wasn't aware this was happening, before, because I wasn't paying that much attention to the site due to my class load. The log that I looked at had it occurring for the last month, so it wasn't anything that had been done recently. This may have been going on for years, but I didn't see it because they just put the 1.0GB cap on when they migrated the server in the spring.
I have tried repeatedly to get Midphase to be more specific about the problem, with no luck. They just keep saying that is all processes happening within that account at one time. They have not suggested it was a bandwidth issue. I'm saying you guys are wrong. I'm just saying. I will bring up the memory per account vs. total server memory point to them.
I would wholeheartedly agree, something is up. I was trying to take the easy way out and just move to a host that was already known to run osCommerce with significant traffic/products and just upgrade to 2.3.1. Again, normally my site has several thousand products with small traffic (100-200 daily).
The problem I am having is that I am technical enough to understand what I am being told, but not experienced enough to immediately poke holes in every statement they make. Therefore, I am somewhat at their mercy.
Also, I have other accounts with these guys. What a mess.
Anyway, I will definitely try to find the problem. Midphase is suspect because my father has a very small shop running on another account (very low traffic) and his stats sometimes get up to 500MB. He's on a very clean version of 2.3.1. Something stinks.
In the meantime, I think I'll try site5 unless someone knows they suck. I tried to talk to siteground and it took me 11 minutes just to get to someone to answer any detailed questions, so they are out.
Thanks again for everyone's help.
#14
Posted 20 December 2011 - 06:46 PM
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#15
Posted 20 December 2011 - 09:31 PM
Have you thought about getting a VPS so you have full control over MySQL and apache? It would allow you to install caching tools that would allow you to manage a better balance between memory and server load.
Sounds as though you don't have CLI access in your current set up so you can't really trace what MySQL queries are RAM heavy.
You could see if your host will install New Relic for PHP http://newrelic.com/ to help you track down what is eating up your RAM in osCommerce.
Edited by velvetpixel, 20 December 2011 - 09:32 PM.
Add-Ons Installed
Header Tags SEO
Ultimate SEO URLs
Google Sitemap SEO
Easy Populate
QT Pro
Margin Report
AJAX Attribute Manager
Smart Columns
CKEditor
OSCThumb
Select Product Image Directory
Category CSS Menu
Enable Disable Categories
Contact Form Captcha
#16
Posted 20 December 2011 - 10:30 PM
#17
Posted 22 February 2012 - 09:43 PM
The problem is RAM. On shared hosting, I got 256M of RAM and I exceed that, causing server error 500.
Next step is to move to a VPS (Virtual Private Server) with 1G of RAM.
I would love to know how I can profile the RAM used by scripts and what can be done to minimise RAM usage.
Same problem is hit with both osCommerce and CreLoaded based sites.
Rudolf
#19
Posted 23 February 2012 - 12:19 AM
rudolfl, on 22 February 2012 - 09:43 PM, said:
The problem is RAM. On shared hosting, I got 256M of RAM and I exceed that, causing server error 500.
Next step is to move to a VPS (Virtual Private Server) with 1G of RAM.
I would love to know how I can profile the RAM used by scripts and what can be done to minimise RAM usage.
Same problem is hit with both osCommerce and CreLoaded based sites.
Rudolf
If you are getting Internal Server errors, your host should be able to tell you exactly why the error is occurring. Moving to a VPS may "fix" the problem but it might just be masking a problem that needs to be fixed. If you are exceeding 256 MB of ram, it is mostly some script that loops and loads a lot of data. My SiteMonitor script will cause such an error on sites that have a very large number of files. It has ways of getting around that problem. So you need to find the reason for the failure and see if there is some way to fix it. Or, if you don't mind the extra cost of a VPS, you can try that.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#20
Posted 23 February 2012 - 01:01 AM
How will one find the offending script? We do have lots of products, so this is one problem.
Speaking of which -- how does PHP frees up memory it allocates? I came from C/C++ background and you use malloc() and free().
For example, I issue a query and get large result set. That is being dissected and used. When will it get cleared and returned to RAM pool? Do I have to explicity call something? Will it happen automatically as script finishes?
Thanks,
Rudolf









