I am using Hostinger for a Drupal H5P server. When I try to upload images or video over ~6Mb the site freezes and eventually loads install.php. 

I can go back to the content page but any content that has caused a freeze during production will not load and go to install.php again. The Drupal log has the 2006 mysql server has gone away error.

I asked Hostinger to let me know what the /etc/my.cnf settings were and if they complied with the requirements outlined here https://www.drupal.org/node/259580. They did not tell me the settings but told me:

"you should consider using a VPS with that, as it looks like it requires more resources than the shared hosting offers" 

In the time between my question and their reply I installed the Drupal Video module and successfully uploaded a 13Mb file, so I pointed that out. They replied:

"So, it's not the 13mb upload the issue, but it seems like that the "script" or the "plugin" itself isn't meant to be used on shared hosting environment"

Can anybody shed any light on this problem? Is H5P not meant to be used in shared hosting?

Thanks

Comments

VM’s picture

most any CMS can be pushing a shared hosting package to its limits, add in heavy uploading, viewing of media and you will run into issues sooner rather than later.

the H5P specific question should be asked in its issue queue.

JamesOakley’s picture

I lose track of how many complaints I've read of Hostinger, and the other brands they run. Even what they claim: They're signing up 20,000 new clients per day. Really? Maybe they are, but those kinds of numbers are not typical of the industry at all.

Disclaimer: I haven't used them myself, so I'm not speaking from first-hand experience.

The first thing I'd try is another hosting provider. Try someone like Veerotech or Big Scoots. The cheapest hosting plan at either of those has decent resources, and the support is excellent. Provided you choose one with a money-back guarantee, you get 30 (or however many it is) days to test the services to see if things run better. That said about resources: You tagged your post Drupal 8. You'd be fine to run Drupal 8 on that kind of shared hosting, unless you need to use composer to install and maintain the site. That needs over 1 GB of RAM, which requires a plan with higher resources than the cheapest.


This signature is currently blank
bevangg’s picture

Hi James

Thanks for your positive reply. I have already come to the conclusion that Hostinger are not an appropriate host for resource intensive sites. They actually told me

I am researching other shared hosts and would appreciate it if anybody could add their personal recommendations based on experience.

Clearly this is not a H5P specific issue.