The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need urgent advice /tmp O_RDWR

Discussion in 'General Discussion' started by registerpol, Feb 12, 2004.

  1. registerpol

    registerpol Member

    Joined:
    Feb 25, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    Hello Guys I have big problem presently

    I was looking for solutions everywhere

    is about /tmp

    /dev/tmpMnt 190M 153K 180M 1% /tmp


    I have /tmp getting fillied up with empty session files up to one level

    -rw------- 1 nobody nobody 0 Feb 12 09:23 sess_a4a815777724cd6b17ab0b1718c2ee5e

    -rw------- 1 nobody nobody 0 Feb 12 09:23 sess_b35a2080be9f2c79ab7517755dd48d56

    -rw------- 1 nobody nobody 0 Feb 12 09:24 sess_cfb6afe3af40d05a761468a5f5e932ac

    and then php session can not write to /tmp


    Warning: session_start(): open(/tmp/sess_63b410ed8d2a4eb78e4ebc2b0a7d150a, O_RDWR) failed: Input/output error (5) in /home/client/public_html/folder/index.php on line 2

    All clients receiving errors on their php sessions.

    Of course I did

    chmod 1777 tmp folder and is not full at all.
    takes aprox only 50 sessions to get this error

    Your advice is upreciated :rolleyes:
     
  2. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    The sess files are mysql/php sessions that the server has. If you delete them it will mess up the site assosciated with them. Try restarting mysql and if that doesn't work touch the files in /tmp for the appropriate name then restart mysql.
     
  3. registerpol

    registerpol Member

    Joined:
    Feb 25, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    follow up

    kris1351

    Thank you for advice , restarted mysql , waiting for results.

    Would you mind guiding me in case how to touch these session files ?
     
  4. itrends

    itrends Well-Known Member

    Joined:
    Oct 21, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    we have the same problem. It keeps happening!
     
  5. AlexSmithMCP

    AlexSmithMCP Well-Known Member

    Joined:
    May 26, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    as do i, its made all the sites on that server that use sessions grind to a halt
     
  6. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    It is rather difficult to say what or where the problem is on your server, but it is very likely to be a Php script exhausting resources and return internal errors causing this problem.

    Did you check the log files to see the error messages returned by Apache?
    Is your server secure and protected?
     
Loading...

Share This Page