Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Kunena Latest 2.0.1 performance

  • oliver
  • oliver's Avatar Topic Author
  • New Member
  • New Member
More
13 years 8 months ago #131999 by oliver
Kunena Latest 2.0.1 performance was created by oliver
Hi, I just upgraded my joomla + kunena installs yesterday, and ever since, my site, but especially the forum has been extremly slow. Slow as in 4-7 seconds loading time for a really small forum. Traffic is so low, that i can usually count the loggin in users on one hand ;)

The server runs locally, so 1gbit link, albeit in a VM being allocated plenty of ram and 2 CPU's.

Firstly I noticed, disabeling kunena_latest brought the speed back up in joomla itself, so I quickly noticed it was kunena causing the slowdowns.

Further analysing the server and running mysqld with the --slow-queries-log option, I noticed whenever a query from the forum was executed, mysql was using up 100% CPU time. I then went to run 'SHOW FULL PROCESSLIST' to see what was running that was being so slow. Obviously quite a few queries get run, but a few that I tried yielded the following results:

SELECT b.rules
FROM j17_assets AS a
LEFT JOIN j17_assets AS b ON b.lft <= a.lft AND b.rgt >= a.rgt
WHERE (a.name = 'com_kunena' OR a.parent_id=0)
GROUP BY b.id, b.rules, b.lft
ORDER BY b.lft
957 rows in set (1.79 sec)

as a matter of fact, the only query I could intersept was this one. Which isn't too supprising, as all these relativily small queries should be by within miliseconds. If this query alone takes almost 2 seconds, and it could for whatever reason be run twice, we're talking about an almost 4 second delay just for quering the database.

Something is going horribly wrong here, especially with kunena_latest even causing the slowdown, which should be quite fast.

Any obvious things I overlooked?

Joomla! version: 2.5.6 Platform: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0e (site.tldk) PHP version: 5.3.8 | safe_mode: Off | register_globals: Off | mbstring: Enabled | GD: 2.0 | MySQL version: 5.1.53 | Base URL: site.tld/joomla/

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Disabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |
htaccess: Missing | PHP environment: Max execution time: 320 seconds | Max execution memory: 128M | Max file upload: 16M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : mistsofpandaria | author: Andy Taylor | version: 1.0 | creationdate: 2012-07-30

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 2.0.1 | creationdate: 2012-07-07

Kunena version detailed: Kunena 2.0.1 | 2012-07-07 [ Balozi ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: UddeIM 2.6

Third-party SEF components: None

Plugins: None

Modules: Kunena Latest 2.0.1

The topic has been locked.
More
13 years 8 months ago - 13 years 8 months ago #132003 by sozzled
G'day, oliver, and welcome to Kunena.

I suggest you read two articles that may help:

(1) Improving Kunena performance ; and

(2) What information should I include when I ask for help (including how to post my configuration report)? . When people edit their configuration report BBcode (as you have made one or two changes) this taints all the evidence. If you want further help in this area then please do not tamper with the BBcode produced by the configuration report writer. Thank you.

It may also assist us to learn what settings you are using with Kunena Latest.
Last edit: 13 years 8 months ago by sozzled.
The topic has been locked.
  • oliver
  • oliver's Avatar Topic Author
  • New Member
  • New Member
More
13 years 8 months ago - 13 years 8 months ago #132005 by oliver
Replied by oliver on topic Kunena Latest 2.0.1 performance
The only 'tampering' that happend was with removing the 'confident' tags as it was no longer confident with my personal details removed. My personal details are of nobodies business here :) marked 'confident' or not. So other then my site/e-mail address being removed, it is exactly the same. I suppose me not trusting my confident data to this site is the same as you not trusting me in having changed actual data :) But if it dramatically changes the outcome of the support, I can of course change my personal data in the site, and regenerate the data.

This hasn't much to do with 'pure performance tuning' with a loaded site with many users etc.

Ever since the upgrade, this one specific query that I posted above, takes about 2 seconds to complete, which is just WAY way to long. This is with only 1 user logged onto the site.

I know technically, that is a mysql issue, but since it's a kunena query, I'm hoping for support here.

Things that I'm looking for, are replies like 'this query indeed should only take 0.02 seconds. It should contain far more/less records/match your post count roughly.

At this point it looks purly like mysql is having some sort of trouble with the query, but don't quite understand yet why.

kunena_latest uses a max post count of 1 to show and just some bare basics, poster name, post date. But it is disabled now to limit the slowness purely to the forum only. With kunena_latest on the front page, the frontpage becomes equally slow.
Last edit: 13 years 8 months ago by oliver.
The topic has been locked.
  • oliver
  • oliver's Avatar Topic Author
  • New Member
  • New Member
More
13 years 8 months ago #132076 by oliver
Replied by oliver on topic as per request
This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Disabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Missing | PHP environment: Max execution time: 320 seconds | Max execution memory: 128M | Max file upload: 16M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : mistsofpandaria | author: Andy Taylor | version: 1.0 | creationdate: 2012-07-30

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 2.0.1 | creationdate: 2012-07-07

Kunena version detailed: Kunena 2.0.1 | 2012-07-07 [ Balozi ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: UddeIM 2.6

Third-party SEF components: None

Plugins: None

Modules: Kunena Latest 2.0.1

The topic has been locked.
More
13 years 8 months ago #132081 by sozzled
I can see why it might take a long time to process things at your website. Please try to use a standard Kunena menu (watch the video in The Kunena Menu to find out how it's done). Because you do not want us to look at your actual website, there is nothing else we can to do help you.

oliver wrote:

My personal details are of nobodies business here

We respect that and we will not ask you for any more information that might otherwise help us to help you. :)

Thank you for posting your question on the forum; we cannot help you but we wish you every success solving the problem.

The only other thought that I can offer at this time is to read When all else fails, try this
The topic has been locked.
Time to create page: 0.279 seconds