Intermittent Session Errors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Keith Tellinghuisen

    Intermittent Session Errors

    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_pa th is correct (/tmp) in Unknown on
    line 0

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

    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


  • Andy Hassall

    #2
    Re: Intermittent Session Errors

    On Sat, 20 Nov 2004 08:14:50 -0800, "Keith Tellinghuisen"
    <keithtell@adel phia.net> wrote:
    [color=blue]
    >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
    >intermittent ly 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_pa th is correct (/tmp) in Unknown on
    >line 0[/color]

    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.
    [color=blue]
    >I have not changed the code relating to the session variables in several
    >days.
    >
    >This is on a shared server. The server is a linux server running php 4.3.9
    >and Apache 1.3.31.[/color]

    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.

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    Working...