Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idle requests every 2 seconds #12550

Closed
don-git opened this issue Sep 10, 2016 · 0 comments
Closed

idle requests every 2 seconds #12550

don-git opened this issue Sep 10, 2016 · 0 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Milestone

Comments

@don-git
Copy link

don-git commented Sep 10, 2016

Steps to reproduce

  1. I just login to phpmyadmin and wait

Expected behaviour

There should be no network traffic (or at least not much) when I'm not doing anything

Actual behaviour

after about 25 min my browser starts sending requests to the server every 2 seconds,
filling up both my web server and database logs

Server configuration

not sure what you want, but how's this?
$ cat /proc/version
Linux version 3.13.9-100.fc19.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC) ) #1 SMP Fri Apr 4 00:51:59 UTC 2014

Web server:
yum list installed shows
httpd.x86_64 2.4.10-1.fc19 @updates
httpd-devel.x86_64 2.4.10-1.fc19 @updates
httpd-tools.x86_64 2.4.10-1.fc19 @updates

Database:
mariadb.x86_64 1:5.5.36-1.fc19 @updates
mariadb-libs.x86_64 1:5.5.36-1.fc19 @updates

PHP version:
php.x86_64 5.5.10-1.fc19 @updates
php-cli.x86_64 5.5.10-1.fc19 @updates
php-common.x86_64 5.5.10-1.fc19 @updates
etc
phpMyAdmin version:
yum log shows last update:
Aug 27 06:20:48 Updated: phpMyAdmin-4.3.4-1.fc19.noarch

Client configuration

Browser:
This has now been observed in multiple browsers on multiple OS's
Operating system:

Additional remarks:
I don't think this was happening before that last yum update of phpMyAdmin, though I could be wrong about that.
I've changed /usr/share/phpMyAdmin/js/functions.js line 714 to
updateInterval = window.setInterval(UpdateIdleTime, 2000000); // 2000 ****
and this does seem to be helping.
I've not tried to figure out why the old value was 2000 or even why there is an idle timer at all,
perhaps you can tell me.

@nijel nijel added the Bug A problem or regression with an existing feature label Sep 16, 2016
@nijel nijel self-assigned this Sep 16, 2016
@nijel nijel added this to the 4.6.5 milestone Sep 16, 2016
@nijel nijel closed this as completed in 54e3434 Sep 16, 2016
nijel added a commit that referenced this issue Sep 16, 2016
Signed-off-by: Michal Čihař <michal@cihar.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants