Domain Suspension

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
ardan16
Forum Commoner
Posts: 32
Joined: Fri Aug 01, 2008 6:07 am

Domain Suspension

Post by ardan16 »

Hi all,
I have recently added a php site to the server and have been suspendeded for abusing resourses, when I try to generate a sitemap over 500 links come up mainly refering to the home page. Has anyone else had the problem before and what are the likely causes?
Cheers
User avatar
The_Anomaly
Forum Contributor
Posts: 196
Joined: Fri Aug 08, 2008 4:56 pm
Location: Tirana, Albania

Re: Domain Suspension

Post by The_Anomaly »

Maybe it's just me, but your question is very unclear. You seem to somehow be generating a sitemap that is not working correctly. Are you asking how to create a site map? If so, you'll have to include at least some type of code/explanation of what you've done so far, or what research you've already done.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Domain Suspension

Post by josh »

It would be helpful if your host could tell you which metrics were exceeded and by which scripts, and what their imposed limits are.
Mosts shared hosts cap your memory and CPU usage both rediculously low. Debug your scripts using PHP's built in memory usage functions, are you loading any large variables [arrays] into memory ( simply creating them or loading data into a variable loads it in memory )?
Are there any recursive functions that could be getting out of control?

If so re-structure the code to use smaller amounts of memory or upgrade hosting, depends on what you value more, your time or your money.
Best advice, find a VPS with cpanel.
Post Reply