Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (25 May 2013 - 07:59 PM) Yay, Shoutbox Is Back! Yahooo!
@  agyat : (24 May 2013 - 05:15 PM) O Dear, Where Are You? Without Your Words This Sb Is ..
@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....

Photo
- - - - -

Memory Allotment To Php In A Shared Hosting Scenario

php memory shared hosting

2 replies to this topic

#1 Ahsaniqbal111

Ahsaniqbal111

    Super Member

  • Members
  • 821 posts
  • Gender:Male
  • Location:Pakistan
  • Interests:Medical education
    Anatomy
    Physiology
    Biochemistry
    Computer and Internet
    Google
    Facebook
  • myCENTs:1.91

Posted 02 June 2012 - 12:35 AM

I have had my website hosted with astahost 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 astahost.

Any productive addition to the topic is appreciated.

#2 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,677 posts

Posted 02 June 2012 - 02:29 PM

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.

#3 Ahsaniqbal111

Ahsaniqbal111

    Super Member

  • Members
  • 821 posts
  • Gender:Male
  • Location:Pakistan
  • Interests:Medical education
    Anatomy
    Physiology
    Biochemistry
    Computer and Internet
    Google
    Facebook
  • myCENTs:1.91

Posted 06 June 2012 - 11:23 AM

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.



Reply to this topic



  



Also tagged with one or more of these keywords: php, memory, shared hosting

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users