Results 1 to 1 of 1
Dear,
We are trying to open multiple (>150) PHP sessions from CLI, but creation of more sessions (session_start) when already 117 sessions are opened will fail with the error:
Code:
...
- 02-19-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 3
PHP: No space left in session save_path
Dear,
We are trying to open multiple (>150) PHP sessions from CLI, but creation of more sessions (session_start) when already 117 sessions are opened will fail with the error:
In php.ini we set:Code:PHP Warning: session_start(): open(/tmp/sess_jt1qr23vd41n5quj7o6rfegvp0, O_RDWR) failed: No space left on device (28) in /www/byscript.php on line 5 PHP Warning: Unknown: open(/tmp/sess_jt1qr23vd41n5quj7o6rfegvp0, O_RDWR) failed: No space left on device (28) in Unknown on line 0 PHP 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
/tmp is mounted on /dev/ram2 (RAM disk)Code:session.save_path = /tmp session.gc_probability = 10 session.gc_divisor = 100 session.gc_maxlifetime = 100
There is enough space left (1MB) on the save_path, but it seems this location can only store 117 files. This count does not depend on the size of the session files.
What could be wrong here?


Reply With Quote