Re: ISE 500 due to overloading / time-out
- From: "windandwaves" <winandwaves@xxxxxxxxxxxx>
- Date: Thu, 21 Jul 2005 12:37:46 +1200
Dave wrote:
> windandwaves (winandwaves@xxxxxxxxxxxx) decided we needed to hear...
>> Hi Folk
>>
>> I have a long script that sends a bunch of emails (between 5 and
>> 20). At the end of the script, it creates a Internal Server Error
>> 500 - sometimes only. The more emails I send , the more likely it
>> seems that I get the error. The whole script runs though - it
>> seems (error occurs somewhere near or at the end).
>>
>> I imagine it either to be server overload OR a time-out (it takes
>> about 30 seconds for the script to run (which I think relates the
>> email send part...)
>>
>> Any hints? I am a little lost.
>
> Sounds likely that this is a script timeout. Your server error log
> would confirm that for you. Even so you might find this page
> useful - http://www.php.net/set_time_limit
Hi Dave,
Thank you for your answer. I tried it, but it unfortunately it did not
solve the problem.
This is what I added to my script:
ini_set('max_execution_time', 120);
set_time_limit(120);
But still ISE500....
I even changed the same parameters on the php.ini file, but still no luck.
What do else can it be, or how can i find out?
.
- Follow-Ups:
- Re: ISE 500 due to overloading / time-out
- From: Dave
- Re: ISE 500 due to overloading / time-out
- References:
- ISE 500 due to overloading / time-out
- From: windandwaves
- Re: ISE 500 due to overloading / time-out
- From: Dave
- ISE 500 due to overloading / time-out
- Prev by Date: how can I make work the shopping cart ?
- Next by Date: Re: Call to undefined function: domxml_open_file()
- Previous by thread: Re: ISE 500 due to overloading / time-out
- Next by thread: Re: ISE 500 due to overloading / time-out
- Index(es):
Relevant Pages
|