I have:
CPU: 2 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (2600.06-MHz K8-class CPU)
128 GB RAM
FreeBSD OS
session files stored in RAM
each session file is 1...10 kb
gc_maxlifetime = 1440
quantity of session files is: 21000 (100M RAM)
when I change gc_maxlifetime to = 3600
quantity of session files changes to: 55000 (250M RAM)
After it site start opening were slowly.
Site start working slowly only after changing gc_maxlifetime to = 3600. When gc_maxlifetime = 1440 all works perfectly.
So, it happens because of huge amount of session files.
Would should I do to make it work faster?