cancel
Showing results for 
Search instead for 
Did you mean: 

End of script output before headers: index.php

End of script output before headers: index.php

Server:
AMD EPYC 7401P 24-Core
128 GB DDR4 ECC
2 x 960 GB NVMe SSD


I first had PHP7.3 with Magento 2.3.5. This worked well.
Changed to PHP7.4 with Magento 2.4.1. I am getting the following error.: End of script output before headers: index.php

I got the following reply from my provider:
t seems like your website scripts use a lot of RAM. Because of this, they get killed by our process monitoring system:

[processwatch]: Killed pid=7065(php74.fcgi) reason=limits on rssize [used 847 MiB, limit 600 MiB] were exceeded. Matching rule parent is 'FALLBACK'
[processwatch]: Killed pid=7111(php74.fcgi) reason=limits on rssize [used 2799 MiB, limit 600 MiB] were exceeded. Matching rule parent is 'FALLBACK'
[processwatch]: Killed pid=7158(php74.fcgi) reason=limits on rssize [used 1645 MiB, limit 600 MiB] were exceeded. Matching rule parent is 'FALLBACK'
[processwatch]: Killed pid=7165(php74.fcgi) reason=limits on rssize [used 2783 MiB, limit 600 MiB] were exceeded. Matching rule parent is 'FALLBACK'

We can configure this setting for you in our process monitoring system.

Permissions and Memory limit is set correctly. This is a clean Magento 2.4.1 install with no 3rd party extentions.
Can somebody help me with this, and my limit is now 600 MiB, what should it be? I have a LAMP stack with fcgi.

Thanks in advance,
Peter