|
Post by Old Shendemiar on Feb 21, 2004 2:44:15 GMT
I have no errors, all is fine with debugger!
But when i raise the load (more output for php to write) it freezes! Browser is just waiting for something... When i kill the php.exe from taskmanager, the page flashes to the browser just fine...
|
|
|
Post by Old Shendemiar on Feb 21, 2004 14:49:36 GMT
I have no errors in my php code, all goes fine with debugger.
But when i browse my pages on localserver (with different browsers) it freezes! Browser is just waiting for something... When i kill the php.exe from taskmanager, the page flashes to the browser as complete and as it's meant to be.
The pages have several includes, and it returns "complex" page with many tables inside tables, quite many links and img src's. The page works when the query inside returns few resultrows, but when it returns several, it freezes.
I've experimented that reducing columns written on page allows more rows shown, or less rows shown allows more columns shown... Also removing some printcell functions and echoing them manually allowed some more rows to be displayed, so it might be memory related?
Php.exe uses usually ~6M. Is it much, low, normal?
I'm totally out of ideas, whats this all about?
|
|
|
Post by Old Shendemiar on Feb 21, 2004 15:34:21 GMT
|
|
Perun
Public Area Guest
Issa (Vis) [1:76:24]
Posts: 2,506
|
Post by Perun on Feb 21, 2004 20:42:43 GMT
What do you mean here? I'm using PHP as standalone EXE, so cannot really tell...
|
|
|
Post by Old Shendemiar on Feb 21, 2004 23:40:45 GMT
What do you mean here? I'm using PHP as standalone EXE, so cannot really tell... Prun my love! öh, not relly, what i was saying is that i like you and respect you... so lets move on (embarrassed...) i havent observed the process's memory when everything goed ok, but the frozen php.exe is usally at ~6M. I really am wery confused about his, so i cant tell you more cos i dont know what i mean, and what you mean....
|
|
Perun
Public Area Guest
Issa (Vis) [1:76:24]
Posts: 2,506
|
Post by Perun on Feb 22, 2004 9:55:41 GMT
You're drunk, obviously. ;D
The reason I never see php.exe in task manager is that my scripts never run long enough to notice (no, I'm not bragging). I therefore made one test script (endless empty while loop) and the results are:
~4.5 megs of mem + ~3 megs of virtual mem
So I guess that 6 megs aren't too much.
|
|
Perun
Public Area Guest
Issa (Vis) [1:76:24]
Posts: 2,506
|
Post by Perun on Feb 22, 2004 10:04:19 GMT
Hmmmmmm.... Interesting. Stopping the script display in a browser does not kill the php.exe process! One have to close the page/window altogether!
And the funny thing is that although browser doesn't need to display the script anymore, php is still running somewhere in the background and eating cpu cycles like crazy.
|
|
|
Post by Old Shendemiar on Feb 22, 2004 12:57:20 GMT
Those of mine dont use CPU at all...
And woudnt infinite loop cause the page-output to stop at that point. I gett full-complete pages when i kill the php.exe
|
|
|
Post by Old Shendemiar on Feb 23, 2004 2:41:07 GMT
I finally got rid of it! (Was a hard one....two nights)
I really dont know what it was, but i got rid of it.
|
|