registerpol

Member
Feb 25, 2003
20
0
151
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:
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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.
 

registerpol

Member
Feb 25, 2003
20
0
151
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 ?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
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?