[squid-users] Squid-Cache VS PHP, put some things in perspective
Eliezer Croitoru
ngtech1ltd at gmail.com
Sun Apr 24 22:06:20 UTC 2022
Hey Amos,
I am testing the session helper now for quite some time and it seems that
there is not memory leak and the helpers seems to run pretty stable for the
last days.
I will continue to run the test since it doesn't cause any issues for my
proxy at all, not in performance and not in any helpers crashes.
Eliezer
----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com
-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of
Amos Jeffries
Sent: Thursday, April 14, 2022 07:18
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Squid-Cache VS PHP, put some things in
perspective
On 13/04/22 10:30, Eliezer Croitoru wrote:
>
> I am looking for adventurous Squid Users which wants to help me test if
> PHP 7.4+ still possess the same old 5.x STDIN bugs.
>
Hi Eliezer, Thanks for taking on a re-investingation.
FTR, the old problem was not stdin itself. The issue was that PHP was
designed with the fundamental assumption that it was used for scripts
with very short execution times. Implying that all resources used would
be freed quickly.
This assumption resulted in scripts (like helpers) which need to run for
very long times having terrible memory and resource consumption side
effects. Naturally that effect alone compounds badly when Squid attempts
to run dozens or hundreds of helpers at once.
Later versions (PHP-3/4/5) that I tested had various attempts at
internal Zend engine controls to limit the memory problems. Based on the
same assumption though, so they chose to terminate helpers early. Which
still causes Squid issues. PHP config settings for that Zend timeout
were unreliable.
AFAIK, That is where we are with knowledge of PHP vs helper usage.
PHP-6+ have not had any serious testing to check if the language updates
have improved either resource usage or the Zend timeout/abort behaviour.
HTH
Amos
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list