#19022 [NEW]: PHP Warning: Failed to write session data (files)
From: phpbugs at mx4k dot com Date: Wed, 21 Aug 2002 15:09:17 +0000 Subject: #19022 [NEW]: PHP Warning: Failed to write session data (files) Groups: php.bugs Request: Send a blank email to php-bugs+get-17448@lists.php.net to get a copy of this message
From: phpbugs@mx4k.com
Operating system: linux (rh7.3), apache 1.3.26
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: PHP Warning: Failed to write session data (files)
hi there,
i have a webserver running rh7.3 with apache 1.3.26 and php4.2.1 as
module. At random (not reproduceable reasons) all my session data gets
lost. the session file exists but all data written there in previous
scripts is gone.
All i get a hundreds of errors in my logfiles (like these):
[21-Aug-2002 16:47:07] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:47:13] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:48:29] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:48:51] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:49:49] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:50:04] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:50:19] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:52:02] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
[21-Aug-2002 16:52:11] PHP Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in Unknown on line 0
the webserver is at a very high load (70k users per day). problem is that
i need that session data but i cannot rely on them.
the session info in php.ini looks like this:
[snip]
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the
path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = /tmp
; Whether to use cookies.
session.use_cookies = 1
; Name of the session (used as cookie name).
session.name = reqid
; Initialize session on request startup.
session.auto_start = 1
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 604800
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php
; Percentual probability that the 'garbage collection' process is started
; on every session initialization.
session.gc_probability = 1
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
; Check HTTP Referer to invalidate externally stored URLs containing ids.
session.referer_check =
; How many bytes to read from the file.
session.entropy_length = 0
; Specified here to create the session id.
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
; Set to {nocache,private,public} to determine HTTP caching aspects.
session.cache_limiter = nocache
; Document expires after n minutes.
session.cache_expire = 180
; use transient sid support if enabled by compiling with
--enable-trans-sid.
session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
--
Edit bug report at http://bugs.php.net/?id=19022&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19022&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19022&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19022&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19022&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19022&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19022&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19022&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19022&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19022&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19022&r=globals
Thread (75 messages)
- #19022 [Opn]: PHP Warning: Failed to write session data (files)
- #19022 [Opn->Bgs]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Bgs]: PHP Warning: Failed to write session data (files)
- #19022 [Bgs->Opn]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Opn->Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk->NoF]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [NoF->Opn]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Opn->Fbk]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Fbk->NoF]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- #19022 [NoF]: PHP Warning: Failed to write session data (files)
- #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
- Bug #19022 [Com]: PHP Warning: Failed to write session data (files)
| « previous | php.bugs (#17448) | next » |
|---|