#17451 [Fbk]: session_start timeout

From: Date: Fri, 30 Aug 2002 08:51:13 +0000
Subject: #17451 [Fbk]: session_start timeout
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18234@lists.php.net to get a copy of this message
ID: 17451 Updated by: derick@php.net Reported By: eM_gotcha@gmx.net Status: Feedback Bug Type: Session related Operating System: Linux 2.4.17 PHP Version: 4.2.1 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. A backtrace would be very nice, it is much easier debugging with it. Derick Previous Comments: ------------------------------------------------------------------------ [2002-08-30 04:33:53] michael.schlottke@sloede.com Nah, it doesn't work either. It is even worse, now the script crashes the very first time after calling a session_start() while a session variable is registered. ------------------------------------------------------------------------ [2002-08-27 22:17:58] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-08-27 19:33:27] michael.schlottke@sloede.com I have RH73 and the same problems... it occurres with php4.2.0, 4.2.1, 4.2.2, 4.3.0 and with apache1.3.26, 2.0.39. First the scripts seem to work, after a while of using the script the browser will say something like Request data from localhost... and I can wait forever :( It's directly related to session_start because if I remove the session_start directive or make a "rm -f /<tmp-dir>/sess*", it will work again ------------------------------------------------------------------------ [2002-05-31 12:24:55] eM_gotcha@gmx.net it seems that php sometimes ignores session.save_path and tries to save the session in the default path "/tmp". i've set the path to another temp directory on my windows pc. "/tmp" exists on my linux pc but not on the windows pc. the script which uses session_start crashes sometimes on my windows pc (also i've changed the path). my php-debugger ALWAYS shows a warning that "/tmp" doesn't exist. ------------------------------------------------------------------------ [2002-05-27 07:24:34] eM_gotcha@gmx.net i'm using apache 1.3.24 with php 4.2.1. session_start sometimes takes too long and i get a timeout. i've tryed to set the max. execution time for php higher then 30 seconds (60,90,...). i've tryed to change rights for /tmp, running apache with another user and and and... i tryed different php-session settings. i don't do anything before i call session_start. an apache restart sometimes help but not always. also it seems the problem appears only after several hours. i don't get any error or warning message in my log files. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17451&edit=1

« previous php.bugs (#18234) next »