Hello, on my webserver (Apache, php) i have like 32 seconds max execution time, but my firewall (config server firewall) reporting processes that running more than 100 seconds. I want to ask why these processes are not killed by apache after 32 seconds from execution? Can i anyhow change this using free software/tools? Why actually there is above mentioned php variable while scripts running longer than that? i found also an Apache directive called "Timeout"
What types of script they are? Are they forking from command line ( like using a cron job ) or scripts running via a web access?
TheSHosting: these looks like an publicly accessible scripts, not cronjobs. For example websites root index.php or an submission page submit.php etc.
With the max_execution_time, although, the execution time starts when PHP has completed the interpretation of the script and ends when the last statement has executed, the tasks that an operating system and the PHP interpreter has to do are not counted in the execution time. Additionally, external commands run using system or exec do not count towards the execution time. So even though your max_execution time is 32 seconds, a php process could technically run for longer. CSF has a built in option that allows you to automatically have processes exceeding a certain time limit killed. Use caution when enabling this though as it can cause unintended processes to be killed when configured incorrectly.