Huge swapping load PHP maxlifetime

 

Debian deletes all old PHP sessions after 24 Hours

After transfering an outdated drupal page with many unpatched modules to the server the deletions causes a huge load of swapping.

Many bots and Spiders are still trying to exploit the updated site

Adding: vm.swappiness=1 to /etc/sysctl.conf solves it

with sysctl -p the changes applies immediately