Intermittent Session Errors

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have written a series of php scripts which access a mySQL database and
makes use of session variables. Just in the past two days I have
intermittently been receiving the following error messages:

 Warning: Unknown(): write failed: No space left on device (28) in Unknown
on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that
the current setting of session.save_path is correct (/tmp) in Unknown on
line 0

I have not changed the code relating to the session variables in several

This is on a shared server. The server is a linux server running php 4.3.9
and Apache 1.3.31.

Any suggestions anyone can give would be greatly appreciated.

Keith Tellinghuisen

Re: Intermittent Session Errors

On Sat, 20 Nov 2004 08:14:50 -0800, "Keith Tellinghuisen"

Quoted text here. Click to load it

 The filesystem containing /tmp is full. Your system administrator should fix
this immediately - and if they haven't noticed you ought to question what level
of support you're getting, since a lot of things will go horribly wrong if /tmp
is full.

Quoted text here. Click to load it

 It's (probably) not your fault - but check how much data you're trying to
store in session variables. If it's a lot of data, all of this is written to
/tmp, and would contribute to it filling up. Since it's a shared server, it
could well be another user doing this.
< Space: disk usage analysis tool

Site Timeline