CloudLinux OS Blog

Beta: CageFS updated

Beta: CageFS updated

The new updated CageFS version is available for download from our updates-testing repository.

Changelog:

cagefs-6.0-44

  • CAG-713: added /var/lib/php/session to cagefs.mp file on Plesk;
  • CAG-717: cagefs plugin is not opened in new tab in cPanel 65.9999 edge;
  • CAG-718: changed permissions of /etc/cagefs directory from 701 to 751;
  • CAG-716: fixed false error messages of proxyexec;
  • CAG-709: CageFS does mount points from the cagefs.mp in proper order (for CL7 and systemd);
  • LVEMAN-1118: preventing cronjobs from overlapping.

To updated run:

yum clean all --enablerepo=cloudlinux-updates-testing
yum update cagefs --enablerepo=cloudlinux-updates-testing

 

Topic: CloudLinux OS Blog , Tags: #cagefs, #beta,

413 people viewed this

Comments (6)

 
by Guest - Stephan Schamp / Friday, 07 July 2017 14:32

Hi,

what exactly was changed in

CAG-713: added /var/lib/php/session to cagefs.mp file on Plesk;


I can't see any difference between cagefs-6.0-39.1.el7.cloudlinux.x86_64 (non-testing) and cagefs-6.0-47.el7.cloudlinux.x86_64 (testing)

Hi, what exactly was changed in CAG-713: added /var/lib/php/session to cagefs.mp file on Plesk; I can't see any difference between cagefs-6.0-39.1.el7.cloudlinux.x86_64 (non-testing) and cagefs-6.0-47.el7.cloudlinux.x86_64 (testing)
by Mykola Naugolnyi / Friday, 07 July 2017 15:55

Hi,

If /var/lib/php/session directory exists in the system (present in Plesk), then the line @/var/lib/php/session.,700 will be added in /etc/cagefs/cagefs.mp.

That is this directory will be created inside CageFS for each user personally, not to allow a user see other users PHP sessions.

Also, session files clean up with tmpwatch was added.

Hi, If /var/lib/php/session directory exists in the system (present in Plesk), then the line @/var/lib/php/session.,700 will be added in /etc/cagefs/cagefs.mp. That is this directory will be created inside CageFS for each user personally, not to allow a user see other users PHP sessions. Also, session files clean up with tmpwatch was added.
by Guest - Stéphan Schamp / Wednesday, 12 July 2017 08:14

Hi,

can you provide more details on:

"Also, session files clean up with tmpwatch was added. "

I can't seem to find how this is done or where this is done.
I'd need to know how sessions are cleaned up right now, since we have a few servers with session folders within CageFS with 100.000+ sessions which never get cleaned up.
Hugely slowing the VM's down with getdents() calls.

Hi, can you provide more details on: "Also, session files clean up with tmpwatch was added. " I can't seem to find how this is done or where this is done. I'd need to know how sessions are cleaned up right now, since we have a few servers with session folders within CageFS with 100.000+ sessions which never get cleaned up. Hugely slowing the VM's down with getdents() calls.
by Mykola Naugolnyi / Wednesday, 12 July 2017 12:14

Please find the description of tmpwatch settings for cagefs here: http://docs.cloudlinux.com/tmp_directories.html

Use cagefsctl --set-tmpwatch='/usr/sbin/tmpwatch -umclq 720

Cron itself is located in /etc/cron.d/cp-cagefs-cron

Please find the description of tmpwatch settings for cagefs here: http://docs.cloudlinux.com/tmp_directories.html Use cagefsctl --set-tmpwatch='/usr/sbin/tmpwatch -umclq 720 Cron itself is located in /etc/cron.d/cp-cagefs-cron
by Guest - Stéphan Schamp / Saturday, 08 July 2017 09:44

Aha!
I was wondering how these sessions would get cleaned up.

But did you know Plesk has a cronjob that takes into account the max gc session time?
Not at my laptop atm, but it's easy to find /etc/Cron*
Would it not be better to ask Plesk to make that script CageFS aware?

Aha! I was wondering how these sessions would get cleaned up. But did you know Plesk has a cronjob that takes into account the max gc session time? Not at my laptop atm, but it's easy to find /etc/Cron* Would it not be better to ask Plesk to make that script CageFS aware?
by Mykola Naugolnyi / Monday, 10 July 2017 09:05

We will discuss it with our CEO.

We will discuss it with our CEO.

Leave your comment

Guest, Friday, 20 October 2017

Captcha Image