[4.0] Joomla 4 - Extremely CPU intensive (Server load) #33142
Replies: 20 comments
-
Please test with the nightly build to see if it is still an issue. Thanks. |
Beta Was this translation helpful? Give feedback.
-
@Quy same, tested again with current nightly build Extremely CPU intensive !! Joomla! Version | Joomla! 4.0.0-beta8-dev Development [ Mañana ] 2-February-2021 20:02 GMT Each test ist one client website click (single page load)! |
Beta Was this translation helpful? Give feedback.
-
Share your exact PHP info. I'll bet you're missing something and a polyfill is used thus the bad performance |
Beta Was this translation helpful? Give feedback.
-
@dgrammatiko attached export settings from metioned joomla instance (including php info) |
Beta Was this translation helpful? Give feedback.
-
maybe it's easier to debug this on your side. My local setup has these extensions enabled: Dimitriss-MBP:joomla-cms dgrammatiko$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
gd
gettext
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
Xdebug
|
Beta Was this translation helpful? Give feedback.
-
Please try apply the changes from that PR #31143 then disable "Log Deprecated" in global config. The graph itself does not tell anything usfull that we can use for track the issue. |
Beta Was this translation helpful? Give feedback.
-
First post |
Beta Was this translation helpful? Give feedback.
-
but I read it 😄 well then, ignore my last sentence 😄 |
Beta Was this translation helpful? Give feedback.
-
@Fedik first post ist directly comparison vs J3 on same server. The different is extremly. Where Joomla 3 is not noticeable at all, joomla 4 strikes out extremely. |
Beta Was this translation helpful? Give feedback.
-
Do you have more matrices of the server load? I/O, memory usage, separated Info for Apache and SQL server. What's the timescale? Some more information about the hardware like baremetal or VM (which hypervisor). SSD, how they are connected nvme,SAS,sata? |
Beta Was this translation helpful? Give feedback.
-
@Fedik same problem on mentioned PR |
Beta Was this translation helpful? Give feedback.
-
If it possible to run profiler (eg xdebug) and attach the result, that also would be nice. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I have several Joomla 4 sites on basic cheap $5 servers at DigitalOcean and Linode and I dont see any such CPU spikes, I also dont see any spikes locally. |
Beta Was this translation helpful? Give feedback.
-
I suspect something with their file system set-up |
Beta Was this translation helpful? Give feedback.
-
Nic runs Joomla 4 for his live akeeba.com - Im sure if there were such (consistent, replicatable ) spikes we would have heard about it by now ;-) |
Beta Was this translation helpful? Give feedback.
-
His blog not his main site ;) I've been running it for a month on learnjoomla4.com and nothing but joy so far |
Beta Was this translation helpful? Give feedback.
-
sloth-theme.site (the only true SPA/PWA ever build with Joomla) runs J4 for a year on a $5 DO VPS and here are some stats |
Beta Was this translation helpful? Give feedback.
-
it's really hard to compare different metrics/tools i'm inclined to close this issue...maybe room for https://github.com/joomla/joomla-cms/discussions |
Beta Was this translation helpful? Give feedback.
-
Thanks all for your feedback. Our hoster has now started to check further with that issue. I'm with you, it seem not to be a Joomla issue. Anyway, if anything comes up, I will share the problem with you. |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the issue
Install blank Joomla4 Beta7 on a server with CPU monitoring and without any other installation.
Expected result
These ist for example a productive Joomla3 CPU activity on a website load
Actual result
And Joomla4, when just opening backend login or any other backend list view or something else.
It also effects any view, but high load was deteced on component list views, login view and edit views.
We have tested it on high end Servers with different PHP Versions.
Anytime same result.
Tested also by disabling any Joomla Core Plugin
Note: Problem is not noticeable in the browser and also not in the JDebug console!
But if more clients at same time open a stream, the Server goes down and than ist's really noticeable with a Service Unavailable Error! This must not happen, not with a bare Joomla installation on a high-end machine!
We have debugged with exit, etc. and could just reduce the server load minimal, but not to any acceptable value.
Maybe the problem depends on huge file dependency, not sure!
System information (as much as possible)
Tested on: Intel Xeon E3-1270v6 3,8 GHz 4 (8) Core (Dedicated Server)
Beta Was this translation helpful? Give feedback.
All reactions