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:
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
In php.ini we set:
Code:
session.save_path = /tmp
session.gc_probability = 10
session.gc_divisor = 100
session.gc_maxlifetime = 100
/tmp is mounted on /dev/ram2 (RAM disk)


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?