Memory leak?
| From: | Gary Li | Date: | Fri, 10 Mar 2000 10:19:55 +0000 |
| Subject: | Memory leak? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16621@lists.php.net to get a copy of this message | ||
I used phorum31b and experienced a CUP has be eaten problem.
I asked phorum developer the same help. But think it may get help form
php people.
The usage of phorum is nothing but a couple of DB queries written by
PHP.
I experienced a randomly problem after phorum send requests to Mysql by
PHP
script. MySql is built as Script interpreter on Apache.
the problem looks like this:
once a client send a request (through phorum by php script) the server
shows the following error message:
(see attached image1)
"PHP caused an invalid page fault in
module PHP.EXE at 0177:004263e8.
Registers:
EAX=33353225 CS=0177 EIP=004263e8 EFLGS=00010202
EBX=006bee6c SS=017f ESP=006becc0 EBP=006bfda4
ECX=020ca520 DS=017f ESI=013e9564 FS=5faf
EDX=00000000 ES=017f EDI=00485754 GS=0000
Bytes at CS:EIP:
89 50 04 51 e8 d3 b8 01 00 59 c3 90 90 90 90 90
Stack dump:
0043a5e9 020ca530 0042c3f8 004856a0 020ca530 00485710
00485710 006becec ffff8000 006bf9b8 00430ce9
013e9530 006bee0c 006bee4c 006bfd90 00000001"
the Apache server error_log shows:
"Premature end of script headers: c:/php3/php.exe"
And the memory has been eaten.
I am not sure it is PHP problem. But hardly say it is MySql problem
since
other allication using MySql is ok.
Help please.
--
**********************************************
Dr. Gangmin (Gary) Li * Research Fellow
Knowledge Media Institute (KMi)
The Open University, Milton Keynes, MK7 6AA
Tel: +44 1908 858519 * Fax: +44 1908 653169
http://kmi.open.ac.uk
**********************************************