ID:               34483
 User updated by:  javervandrel at yahoo dot com
 Reported By:      javervandrel at yahoo dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Windows 2000 Server
 PHP Version:      5.0.5
 New Comment:

this script does not run for 24 hours, it runs for about 4-5 seconds
before it completes, then the script using a HTML meta refresh restarts
itself every 1 minute.


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

[2005-09-12 23:46:31] [EMAIL PROTECTED]

You gotta be joking. Running a PHP for 24hours (under windows) is
REALLY not supported or suggested. It's definately nothing to do with
PHP but your OS.

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

[2005-09-12 23:43:24] javervandrel at yahoo dot com

oh i'm sorry, the problem i'm having though is that this script causes
the mysqli functions to stop working after about 24 hours of this
script running.  It does not happen instantly, so I cannot provide a
script that instantly causes the same error.  I figured the issue was
probably a bug in the fclose or fsockopen methods where the stream is
not being properly closed.

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

[2005-09-12 23:40:01] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.

include("dbopen.php"); <-- where's that?
How do you think we can try reproducing this if we don't know the
database we should apparently have created?

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

[2005-09-12 23:32:43] javervandrel at yahoo dot com

The script that I provided is the exact script that i'm using.  It is
complete.  I'm using a real OS (windows).  Basically i'm looping
through a bunch of different ports, for example the results of the
query would be

8000
8050
8060
8070.....

This fsockopen loop could happen 15 times, each time it closes itself
after getting the info, updates the DB, then does another instance of
the loop.

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

[2005-09-12 23:30:21] [EMAIL PROTECTED]

a) Provide a _short_ but _complete_ example script
b) Try this on a real OS, like Linux


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

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/34483

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

Reply via email to