ID:               19715
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Linux (dist. unknown)
 PHP Version:      4.2.2
 New Comment:

> "THE PHP SCRIPT DIDN'T TIME OUT IN THE 30 SECONDS IT WAS SUPPOSED
TO."

max_execution_time limits the *cpu* time the process executing your PHP
code *itself* uses, it does not measure 'real' time and it can't take
into account cpu time used by other processes your script depends on

As your script either talks to a SMTP server directly 
or uses mail() which uses a sub-process on unix you don't
use much cpu time in your script itself while it is 
waiting for either the SMPT server or the mail() subprocess 

So it's real cpu time usage will be very low even if
it has run for some minutes.

If you want to limit real time usage you have to check
for that yourself using time()


Previous Comments:
------------------------------------------------------------------------

[2002-10-04 07:42:29] [EMAIL PROTECTED]

My point never was the way Opera re-requested. It was the way THE PHP
SCRIPT DIDN'T TIME OUT IN THE 30 SECONDS IT WAS SUPPOSED TO. But it's
not my concern anymore, in the future I will limit the number of
addresses so the script will complete in 30 seconds.

------------------------------------------------------------------------

[2002-10-04 07:36:52] [EMAIL PROTECTED]

Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

A browser issue (Opera), this is not something PHP can do anything
about.

------------------------------------------------------------------------

[2002-10-04 07:31:41] [EMAIL PROTECTED]

Turns out the script never timed out properly, and Opera re-requested
the page adter five minutes of waiting. The reason is still a mystery,
but I gather it has to do with the sheer volume of the addresses.

-Lauri-

------------------------------------------------------------------------

[2002-10-03 01:32:49] [EMAIL PROTECTED]

To tell you the truth, I don't know how and I need to tread carefully
around this issue anyway as of now. Would it help to know that I was
running Opera 6.0? and how could it be explained, that the same script
ran perfectly well on the tested 40 addresses?

Basically - is a browser supposed to reissue the request when it hasn't
even timed out yet?

------------------------------------------------------------------------

[2002-10-02 11:18:25] [EMAIL PROTECTED]

Well... I guess that's a browser problem... try wget and see what
happens...

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19715

-- 
Edit this bug report at http://bugs.php.net/?id=19715&edit=1

Reply via email to