ID:               24362
 Updated by:       [EMAIL PROTECTED]
 Reported By:      grandadmirale at yahoo dot com
 Status:           Bogus
 Bug Type:         Performance problem
 Operating System: Linux
 PHP Version:      4.3.2
 New Comment:

Without buffering this script runs quickly.  There is no bug here.


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

[2003-06-28 17:27:14] grandadmirale at yahoo dot com

Turning it off does NOT fix this problem.

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

[2003-06-28 16:29:40] grandadmirale at yahoo dot com

That's the thing though, as a script writer I can't disable that
option, I don't see why it's not setable by script, all other session
options are. Sure I can distribute a message saying to ask your host to
disable this if it's on, but that's not very effective.

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

[2003-06-28 16:26:57] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Yes it would. Not only does it force increased memory allocation but is
also causes parser to go through the data. This can be quite slow,
while on a small output couple of kb it may be too small to notice on
large files you'll definately feel the impact. If you don't like the
performance loss disable that option.
This is not a bug.

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

[2003-06-28 16:23:23] grandadmirale at yahoo dot com

Yes it's on... but would it really slow it down THAT MUCH? I will try
turning it off on one of the servers tested on, but this becomes a
problem since it's not an option for people to turn it off since it's
not changeable via script... which might be a good thing to change, I
don't really see it presenting a problem, any good php script adds the
sessid itself to the url anyways.

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

[2003-06-28 15:25:02] [EMAIL PROTECTED]

Are you using session.use_trans_sid if so that would explain the
performance drop. Since php would need to buffer the entire output of
the script and pass it through a parser that would add a session id to
every URL. This would explain why outputing longer text would get
progressively slower.

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

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

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

Reply via email to