Open requested to merge webslice/ispconfig3:feature/use-built-in-ini-functions into develop
/etc/jailkit/jk_socketd.ini is around 10MB in size. When the ini parser reads this file, the PHP cron process runs out of memory and crashes with its default memory limit of 128M.
The content of that file looks like this:
[/var/www/clients/client1/web1/dev/log] base=512 peak=2048 interval=10
There is a method here which cleans that file: https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/develop/server/lib/classes/system.inc.php#L2809
But the problem is that the ini parser doesn't understand the
/ foreslash character in ini sections. So the file is never cleaned up, because the ini parser doesn't see any of the sections in that file.
By adding the
/ to the regex I expect that the file will be much smaller and the memory limit will not be hit. Additionally it's nice to have clean system configuration.