just when you though everything was going well

Associate
Joined
8 Oct 2005
Posts
97
Location
Bristol
so i figured i would add a bit more error checking code to one of the sites im working on at the moment, nothing special just fires me an email if any ado errors pop up

step 1 : upload
step 2 : try and cause an error
step 3 : error found
step 4 : mail box recieves 50+ emails in a few seconds (oh ****)
step 5 : server starts to slow down
step 6 : server dies
step 7 : delete all traces of previous code
step 7 : fill out hosting tech support form
step 8 : smoke heavily and mutter about dodgy hosting when any member of staff approaches
step 9 : huge sigh of relief as hosting company restarts the server
step 10: spend next hour or so trying to delete contents of email box

in short if it aint broke dont fix, dont touch it , dont even look at it
 
Looks like you need to find the error in the error detection loop :p

It's interesting that the server died, though....the mailserver should decide "ok, I've had enough" and pause for a bit.

/won't tell the story about another forum member who sent 4,000 e-mails to himself the other day :p
 
Beansprout said:
/won't tell the story about another forum member who sent 4,000 e-mails to himself the other day :p

AS_Platinum said:
Ohh please do, i've had a terrible day at work!!

*cough*

yeah I knew what I was doing... like load testing a mass email script for a faceparty style site i made :D
 
AS_Platinum said:
Ohh please do, i've had a terrible day at work!!
"Let's just test this bulk e-mail script but I don't want to bother my subscribers, so I'll send them all to my Fasthosts e-mail address"

..."Hmm, I didn't get them all...let's try again"

*Couple of hours later*

"I'm still getting these stinking e-mails!!"

:D

There's only really one way to show it:
thermalone.footholds.net-exim-day.png


Real figure is somewhat higher than that though since Munin only runs intermittently, and was kinda giving up :p

Mind you, at least e-mails are cheaper and less embarrassing than printing...I'll never forget some programming I did in which I needed to print a few copies of something....

Code:
j = 20

while(i < j){
   print()
i = 1 + 1
}
It'd printed 500 pages before I a) noticed, b) unplugged the network cable and c) ran to the administrators. :(
 
hehe

yeah well fasthosts suck so dont really care about them, awfully sorry for your mail server pwnage though :p

and happens to the best of us dude ;)

/lesson learnt :cool:
 
Beansprout said:
Code:
j = 20

while(i < j){
   print()
i = 1 + 1
}
It'd printed 500 pages before I a) noticed, b) unplugged the network cable and c) ran to the administrators. :(


Haha... unlucky, one character wrong! Get in trouble for it?
 
Back
Top Bottom