ID:               35506
 User updated by:  broadmind at magicn dot com
 Reported By:      broadmind at magicn dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: windows 2000 server
 PHP Version:      5CVS-2005-12-03 (snap)
 New Comment:

After downloading and looking into my scripts, did you say that??

My scripts are very SHORT!
And because I thought this problem comes from "include" statement as a
result of lots of tests, I have suggested the caller script including
"include" statement and the callee one.


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

[2005-12-06 01:40:18] [EMAIL PROTECTED]

Please read the comment again. We ask for ONE script. And SHORT script.

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

[2005-12-06 00:14:39] broadmind at magicn dot com

I have already introduced the sample codes to reproduce above.
Please refer to the my comment above.

Thanks.

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

[2005-12-05 19:03:02] [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.



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

[2005-12-04 16:42:18] broadmind at magicn dot com

I know that this problem comes from lots of mysql requests, but as a
result of having a lot of tests, it may be due to the "include"
statement, because my php codes have many "include" statements.

For your test, my example codes is here.
(the following codes are just for a test, not real codes)

http://www.brickart.co.kr/logs/board.php.doc
http://www.brickart.co.kr/logs/menu_search.php.doc

1) Please download these files and remove ".doc" suffix.
2) Run Windows task manager.
3) Please run board.php with your web browser.
4) To refresh this page, please press F5 key down continuously. (don't
let it be pushed up)

You can see the memory usage of Apache is only incremented.
When it is over about 230MB, the process will be destroyed.

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

[2005-12-02 01:16:03] broadmind at magicn dot com

Sorry for my inadequate report.

My PHP pages consist of a lot of mysql queries.
Then, after requesting the one page, the memory usage of Apache is only
incremented.
After all, when it is over about 240MB for lots of PHP page requests,
the apache server is shut down and restarted.
At this time, 
"FATAL:  erealloc():  Unable to allocate 24576 bytes"
log is written to error.log file.

Why it is a serious problem is that this phenomenon is reiterated
continuously.

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

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

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

Reply via email to