Git Product home page Git Product logo

Comments (6)

renecannao avatar renecannao commented on June 11, 2024 2

Good it stopped crashing.
Yet, I am reopening this issue: it is a crashing bug and it needs further investigations

from proxysql.

renecannao avatar renecannao commented on June 11, 2024

Hi. Do you have a core dump available?

from proxysql.

renecannao avatar renecannao commented on June 11, 2024

2nd question: all crashes report this?

Query_Processor.cpp:252: char* QP_query_digest_stats::get_digest_text(const umap_query_digest_text*): Assertion `0' failed.

from proxysql.

TokuiNico avatar TokuiNico commented on June 11, 2024

Hi @renecannao
I didn't find any core dumps logs. Should I enable some settings?

I tried several times the error msg appears every time when query select count(*) from stats_mysql_query_digest; quickly (3 ~ 5 times in one second). And it happened easily in PRODUCTION environment, even just query 2 times.

Query_Processor.cpp:252: char* QP_query_digest_stats::get_digest_text(const umap_query_digest_text*): Assertion `0' failed.

There are configs related to digest

| variable_name                             | variable_value |
|-------------------------------------------|----------------|
| mysql-query_digests_max_digest_length     | 2048           |
| mysql-query_digests_max_query_length      | 65000          |
| mysql-query_digests_grouping_limit        | 1              |
| mysql-query_digests_groups_grouping_limit | 0              |
| mysql-query_digests                       | true           |
| mysql-query_digests_lowercase             | 1              |
| mysql-query_digests_replace_null          | 1              |
| mysql-query_digests_no_digits             | false          |
| mysql-query_digests_normalize_digest_text | 1              |
| mysql-query_digests_track_hostname        | false          |
| mysql-query_digests_keep_comment          | false          |
| mysql-parse_failure_logs_digest           | false          |
| admin-stats_mysql_query_digest_to_disk    | 3600           |

from proxysql.

renecannao avatar renecannao commented on June 11, 2024

For now please disable mysql-query_digests_normalize_digest_text and see if the crashes stop.
We will try to investigate this further.

Thanks

from proxysql.

TokuiNico avatar TokuiNico commented on June 11, 2024

I have disabled mysql-query_digests_normalize_digest_text and after retesting, the server indeed did not crash. Thank you for your assistance!

from proxysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.