Since a month or so my site has been having issues:
hosted on a shared hosting server we are getting 500 error pages daily! a couple of times a day even. They might dissapear after having refreshed the browser 4 times.

After asking my hosting company about it, i was told that at the exact moment that that certain page is experiencing problems, the server gets memory load of around 18mb, causing the problem.

Fri Jun 15 08:22:15 2007: '/usr/bin/php index.php ' (Exe: php [/usr/bin/php], Script: '/home/mydomain/public_html/index.php', Domain: mydomain.com, Request: '/page-title', Accessed from: ip address) - of mydomain using 18.43359375 MB memory

Is there any way to solve this or is this a drupal issue being resolved in version 6?

Comments

AjK’s picture

The more modules you have installed the more memory you need to run the application. Drupal 6 can't solve that.

Either:

  • remove memory intensive modules
  • get your host to increase memory limits from 16M to say 24M (unlikely on a shared host)
  • move to a new hoster that offers more memory for their php process
  • go dedicated server solution
Eagle-i’s picture

Thanks for replying to my question!

Is there a way to find out what the memory usage is on specific modules?
I am no php techie and run sites on a shared server (as you know).