Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

MULTIPLE API REST REQUEST - CRASH MYSQL #6056

Open
Jordan91 opened this issue Feb 9, 2018 · 2 comments
Open

MULTIPLE API REST REQUEST - CRASH MYSQL #6056

Jordan91 opened this issue Feb 9, 2018 · 2 comments

Comments

@Jordan91
Copy link
Contributor

Jordan91 commented Feb 9, 2018


BUG REPORT INFORMATION

Centreon Web version:
2.8.17
Centreon Engine version:
1.8.1
Centreon Broker version:
3.0.12
OS:
Centos 6.9
Additional environment details (AWS, VirtualBox, physical, etc.):

Steps to reproduce the issue:

  1. Multiple API REST REQUEST (*1000)
    2.Waiting for global read lock | DELETE FROM ws_token WHERE generate_date < DATE_SUB(NOW(),
    INTERVAL 1 HOUR) |

Describe the results you received:
Crash Mysql

Describe the results you expected:
Better performence and no crash for MYSQL => /usr/share/centreon/www/api/index.php
Additional information you think important (e.g. issue happens only occasionally):

@lpinsivy
Copy link
Contributor

@Jordan91 each connection start with an authentication or you use token existing?

@lpinsivy lpinsivy added the status/more-info-needed Waiting for more information label Feb 12, 2018
@Jordan91
Copy link
Contributor Author

Hi,

@lpinsivy Every call API requires a new Token

BR,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants