JTS 2017 знаю, что старый, но возможно кому и пригодится
Кстати у меня такая же проблема как у sergebaz, если убрали с репозитория как быть?По смотрите в зависимости проекта мавен, наверное либу с репо убрали и он ее не видит
<id>atlassian-public</id>
<url>https://maven.atlassian.com/content/repositories/atlassian-public/</url>
<id>com.atlassian.util.concurrent</id>
<url>https://mvnrepository.com/artifact/com.atlassian.util.concurrent/atlassian-util-concurrent</url>
я пока еще разбираюсь
https://packages.atlassian.com/content/repositories/atlassian-public/com/atlassian/util
{
"errors" : [ {
"status" : 404,
"message" : "Could not find resource"
} ]
}
<id>atlassian-public</id>
<url>https://maven.atlassian.com/content/repositories/atlassian-public/</url>
<id>io.atlassian.util.concurrent</id>
<url>https://mvnrepository.com/artifact/io.atlassian.util.concurrent/atlassian-util-concurrent/4.0.0</url>
<dependency>
<groupId>com.atlassian.util.concurrent</groupId>
<artifactId>atlassian-util-concurrent</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>io.atlassian.util.concurrent</groupId>
<artifactId>atlassian-util-concurrent</artifactId>
<version>4.0.0</version>
</dependency>
import com.atlassian.util.concurrent.LazyReference;
import io.atlassian.util.concurrent.LazyReference;
Эта зараза, буквально ложит на лопатки сервер мускула. Кто то подскажет, где рыть по оптимизации подключения?
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password: >> MySQLTuner 1.6.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.36-log
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 21M (Tables: 260)
[--] Data in InnoDB tables: 200M (Tables: 166)
[!!] Total fragmented tables: 22
-------- Security Recommendations -------------------------------------------
[OK] There is no anonymous account in all database users
[OK] All database users have passwords assigned
[!!] User 'root@127.0.0.1' has user name as password.
[!!] User 'root@192.168.0.202' has user name as password.
[!!] User 'root@localhost' has user name as password.
[!!] There is not basic password file list !
-------- Performance Metrics -------------------------------------------------
[--] Up for: 3h 2m 7s (83K q [7.653 qps], 42 conn, TX: 360M, RX: 9M)
[--] Reads / Writes: 99% / 1%
[--] Binary logging is disabled
[--] Total buffers: 255.0M global + 2.8M per thread (500 max threads)
[OK] Maximum reached memory usage: 354.0M (4.60% of installed RAM)
[OK] Maximum possible memory usage: 1.6G (21.19% of installed RAM)
[OK] Slow queries: 0% (0/83K)
[OK] Highest usage of available connections: 7% (36/500)
[!!] Aborted connections: 4.76% (2/42)
[OK] Query cache efficiency: 32.3% (27K cached / 83K selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 2K sorts)
[OK] Temporary tables created on disk: 0% (2 on disk / 2K total)
[!!] Thread cache hit rate: 14% (36 created / 42 connections)
[OK] Table cache hit rate: 92% (81 open / 88 opened)
[OK] Open file limit used: 1% (40/2K)
[OK] Table locks acquired immediately: 100% (79K immediate / 79K locks)
-------- MyISAM Metrics -----------------------------------------------------
[!!] Key buffer used: 23.8% (1M used / 8M cache)
[OK] Key buffer size / total MyISAM indexes: 8.0M/2.8M
[OK] Read Key buffer hit rate: 97.6% (19K cached / 458 reads)
-------- InnoDB Metrics -----------------------------------------------------
[--] InnoDB is enabled.
[!!] InnoDB buffer pool / data size: 195.0M/200.2M
[OK] InnoDB buffer pool instances: 1
[OK] InnoDB Used buffer: 85.26% (10640 used/ 12480 total)
[OK] InnoDB Read buffer efficiency: 99.98% (18910342 hits/ 18914128 total)
[!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total)
[OK] InnoDB log waits: 0.00% (0 waits / 200 writes)
-------- AriaDB Metrics -----------------------------------------------------
[--] AriaDB is disabled.
-------- Replication Metrics -------------------------------------------------
[--] No replication slave(s) for this server.
[--] This is a standalone server..
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
Set up a Secure Password for user@host ( SET PASSWORD FOR 'user'@'SpecificDNSorIp' = PASSWORD('secure_password'); )
MySQL started within last 24 hours - recommendations may be inaccurate
Reduce or eliminate unclosed connections and network issues
Variables to adjust:
thread_cache_size (> 24)
innodb_buffer_pool_size (>= 200M) if possible.
Скрипта с этих сурсов?mysqltuner можно попробовать запустить, возможно он сможет выявить проблему если она действительно в mysql, но это не точно.
Пример теста этого "скрипта"
Код:Please enter your MySQL administrative login: root Please enter your MySQL administrative password: >> MySQLTuner 1.6.0 - Major Hayden <major@mhtx.net> >> Bug reports, feature requests, and downloads at http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering [--] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 5.5.36-log [OK] Operating on 64-bit architecture -------- Storage Engine Statistics ------------------------------------------- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM [--] Data in MyISAM tables: 21M (Tables: 260) [--] Data in InnoDB tables: 200M (Tables: 166) [!!] Total fragmented tables: 22 -------- Security Recommendations ------------------------------------------- [OK] There is no anonymous account in all database users [OK] All database users have passwords assigned [!!] User 'root@127.0.0.1' has user name as password. [!!] User 'root@192.168.0.202' has user name as password. [!!] User 'root@localhost' has user name as password. [!!] There is not basic password file list ! -------- Performance Metrics ------------------------------------------------- [--] Up for: 3h 2m 7s (83K q [7.653 qps], 42 conn, TX: 360M, RX: 9M) [--] Reads / Writes: 99% / 1% [--] Binary logging is disabled [--] Total buffers: 255.0M global + 2.8M per thread (500 max threads) [OK] Maximum reached memory usage: 354.0M (4.60% of installed RAM) [OK] Maximum possible memory usage: 1.6G (21.19% of installed RAM) [OK] Slow queries: 0% (0/83K) [OK] Highest usage of available connections: 7% (36/500) [!!] Aborted connections: 4.76% (2/42) [OK] Query cache efficiency: 32.3% (27K cached / 83K selects) [OK] Query cache prunes per day: 0 [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 2K sorts) [OK] Temporary tables created on disk: 0% (2 on disk / 2K total) [!!] Thread cache hit rate: 14% (36 created / 42 connections) [OK] Table cache hit rate: 92% (81 open / 88 opened) [OK] Open file limit used: 1% (40/2K) [OK] Table locks acquired immediately: 100% (79K immediate / 79K locks) -------- MyISAM Metrics ----------------------------------------------------- [!!] Key buffer used: 23.8% (1M used / 8M cache) [OK] Key buffer size / total MyISAM indexes: 8.0M/2.8M [OK] Read Key buffer hit rate: 97.6% (19K cached / 458 reads) -------- InnoDB Metrics ----------------------------------------------------- [--] InnoDB is enabled. [!!] InnoDB buffer pool / data size: 195.0M/200.2M [OK] InnoDB buffer pool instances: 1 [OK] InnoDB Used buffer: 85.26% (10640 used/ 12480 total) [OK] InnoDB Read buffer efficiency: 99.98% (18910342 hits/ 18914128 total) [!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total) [OK] InnoDB log waits: 0.00% (0 waits / 200 writes) -------- AriaDB Metrics ----------------------------------------------------- [--] AriaDB is disabled. -------- Replication Metrics ------------------------------------------------- [--] No replication slave(s) for this server. [--] This is a standalone server.. -------- Recommendations ----------------------------------------------------- General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance Set up a Secure Password for user@host ( SET PASSWORD FOR 'user'@'SpecificDNSorIp' = PASSWORD('secure_password'); ) MySQL started within last 24 hours - recommendations may be inaccurate Reduce or eliminate unclosed connections and network issues Variables to adjust: thread_cache_size (> 24) innodb_buffer_pool_size (>= 200M) if possible.
Это отдельный perl-скрипт для оптимизации настроек самого mysql. Оптимизация настроек подключения индивидуальна, в зависимости от используемых типов хранения данных, размеров данных баз и конечно характеристики железа сервера (к-во озу, к-во ядер и т.п.).Скрипта с этих сурсов?
Ну в данном случае, гс валит мускул, открывает запрос один за другим к мускулу.Это отдельный perl-скрипт для оптимизации настроек самого mysql. Оптимизация настроек подключения индивидуальна, в зависимости от используемых типов хранения данных, размеров данных баз и конечно характеристики железа сервера (к-во озу, к-во ядер и т.п.).
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?