Results 1 to 6 of 6

Thread: Need urgent advice /tmp O_RDWR

  1. #1
    Member
    Join Date
    Feb 2003
    Location
    Montreal
    Posts
    20

    Default Need urgent advice /tmp O_RDWR

    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
    http://www.registerpol.com

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    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.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  3. #3
    Member
    Join Date
    Feb 2003
    Location
    Montreal
    Posts
    20

    Default 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 ?
    http://www.registerpol.com

  4. #4
    Member
    Join Date
    Oct 2004
    Posts
    50

    Default

    we have the same problem. It keeps happening!

  5. #5
    Member
    Join Date
    May 2004
    Posts
    71
    cPanel/WHM Access Level

    Root Administrator

    Default

    as do i, its made all the sites on that server that use sessions grind to a halt

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    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?
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

Similar Threads

  1. Need some urgent advice - /tmp is write protected.
    By Adam_UOForums in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 02-11-2011, 05:43 PM
  2. Replies: 4
    Last Post: 09-24-2006, 06:01 AM
  3. urgent advice required...
    By 4u123 in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 07-02-2006, 03:13 PM
  4. /tmp problem (URGENT)
    By Ankit_bond2005 in forum E-mail Discussions
    Replies: 3
    Last Post: 06-29-2004, 06:12 AM
  5. URGENT advice about second server
    By purplep in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 03-20-2002, 06:32 PM