jDownloadsownloads.com


Author Topic: Downloads Taking A Long Time  (Read 999 times)

0 Members and 1 Guest are viewing this topic.

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #15 on: 09.11.2018 10:41:40 »
I did PM Arno.  Haven't heard back yet.
Hi,
please escuse me for the delay but I was very busy in the last days.  :-\

When I remember me correct we had in the last ten years maybe three or four users with a similar problem. Not sure that it was all the time only pdf files. But possible. I think it was almost always not properly configured server settings. But I can not remember exactly.

But if you offer only publicly available documents, you could solve the problem for the moment:
- go to the configuration and deactivate in the TAB Downloads the option Send Downloads using the PHP Script?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline dlcinsd

  • Newbie
  • *
  • Posts: 14
Re: Downloads Taking A Long Time
« Reply #16 on: 09.11.2018 18:01:47 »
I did try that Arno.  No change.

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #17 on: 09.11.2018 18:30:15 »
I did try that Arno.  No change.
This proves for me that it has nothing to do with the jDownloads component. Please contact your hoster.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline dlcinsd

  • Newbie
  • *
  • Posts: 14
Re: Downloads Taking A Long Time
« Reply #18 on: 09.11.2018 18:32:10 »
I'm not sure I agree Arno.

I've tried this on 3 different hosts, including running the site via WAMP locally.

Same problem.

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #19 on: 09.11.2018 18:39:56 »
When you have deactivated the option above is the file directly send to the browser. This 'steers' then the  download process  and not more the jD script. It is the same as when you use a normal direct link to a file on your server to download it.

Many thousand administrators use jDownloads since many years and nobody else has reported a problem like yours in the last years. So how great is the chance that it is a bug in jD? For me not so big.
« Last Edit: 09.11.2018 18:45:00 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline dlcinsd

  • Newbie
  • *
  • Posts: 14
Re: Downloads Taking A Long Time
« Reply #20 on: 12.11.2018 17:48:37 »
Arno -

I tested using a pdf that I uploaded via FTP and then I manually created a link to that pdf.

That pdf downloaded just fine.

So I don't believe it's a server problem.

And I've tested this on 3 different servers and the JD issue persists on all servers.

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #21 on: 13.11.2018 00:05:38 »
Arno -

I tested using a pdf that I uploaded via FTP and then I manually created a link to that pdf.

That pdf downloaded just fine.
But then has you the same situation as I noted here:
Quote
But if you offer only publicly available documents, you could solve the problem for the moment:
- go to the configuration and deactivate in the TAB Downloads the option Send Downloads using the PHP Script?
But this will you have tried with the result:
Quote
I did try that Arno.  No change.
But that can not be.

So I will now make tomorrow self a few tests with big pdf files on different servers by me.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #22 on: 26.11.2018 13:40:05 »
Hi,
many thanks for the backup file.I could it now restore succesful (on PHP 5.8 ) and have the same problems as you.
But I need more time to find out the reason as it seems to be very tricky. I think still it is not a jD problem.  ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline dlcinsd

  • Newbie
  • *
  • Posts: 14
Re: Downloads Taking A Long Time
« Reply #23 on: 30.11.2018 18:05:23 »
Hi Arno.  Have you made any progress?

Offline dlcinsd

  • Newbie
  • *
  • Posts: 14
Re: Downloads Taking A Long Time
« Reply #24 on: 12.12.2018 01:51:41 »
Please provide an update on this issue.

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #25 on: 12.12.2018 10:54:22 »
Hi,
please excuse me for the delay but I was ill some days.  :(
I work still on this problem and will try to post tomorrow my results here or via PM.
For me it is still not a jDownloads problem.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline Arno

  • Administrator
  • ***
  • Posts: 12.319
    • jDownloads.com
Re: Downloads Taking A Long Time
« Reply #26 on: Yesterday at 01:46:39 »
Hi dlcinsd,
I think I could localized the reason for your problem.  ::)

1. This Joomla installation seems not to be maintained really well.
2. It exists a lot of problems and it was not possible for me that it works with PHP 7.x.
3. After I had checked and tested a lot I took a look at the database. And here is the problem! In the jDownloads system plugin was never typed in a limit value for the maximum amounts of logs. So it exist here in the meantime more as a million data sets!!! When you now consider that by every download this table must be changed so It's no wonder that you see a longer break.

Please make this:
- open the jDownloads system plugin and type in a limit value for the logs. When you have assigned download limitations for user groups in jDownloads you should use a higher value (maybe 20,000 - 50,000). Otherwise should be a few thousand enough.
- save the plugin and wait now until the page is loaded complete again! In the background is removed a million data sets and that needs time (maybe a few minutes).
- try now again to download a file and check the result.

I think that your issue should solved now (I could not really test it here).

P.S. I will add a default limit value in the coming new version 3.9 to prevent this problem in the future. Thanks.
« Last Edit: Yesterday at 01:50:27 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!