logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_fcgid random error: Uncaught Error: Class XYZ
Author
federicoemartinez



Joined: 13 May 2023
Posts: 3
Location: Argentina

PostPosted: Tue 16 May '23 19:19    Post subject: mod_fcgid random error: Uncaught Error: Class XYZ Reply with quote

I'm running apache 2.4 on windows with mod_fcgid. From time to time I see a spike in cpu usage, followed with a lot of php-cgi being spawned and timeout errors. The timeouts occur on urls that normally work fast (ms).
What I also see on my logs is that after that a lot of messages like "Uncaught Error: Class XYZ not found" appear and I have to restart Apache in order to make the application work. Class XYZ exists and there is not a syntax error or similar because that class is used in requests that before the spike return 200.

Any idea of where I can start to look?
Thanks!
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Wed 17 May '23 11:30    Post subject: Reply with quote

Looks like a bug in PHP. Which PHP version are you running? Try updating to a newer version.
Back to top


Reply to topic   Topic: mod_fcgid random error: Uncaught Error: Class XYZ View previous topic :: View next topic
Post new topic   Forum Index -> Apache