Forum Moderators: coopster

Message Too Old, No Replies

How do you know when your scripts are being bad?

Host suspended me because of "resource abuse"

         

HughMungus

4:17 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



All I have is a few database calls to get some data to print as text, and a script that resizes images into thumbnails.

So how do I figure out what the problem with my scripts is?

bcolflesh

4:19 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So how do I figure out what the problem with my scripts is?

First step - examine the error log.

Timotheos

4:54 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



a script that resizes images into thumbnails

That seems like a red flag to me. What sort of image sizes are we talking about? Are there a lot of images? Are you using the GD library? How are you creating the thumbnails?

HughMungus

10:13 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks. I think I'll start a new thread about the thumbnail creation since I have some questions about it that are separate from this discussion.