Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Login Slow 2.50+ Build 160715

  • ScottGage
  • ScottGage's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #139939 by ScottGage
Login Slow 2.50+ Build 160715 was created by ScottGage
Working with v2.5 we're finding the login time is really slow. I put in a log message at the start of the run() function in controllers/admin/index.php and at the end and they're over a minute apart:

[Thu Aug 04 13:54:09.851063 2016] [:error] [pid 30793] [client] Admin area load, referer: /index.php/admin/authentication/sa/login
[Thu Aug 04 13:55:13.209907 2016] [:error] [pid 30793] [client] Admin area end, referer: /index.php/admin/authentication/sa/login

My first suspicion was the LDAP login as taking up the time but that all runs in under a second. So I narrowed it down to the renderWrappedTemplate command:

error_log('Start rendering');
$this->_renderWrappedTemplate('super', 'welcome', $aData);

error_log('Rendering complete');

And confirmed that's the part that's taking longest:
[Thu Aug 04 13:59:06.324646 2016] [:error] [pid 9110] [client] Start rendering, referer: /index.php/admin/authentication/sa/login
[Thu Aug 04 14:00:09.492073 2016] [:error] [pid 9110] [client] Rendering complete, referer: /index.php/admin/authentication/sa/login

We're using default templates everywhere so any ideas on why it's rendering so slowly?

Redhat 6.8
PHP 5.6.5
The topic has been locked.
More
7 years 7 months ago #139948 by jelo
Replied by jelo on topic Login Slow 2.50+ Build 160715
Since you already put some effort in pinpointing the issue I recommend opening a bug report.
I haven't found a bug ticket which relates directly to your issue.
The devs will tell you to update to a newer build of LS 2.5 first.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • ScottGage
  • ScottGage's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #139985 by ScottGage
Replied by ScottGage on topic Login Slow 2.50+ Build 160715
Thanks jelo, I've updated and I'm still having the issue so I'll raise a bug.
The topic has been locked.
More
6 years 11 months ago #151851 by XXXIII
Replied by XXXIII on topic Login Slow 2.50+ Build 160715
Hi there.
I had the same issue.
What solved the issue for me, was to disable the ComfortUpdate. If it´s an Option for you to disable this Feature, you can find an instruction here: manual.limesurvey.org/ComfortUpdate

Windows Server 2012 R2
PHP 7
V 2.52+ 160920
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 11 months ago #151856 by holch
Replied by holch on topic Login Slow 2.50+ Build 160715
If your LS installation has no access to the internet, then disabling ComfortUpdate like XXXIII could be the solution. With access to the internet I don't think this will make much of a difference.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose