Post by paynetech » Wed Aug 05, 2015 5:24 am

Hi all

I first had opencart 2.0.3.1 runnning with OpenBayPro on Windows Server 2008, and this was actually working fine. I couldnt get VQMod to work though, and ultimately decided to migrate to a cloudlinux server instead.

I now have vqmod working but openbaypro no longer works!!

I've got 256Mb memory limit defined in both php.ini files (root and /admin)
I've got the store installed in the root folder for information.

When I go into OpenBayPro>Ebay>Manage Items and click on the white ebay button on the far right to start posting a product to ebay, I get a series of 500 internal server errors one after the other; it appears to be related (on the surface) with the querying of the ebay API, as it's all those boxes which sit doing nothing / very little.

I paid £24 to get welfordmedia to provide upgrade support and they've confirmed that openbaypro is correctly installed, and asked for info from my hosting company.

My hosting company replied that the website is hitting a 1Gb limit when these errors occur - i get 6 or 7 of these errors cropping up in the error log.
"[Tue Aug 04 16:52:24.870960 2015] [:error] [pid 859925:tid 140647495366400] (12)Cannot allocate memory: [client 212.161.29.54:55828] couldn't create child process: /opt/suphp/sbin/suphp for /home/mywebsite/public_html/admin/index.php, referer: http://www.mywebsite.co.uk/admin/index. ... duct_id=72"

I've informed welford media of this (but they've gone home for the day), they've been very helpful to date but just wondering if anyone has any ideas?

Tearing my hair out now, I've gone to massive effort to migrate multiple sites to linux, just to compeletly break one of the most important features which was working fine before!

I've replaced the .htaccess and php.ini files i copied over from windows server, with ones generated by scriptaculous on another domain when installing opencart, just to be sure.

phpinfo returns memory limit as 256Mb, which should be plenty for this process I'm certain.

Any ideas/help / bottles of cheap alcohol for drowning of sorrows very welcome :)

Rgds

Jon

Newbie

Posts

Joined
Wed Apr 01, 2015 12:16 am

Post by IP_CAM » Thu Aug 06, 2015 12:45 am

did you check on the PHP max. Memory setting on your Server?
It does not care about your config.php settings, should they 'surpass' it's own Max.Value!
just an idea...
Ernie
hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by paynetech » Thu Aug 06, 2015 4:00 am

Well, I asked my hosting provider to up my limit to 512mb but they said I'll have to get a cloudlinux VPS instead.

This would give me 2gb of ram for about the same price as my current offering.

I'm concerned about management. I'm quite capable of it but do I have time? Does cloudlinux come with everything ready to roll? It's supplied with Cpanel but no idea how much work I'll need to do :-/

Newbie

Posts

Joined
Wed Apr 01, 2015 12:16 am

Post by IP_CAM » Thu Aug 06, 2015 4:30 am

That's, usually, the problem with OC, and by use of OC, used in 'Server-Environments', technically designed to 'handle' at best, a small Wordpress, or similar low-ressources-using type Software Setup.

It's like using one of those very small DAIHATSU Mini-Transporters, to carry a 2-ton load :D On even roads, it may function, with lots of care, and rather slow, but sure not, if the fellows then add even more, like more weight, into the drivers cabine, of the poor Daihatsu, as well, trying to get the very most possible out of it!

As more professional a Software get's - as more professional the Hardware has to be, to handle it accordingly.
But it only works, if one can afford it. And this is, what separates the Professionals from the WouldLikeToLookLike-One's, it would just be too easy, and for Everybody, to download something, and get rich quick. Without even enough Funds, to pay for the monthly Home-Office-PC Energy Bill.

Just like that! :D
PS. It's not meant personal ! Most don't even know about..., where do they get such an info? ???
One good reason, to mention it here.

Ernie
hitline.info/shop/
(edited)
Last edited by IP_CAM on Fri Aug 07, 2015 3:27 am, edited 1 time in total.

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by artcore » Thu Aug 06, 2015 2:54 pm

Cloudlinux has nothing to do with the Cloud. It's 'just' an improved OS tailored to hosting. https://store.cpanel.net/view/cloudlinux
It works fine here with a 4GB/3GHz box - about 10 shops.
Any vps would depend on a well setup environment in terms of basics such as DNS,Apache/nginx?,suphp?,fastcgi?,SECURITY,performance (opcache, sql optimization),...

So the question is mostly: do you have experience managing a VPS or are you willing to pay your host extra for management?

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by paynetech » Fri Aug 07, 2015 4:26 pm

I don't have much experience in linux server management but that has never stopped me from tackling something before.

The only question in my mind was if I have time for the hours of googling and fiddling but I have spoken with the host and this should not be necessary.

The VPS is designed for (ex-)hosting resellers like me to transfer straight to with a minimum of fuss, I'm already au-fait with WHM and Cpanel and domain stuff, and the template they use is fully secured already, so it's just a case of maintenance.

BUT

Both CyberHostPro and Welford Media have been great, both been very helpful and Welford have referred the issue to the developer as (i suspect) it should not be pulling a gig of ram on the first page of an ebay list process. I also checked my windows server, it worked on that with 128Mb as the php memory limit.

Both of my current provider's are happy to work together to try and find a resolution. If that fails I'll go for unmanaged VPS with CloudLinux and Cpanel - I'm just not convinced that the extra outlay will solve the problem, just now.

I'll keep this thread updated with how things go for future readers.

Newbie

Posts

Joined
Wed Apr 01, 2015 12:16 am

Post by paynetech » Fri Sep 18, 2015 5:24 pm

Just a quick update:

CyberhostPro have been great, they temporarily upgraded my shared reseller account to have more RAM for the weekend, and this allowed me to test if it fixed the issue, which it did. I informed Welford Media.

A few days later I bit the bullet and ordered an upgrade to a VPS, this is about 2 weeks after the issue was originally reported.

After I'd started the migration I got the following info from Welford Media:

Code: Select all

Regarding memory requirements, we usually request the following be checked: 

"memory_limit" should be larger than "post_max_size". 
"post_max_size" should be equal to or larger than "upload_max_filesize". 
"LimitRequestBody", if set, needs to match your "post_max_size".

We suggest the following settings, which can be done in your php.ini file.

memory_limit = 512M; 
post_max_size = 256M; 
upload_max_filesize = 256M;

LimitRequestBody is an Apache settings which some hosts have set to an extremely small value. This value needs to match your post_max_size setting - you would need to contact your host as only they can change this as it is not available through php.ini or .htaccess.
I must admit being very frustrated. If they had conveyed this valuable information the moment I'd had the issue, and my host had confirmed it was a memory issue, I would have passed it forward to my hosting provider (As they requested) and they would probably have been able to get it working. I feel that this information might have been withheld in order to upsell me to their hosting service. This is my supposition, and not fact, but it's a fair bet since that's exactly what they were trying to sell me at the time.

Of course, with a 3 working day response time to support tickets, I would be insane to buy hosting from them for a business.

So I hit the peanut with a sledgehammer and it fixed it.

It worked fine for 3 weeks / 20 orders / 50 or 60 products listed, but now won't import orders and I've been waiting 3 days for a tech support response.

Everyone has always been courteous and helpful I just wish their approach was more timely and effective.

Newbie

Posts

Joined
Wed Apr 01, 2015 12:16 am
Who is online

Users browsing this forum: No registered users and 4 guests