News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

jDownloads being very slow the last few days...

Started by fstltna, 30.10.2022 02:29:06

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fstltna

I'm running the latest version of jDownloads and the rest of my site is very snappy, but clicking on the jDownloads menu button it takes literally 30 seconds or so to come back, and navigating around in it also has the same issue. I have about 6,600 downloads right now and loads of disk space so I don't know what might be causing this.
Any suggestions?
https://msbob.org - Hub for the best Microsoft product ever
https://macos.retro-os.live - Hub for classic Macs
https://amigacity.xyz - Portal for the Amiga - Over 2500 free downloads!
https://psp.gameplayer.club - Hub for the Sony PSP/Vita
  •  

ColinM

Hi
Sounds like you have recently loaded something that is incompateible - often a plugin
What version of jD are you using?

Colin
Colin M
  •  

fstltna

I'm using:
jDownloads Version 3.9.8.4 - Date: 2022-08-18 © 2007 - 2022 - Arno Betz www.jdownloads.com

I haven't installed any new mods to joomla. Just added files in the download area. No other of my servers have this issue, can it be because of how many files I have? I noticed there were over 560 pages of log entries. Could either of those be the source? I can give you server access if you like...
https://msbob.org - Hub for the best Microsoft product ever
https://macos.retro-os.live - Hub for classic Macs
https://amigacity.xyz - Portal for the Amiga - Over 2500 free downloads!
https://psp.gameplayer.club - Hub for the Sony PSP/Vita
  •  

Arno

Hi,
do you use download limitations with your users?

When not, you can reduce the number of log entries in the jDownloads system module.
How many folders use you currently?
Use you the categories select box on the top position?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ciklon

Hi, I have the same problem and I don't dare to upgrade my component from version 3.2.69 to 3.9.x. My site has about 4k categories and about 40k downloads. With version 3.2.69, some downloads pages are also slow to load (especially the overview  page), but on versions 3.9.x, the submit file page is especially slow to load.

I apologize for writing in another topic, but I have posted about this problem before for versions 3.2.x and still have no solution.

Best Regards
  •  

ColinM

Hi
Atsometime you need to do that upgrade.
It might be helpful if you setup an XAMPP site on your PC. Using Akeeba you can transfer your site and do the upgrade there as a practice.

Another scheme is to make an akeeba backup of your site but excluding the jdownloads directory. This is where all the Categories and Downloads are stored.  after restoring with the Akeeba Restore process then you can the copy the jdownloads directory with FTP into the test site.

On a live site you need to ensure it is not accessible whilst doing these operations.

Colin   
Colin M
  •  

pixelhexe

I had the same issue with jDownloads being very slow - and I just solved it!

Problem was the logs and the configuration in the system plugin jDownloads.
In a former jDownloads version you set a maximum for the number of downloads. Mine was set to 100000.

The system plugin in the newer jDownloads version has changed because you have to select the number of days you want to log.

I was wondering because in the "component" > "logs" I saw the hint of logging of 100.000 days.  :o

I opened the system plugin, selected a number of days and saved it. Afterwards the right number was stated in the "component" > "logs".

Finally I made a backup of the table "_jdownloads_logs" via phpMyAdmin, renamed it and created a new clean table as follows:

CREATE TABLE `xyz_jdownloads_logs` (
  `id` int(11) NOT NULL,
  `type` tinyint(1) NOT NULL DEFAULT '1',
  `log_file_id` int(11) NOT NULL,
  `log_file_size` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `log_file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `log_title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `log_ip` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `log_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `log_user` int(11) NOT NULL DEFAULT '0',
  `log_browser` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `language` char(7) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ordering` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


The performance boost is impressive! 

Maybe this is described somewhere in the documentation for the upgrade process and I just overlooked it?

I am looking forward to the J4 version of jDownloads. :)
Thank you for the brilliant work.

  •  

ColinM

Hi
Just got around to answering - been busy on jD4

The article
https://www.jdownloads.net/documentation-for-v3-9/general-items-v3-9/strange-faults-did-you-know-that
does note the problem of the log files

It is like all documentation - easy to find when you know it!!

Colin
Colin M
  •  

pixelhexe

Thank you, Colin, for clearifying this!

It is surely not wrong to pointing out a possible solution of slow downloads here in the forum. Especially for long time users who had migrated or upgraded jDownloads for several times and who are wondering about performance issues.
I am glad that it is already described in the documentation. Thanks again.




  •