Hi, i've two questions, and my setup is centos, cloudlinux, litespeed
1. I've read on litespeed optimization guide that i can use /dev/shm/phpXX as session.save_path folders for my php versions as a performance tweak. I could add to cagefs these folders through cagefs.mp in order to be accessible from the user.
I would like to know if, after a restart, cpanel creates /dev/shm/phpXX with the proper permissions if the folder is not found. I also thought that in busy servers, session files in memory could lower the disk overhead, if files (such as session that are not mandatory to exist after a reboot) are written in the ram.
Has anyone tried this, will that work?
2. i'm using cpanel's mod_security with the rules "COMODO ModSecurity LiteSpeed Rule Set" added as vendor.
When i disable/enable a rule, i get a message that i should deploy and restart apache and have to click it in order to apply the changes and get a reply that apache was notified to do a graceful restart. Does that restarts litespeed also, or should i restart afterwards the litespeed service through litespeed plugin?
Are there any symlinks that restarts litespeed if i click "restart services-> http server (apache)" or i should restart litespeed from that link?
best regards,
1. I've read on litespeed optimization guide that i can use /dev/shm/phpXX as session.save_path folders for my php versions as a performance tweak. I could add to cagefs these folders through cagefs.mp in order to be accessible from the user.
I would like to know if, after a restart, cpanel creates /dev/shm/phpXX with the proper permissions if the folder is not found. I also thought that in busy servers, session files in memory could lower the disk overhead, if files (such as session that are not mandatory to exist after a reboot) are written in the ram.
Has anyone tried this, will that work?
2. i'm using cpanel's mod_security with the rules "COMODO ModSecurity LiteSpeed Rule Set" added as vendor.
When i disable/enable a rule, i get a message that i should deploy and restart apache and have to click it in order to apply the changes and get a reply that apache was notified to do a graceful restart. Does that restarts litespeed also, or should i restart afterwards the litespeed service through litespeed plugin?
Are there any symlinks that restarts litespeed if i click "restart services-> http server (apache)" or i should restart litespeed from that link?
best regards,