Jump to content
xisto Community
Ahsaniqbalkmc

Memory Allotment To Php In A Shared Hosting Scenario

Recommended Posts

I have had my website hosted with Xisto for over two years now. The plan is a shared hosting plan, which I have no complaints about. But recently I ran into a problem that made my wonder the structure of shared hosting and allaction of resources to various hosted websites.

 

The exact problem is that I am getting this strange error in the admin section of my wordrpress based website when I try to view all the pages I have created.

 

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4096 bytes) in /home/mananato/public_html/wp-includes/cache.php on line 505

I did some research about the issue and about the possible solutions for it. What I came to know is that I am getting this error because the memory allocated to my website is not enough any more and I need to increase it to a reasonable value. And to solve this error, I need to increase the memory allocated to php that my website uses. This thing has made me think about a lot of questions like:

How is memory allocated to different services in a shared hosting scenario?

Does a shared hosting scenario have a single or multiple installs of required tools like php, mysql?

Whether the installation of tools is single or multiple, how are the resources of the server distributed?

What are the effects of increasing the resources to a service on other services hosted on the same shared server?


And many more.......

 

So I decided to open a topic about it and place it in the "Internet and Websites" category so that it becomes a general issue that is not related to my website or Xisto.

 

Any productive addition to the topic is appreciated.

Share this post


Link to post
Share on other sites

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4096 bytes) in /home/mananato/public_html/wp-includes/cache.php on line 505

If this is not an error in your script (33 megs is a rather high value) you should first open a ticket at Xisto in order to check that this is not a limitation of your hosting plan. If so, you will have to change your program, or upgrade your hosting plan memory limit.

Share this post


Link to post
Share on other sites

If this is not an error in your script (33 megs is a rather high value) you should first open a ticket at Xisto in order to check that this is not a limitation of your hosting plan. If so, you will have to change your program, or upgrade your hosting plan memory limit.

I have opened a ticket (about 5 days ago) but unfortunately I haven't got any response yet. By the way, do you have any suggesitons on why my website is requiring such high amount of memory. In my personal opinion, 32 Megs should be much more than enough for a website like that of mine, as there is no fancy stuff that could potentially use additional memory.

I guess it has something to do with wordpress. Maybe the wordpress platform requires such memory. I will try to do some research on the topic (If I find time for it) but some input from forum-fellows is definitely going to be helpful.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.