Re: 20+ Second Delay Serving Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







On Tue, Dec 5, 2023 at 3:23 AM David Colter <dcolter@xxxxxx> wrote:
Hello,

First time posting here.  I knew not where else to post.

Background: I have the ability to serve multiple versions of PHP-FPM on the server.  A few months ago, I set the version for this website to 8.2.13. It took a while to notice the situation. System is Centos 7, with a DirectAdmin control panel.

There is one script in a website that takes 20-30 seconds to display its contents. It uses fopen (to record) and curl (to request an external resource). Investigating the issue lead me to discover that all program’s “processing” is completed within 1 second of the page request. There were no errors in 2 different browser consoles, nor in any error logs. 

Which script is it?
 

On a whim, I switched to version 8.1.26. Surprisingly, the issue disappeared and the page was displayed immediately after execution. I then selected 8.3.0 and the page was displayed fast again. 

One more time with 8.2 and the 20+ delay resurfaced.  Keep in mind that the script is not changing - only the PHP version.

I believe this is internal to PHP, although I suppose it could also be due to build rules. 

What steps might be taken to determine if this is a PHP bug or a build issue?

Thanks,

David 



Deepak
"The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi"

+91 73500 12833
deicool@xxxxxxxxx

LinkedIn: www.linkedin.com/in/deicool
Upwork: https://www.upwork.com/freelancers/~0150257dd6dfd15b4b

"Plant a Tree, Go Green"

Make In India : http://www.makeinindia.com/home

 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux