Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I did all what the script suggested, make a restart. Not helped!
Run the script again while the server is getting hammered to see what's changed. Something is causing the error, could be something in phpBB even causing the server to stop responding, taking connections, etc.
SLOW QUERIES
The slow query log is NOT enabled.
Current long_query_time = 10 sec.
You have 0 out of 216276 that take longer than 10 sec. to complete
Your long_query_time may be too high, I typically set this under 5 sec.
WORKER THREADS
Current thread_cache_size = 500
Current threads_cached = 153
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine
MAX CONNECTIONS
Current max_connections = 10000
Current threads_connected = 76
Historic max_used_connections = 302
The number of used connections is 3% of the configured maximum.
You are using less than 10% of your configured max_connections.
Lowering max_connections could help to avoid an over-allocation of memory
See "MEMORY USAGE" section to make sure you are not over-allocating
MEMORY USAGE
Max Memory Ever Allocated : 40 G
Configured Max Per-thread Buffers : 1332 G
Configured Max Global Buffers : 366 M
Configured Max Memory Limit : 1332 G
Physical Memory : 11.73 G
Max memory limit exceeds 90% of physical memory
KEY BUFFER
Current MyISAM index space = 1 G
Current key_buffer_size = 256 M
Key cache miss rate is 1 : 131
Key buffer fill ratio = 22.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere
QUERY CACHE
Query cache is enabled
Current query_cache_size = 100 M
Current query_cache_used = 6 M
Current query_cache_limit = 100 M
Current Query cache Memory fill ratio = 6.81 %
Current query_cache_min_res_unit = 4 K
Query Cache is 26 % fragmented
Run "FLUSH QUERY CACHE" periodically to defragment the query cache memory
If you have many small queries lower 'query_cache_min_res_unit' to reduce fragmentation.
Your query_cache_size seems to be too high.
Perhaps you can use these resources elsewhere
MySQL won't cache query results that are larger than query_cache_limit in size
SORT OPERATIONS
Current sort_buffer_size = 64 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
JOINS
Current join_buffer_size = 64.00 M
You have had 223 queries where a join could not use an index properly
join_buffer_size >= 4 M
This is not advised
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
OPEN FILES LIMIT
Current open_files_limit = 50000 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine
TABLE CACHE
Current table_cache value = 2048 tables
You have a total of 522 tables
You have 975 open tables.
The table_cache value seems to be fine
TEMP TABLES
Current max_heap_table_size = 449 M
Current tmp_table_size = 1.95 G
Of 13095 temp tables, 1% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Created disk tmp tables ratio seems fine
TABLE SCANS
Current read_buffer_size = 7 M
Current table scan ratio = 1240 : 1
read_buffer_size seems to be fine
TABLE LOCKING
Current Lock Wait ratio = 1 : 2
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
Error Returned
SQL error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) SQL error code: Date: Thursday 17th of July 2008 06:27:00 PM
Error Returned
SQL error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) SQL error code: Date: Thursday 17th of July 2008 06:27:00 PM
So is this from phpBB you see this error produced?
in Modify User Privileges for db
i have option to turn on "Grant" what it means?
grant or grants provide users that connect to the database with specific privileges, access, etc. Think of it this way, instead of saying "allow", your granting permission to do "this or that".
grant or grants provide users that connect to the database with specific privileges, access, etc. Think of it this way, instead of saying "allow", your granting permission to do "this or that".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.