From:             nicolas dot ross at cybercat dot ca
Operating system: Any
PHP version:      4.3.10
PHP Bug Type:     Session related
Bug description:  Big session takes more than 90 secs. to load

Description:
------------
I tried this on Linux 2.4.20, and mac os x server 10.3. Both servers have
plenty of cpu and ram (linux: quad xeon 2.7 ghz, 2 gig of ram, macosx:
dual g5 2 ghz, 2 gig ram), both doing almost nothing at the moment of the
tests.

When we have a big session (~4 megs) under php 4.3.10, it takes up to 120
seconds to load the session with session_start.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr
--with-xml --enable-versioning --with-zlib --enable-track-vars
--enable-trans-sid --disable-debug

Difference from php.ini-recommended :
output_buffering = Off
memory_limit = 200M
error_reporting  =  E_ALL & ~E_NOTICE
display_errors = On
variables_order = "EGPCS"
register_globals = On
register_argc_argv = On
post_max_size = 200M
upload_max_filesize = 150M
session.gc_maxlifetime = 3660
session.bug_compat_42 = 1

gdb backtrace not relevant

Reproduce code:
---------------
<?
  session_id('12afec070d58ce9e64df6e458e097907');
  session_start();
?>

The sess_12... file is available here :
http://xserve3.gizmolink.com/~rossnick/sess_12afec070d58ce9e64df6e458e097907.gz

Expected result:
----------------
Loading in 3-4 seconds or less

Actual result:
--------------
Loading in more than 90 seconds

-- 
Edit bug report at http://bugs.php.net/?id=31522&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31522&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31522&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31522&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31522&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31522&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31522&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31522&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31522&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31522&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31522&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31522&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31522&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31522&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31522&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31522&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31522&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31522&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31522&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31522&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31522&r=mysqlcfg

Reply via email to