php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31522 Big session takes more than 90 secs. to load
Submitted: 2005-01-12 19:53 UTC Modified: 2005-01-12 23:34 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: nicolas dot ross at cybercat dot ca Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.10 OS: Any
Private report: No CVE-ID: None
 [2005-01-12 19:53 UTC] nicolas dot ross at cybercat dot ca
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-12 23:34 UTC] tony2001@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of #31332.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 05:01:30 2024 UTC