Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 请教大侠:dz3.3使用MySQL5.6.42后狂写C盘,是何问题?

[复制链接]
phoer 发表于 2019-4-15 14:49:06 | 显示全部楼层 |阅读模式
本帖最后由 phoer 于 2019-4-15 15:03 编辑

  discuz 用了十年多,自己的DELL R620服务器(E5-2650 *2个、共32线程、32G内存、三星民用ssd盘*4个,系统、数据库、论坛各独占一个固态硬盘,C盘为250G)。x3.3也随着官方升级用了近2年,最近总要宕机,没有发现挂码和病毒。
  Windows 2008 R2+PHP5.3.29+Zend Optimizer+Memcache,近日先用了MySQL5.6.43,现换成MySQL5.6.42,问题依旧。
  深夜访问量低时正常,可坚持到上午。


  问题:独占系统的C盘,经常会突然狂写(见上图),250G的SSD,现只剩下57G,其间,论坛宕机打不开。


  停止MySQL服务后,能迅速降下来。


  一旦再启动MySQL服务,依旧狂写C盘。另顺问:图右上角的磁盘中的蓝色曲条线是什么意思?

  我的 my.ini 基本上用的是默认的,只是改了 ① 路径,和 ② max_connections=15100(默认151),③ table_open_cache=512(默认为空)
  1. # Other default tuning values
  2. # MySQL Server Instance Configuration File
  3. # ----------------------------------------------------------------------
  4. # Generated by the MySQL Server Instance Configuration Wizard
  5. #
  6. #
  7. # Installation Instructions
  8. # ----------------------------------------------------------------------
  9. #
  10. # On Linux you can copy this file to /etc/my.cnf to set global options,
  11. # mysql-data-dir/my.cnf to set server-specific options
  12. # (@localstatedir@ for this installation) or to
  13. # ~/.my.cnf to set user-specific options.
  14. #
  15. # On Windows you should keep this file in the installation directory
  16. # of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
  17. # make sure the server reads the config file use the startup option
  18. # "--defaults-file".
  19. #
  20. # To run the server from the command line, execute this in a
  21. # command line shell, e.g.
  22. # mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
  23. #
  24. # To install the server as a Windows service manually, execute this in a
  25. # command line shell, e.g.
  26. # mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
  27. #
  28. # And then execute this in a command line shell to start the server, e.g.
  29. # net start MySQLXY
  30. #
  31. #
  32. # Guidelines for editing this file
  33. # ----------------------------------------------------------------------
  34. #
  35. # In this file, you can use all long options that the program supports.
  36. # If you want to know the options a program supports, start the program
  37. # with the "--help" option.
  38. #
  39. # More detailed information about the individual options can also be
  40. # found in the manual.
  41. #
  42. # For advice on how to change settings please see
  43. # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
  44. #
  45. #
  46. # CLIENT SECTION
  47. # ----------------------------------------------------------------------
  48. #
  49. # The following options will be read by MySQL client applications.
  50. # Note that only client applications shipped by MySQL are guaranteed
  51. # to read this section. If you want your own MySQL client program to
  52. # honor these values, you need to specify it as an option during the
  53. # MySQL client library initialization.
  54. #
  55. [client]

  56. # pipe=

  57. # socket=MYSQL

  58. port=3306

  59. [mysql]
  60. no-beep

  61. # default-character-set=

  62. # SERVER SECTION
  63. # ----------------------------------------------------------------------
  64. #
  65. # The following options will be read by the MySQL Server. Make sure that
  66. # you have installed the server correctly (see above) so it reads this
  67. # file.
  68. #
  69. # server_type=2
  70. [mysqld]

  71. # The next three options are mutually exclusive to SERVER_PORT below.
  72. # skip-networking
  73. # enable-named-pipe
  74. # shared-memory

  75. # shared-memory-base-name=MYSQL

  76. # The Pipe the MySQL Server will use
  77. # socket=MYSQL

  78. # The TCP/IP Port the MySQL Server will listen on
  79. port=3306

  80. # Path to installation directory. All paths are usually resolved relative to this.
  81. # basedir="D:/Server/MySQL Server 5.6/"

  82. # Path to the database root
  83. datadir=E:/Server/Database

  84. # The default character set that will be used when a new schema or table is
  85. # created and no character set is defined
  86. # character-set-server=

  87. # The default storage engine that will be used when create new tables when
  88. default-storage-engine=INNODB

  89. # Set the SQL mode to strict
  90. sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

  91. # General and Slow logging.
  92. log-output=FILE
  93. general-log=0
  94. general_log_file="USER-GEU5OPUL7Q.log"
  95. slow-query-log=1
  96. slow_query_log_file="USER-GEU5OPUL7Q-slow.log"
  97. long_query_time=10

  98. # Binary Logging.
  99. # log-bin

  100. # Error Logging.
  101. log-error="USER-GEU5OPUL7Q.err"

  102. # Server Id.
  103. server-id=1

  104. # Specifies the on how table names are stored in the metadata.
  105. # If set to 0, will throw an error on case-insensitive operative systems
  106. # If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive.
  107. # If set to 2, table names are stored as given but compared in lowercase.
  108. # This option also applies to database names and table aliases.
  109. lower_case_table_names=1

  110. # Secure File Priv.
  111. secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.6/Uploads"

  112. # The maximum amount of concurrent sessions the MySQL server will
  113. # allow. One of these connections will be reserved for a user with
  114. # SUPER privileges to allow the administrator to login even if the
  115. # connection limit has been reached.
  116. max_connections=15100

  117. # Query cache is used to cache SELECT results and later return them
  118. # without actual executing the same query once again. Having the query
  119. # cache enabled may result in significant speed improvements, if your
  120. # have a lot of identical queries and rarely changing tables. See the
  121. # "Qcache_lowmem_prunes" status variable to check if the current value
  122. # is high enough for your load.
  123. # Note: In case your tables change very often or if your queries are
  124. # textually different every time, the query cache may result in a
  125. # slowdown instead of a performance improvement.
  126. query_cache_size=0

  127. # The number of open tables for all threads. Increasing this value
  128. # increases the number of file descriptors that mysqld requires.
  129. # Therefore you have to make sure to set the amount of open files
  130. # allowed to at least 4096 in the variable "open-files-limit" in
  131. # section [mysqld_safe]
  132. table_open_cache=512

  133. # Maximum size for internal (in-memory) temporary tables. If a table
  134. # grows larger than this value, it is automatically converted to disk
  135. # based table This limitation is for a single table. There can be many
  136. # of them.
  137. tmp_table_size=2G

  138. # How many threads we should keep in a cache for reuse. When a client
  139. # disconnects, the client's threads are put in the cache if there aren't
  140. # more than thread_cache_size threads from before.  This greatly reduces
  141. # the amount of thread creations needed if you have a lot of new
  142. # connections. (Normally this doesn't give a notable performance
  143. # improvement if you have a good thread implementation.)
  144. thread_cache_size=10

  145. #*** MyISAM Specific options
  146. # The maximum size of the temporary file MySQL is allowed to use while
  147. # recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.
  148. # If the file-size would be bigger than this, the index will be created
  149. # through the key cache (which is slower).
  150. myisam_max_sort_file_size=100G

  151. # If the temporary file used for fast index creation would be bigger
  152. # than using the key cache by the amount specified here, then prefer the
  153. # key cache method.  This is mainly used to force long character keys in
  154. # large tables to use the slower key cache method to create the index.
  155. myisam_sort_buffer_size=4G

  156. # Size of the Key Buffer, used to cache index blocks for MyISAM tables.
  157. # Do not set it larger than 30% of your available memory, as some memory
  158. # is also required by the OS to cache rows. Even if you're not using
  159. # MyISAM tables, you should still set it to 8-64M as it will also be
  160. # used for internal temporary disk tables.
  161. key_buffer_size=8M

  162. # Size of the buffer used for doing full table scans of MyISAM tables.
  163. # Allocated per thread, if a full scan is needed.
  164. read_buffer_size=64K
  165. read_rnd_buffer_size=256K

  166. #*** INNODB Specific options ***
  167. # innodb_data_home_dir=

  168. # Use this option if you have a MySQL server with InnoDB support enabled
  169. # but you do not plan to use it. This will save memory and disk space
  170. # and speed up some things.
  171. # skip-innodb

  172. # Additional memory pool that is used by InnoDB to store metadata
  173. # information.  If InnoDB requires more memory for this purpose it will
  174. # start to allocate it from the OS.  As this is fast enough on most
  175. # recent operating systems, you normally do not need to change this
  176. # value. SHOW INNODB STATUS will display the current amount used.
  177. innodb_additional_mem_pool_size=32M

  178. # If set to 1, InnoDB will flush (fsync) the transaction logs to the
  179. # disk at each commit, which offers full ACID behavior. If you are
  180. # willing to compromise this safety, and you are running small
  181. # transactions, you may set this to 0 or 2 to reduce disk I/O to the
  182. # logs. Value 0 means that the log is only written to the log file and
  183. # the log file flushed to disk approximately once per second. Value 2
  184. # means the log is written to the log file at each commit, but the log
  185. # file is only flushed to disk approximately once per second.
  186. innodb_flush_log_at_trx_commit=1

  187. # The size of the buffer InnoDB uses for buffering log data. As soon as
  188. # it is full, InnoDB will have to flush it to disk. As it is flushed
  189. # once per second anyway, it does not make sense to have it very large
  190. # (even with long transactions).
  191. innodb_log_buffer_size=16M

  192. # InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and
  193. # row data. The bigger you set this the less disk I/O is needed to
  194. # access data in tables. On a dedicated database server you may set this
  195. # parameter up to 80% of the machine physical memory size. Do not set it
  196. # too large, though, because competition of the physical memory may
  197. # cause paging in the operating system.  Note that on 32bit systems you
  198. # might be limited to 2-3.5G of user level memory per process, so do not
  199. # set it too high.
  200. innodb_buffer_pool_size=11G

  201. # Size of each log file in a log group. You should set the combined size
  202. # of log files to about 25%-100% of your buffer pool size to avoid
  203. # unneeded buffer pool flush activity on log file overwrite. However,
  204. # note that a larger logfile size will increase the time needed for the
  205. # recovery process.
  206. innodb_log_file_size=48M

  207. # Number of threads allowed inside the InnoDB kernel. The optimal value
  208. # depends highly on the application, hardware as well as the OS
  209. # scheduler properties. A too high value may lead to thread thrashing.
  210. innodb_thread_concurrency=65

  211. # The increment size (in MB) for extending the size of an auto-extend InnoDB system tablespace file when it becomes full.
  212. innodb_autoextend_increment=64

  213. # The number of regions that the InnoDB buffer pool is divided into.
  214. # For systems with buffer pools in the multi-gigabyte range, dividing the buffer pool into separate instances can improve concurrency,
  215. # by reducing contention as different threads read and write to cached pages.
  216. innodb_buffer_pool_instances=8

  217. # Determines the number of threads that can enter InnoDB concurrently.
  218. innodb_concurrency_tickets=5000

  219. # Specifies how long in milliseconds (ms) a block inserted into the old sublist must stay there after its first access before
  220. # it can be moved to the new sublist.
  221. innodb_old_blocks_time=1000

  222. # It specifies the maximum number of .ibd files that MySQL can keep open at one time. The minimum value is 10.
  223. innodb_open_files=300

  224. # When this variable is enabled, InnoDB updates statistics during metadata statements.
  225. innodb_stats_on_metadata=0

  226. # When innodb_file_per_table is enabled (the default in 5.6.6 and higher), InnoDB stores the data and indexes for each newly created table
  227. # in a separate .ibd file, rather than in the system tablespace.
  228. innodb_file_per_table=1

  229. # Use the following list of values: 0 for crc32, 1 for strict_crc32, 2 for innodb, 3 for strict_innodb, 4 for none, 5 for strict_none.
  230. innodb_checksum_algorithm=0

  231. # The number of outstanding connection requests MySQL can have.
  232. # This option is useful when the main MySQL thread gets many connection requests in a very short time.
  233. # It then takes some time (although very little) for the main thread to check the connection and start a new thread.
  234. # The back_log value indicates how many requests can be stacked during this short time before MySQL momentarily
  235. # stops answering new requests.
  236. # You need to increase this only if you expect a large number of connections in a short period of time.
  237. back_log=80

  238. # If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and
  239. # synchronize unflushed data to disk.
  240. # This option is best used only on systems with minimal resources.
  241. flush_time=0

  242. # The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use
  243. # indexes and thus perform full table scans.
  244. join_buffer_size=256K

  245. # The maximum size of one packet or any generated or intermediate string, or any parameter sent by the
  246. # mysql_stmt_send_long_data() C API function.
  247. max_allowed_packet=4M

  248. # If more than this many successive connection requests from a host are interrupted without a successful connection,
  249. # the server blocks that host from performing further connections.
  250. max_connect_errors=100

  251. # Changes the number of file descriptors available to mysqld.
  252. # You should try increasing the value of this option if mysqld gives you the error "Too many open files".
  253. open_files_limit=161

  254. # Set the query cache type. 0 for OFF, 1 for ON and 2 for DEMAND.
  255. query_cache_type=0

  256. # If you see many sort_merge_passes per second in SHOW GLOBAL STATUS output, you can consider increasing the
  257. # sort_buffer_size value to speed up ORDER BY or GROUP BY operations that cannot be improved with query optimization
  258. # or improved indexing.
  259. sort_buffer_size=256K

  260. # The number of table definitions (from .frm files) that can be stored in the definition cache.
  261. # If you use a large number of tables, you can create a large table definition cache to speed up opening of tables.
  262. # The table definition cache takes less space and does not use file descriptors, unlike the normal table cache.
  263. # The minimum and default values are both 400.
  264. table_definition_cache=400

  265. # Specify the maximum size of a row-based binary log event, in bytes.
  266. # Rows are grouped into events smaller than this size if possible. The value should be a multiple of 256.
  267. binlog_row_event_max_size=8K

  268. # If the value of this variable is greater than 0, a replication slave synchronizes its master.info file to disk.
  269. # (using fdatasync()) after every sync_master_info events.
  270. sync_master_info=10000

  271. # If the value of this variable is greater than 0, the MySQL server synchronizes its relay log to disk.
  272. # (using fdatasync()) after every sync_relay_log writes to the relay log.
  273. sync_relay_log=10000

  274. # If the value of this variable is greater than 0, a replication slave synchronizes its relay-log.info file to disk.
  275. # (using fdatasync()) after every sync_relay_log_info transactions.
  276. sync_relay_log_info=10000

  277. # Load mysql plugins at start."plugin_x ; plugin_y".
  278. # plugin_load
复制代码


错误日志:

  1. 2019-04-15 13:39:58 7760 [Note] Plugin 'FEDERATED' is disabled.
  2. 2019-04-15 13:39:58 7760 [Note] InnoDB: Using atomics to ref count buffer pool pages
  3. 2019-04-15 13:39:58 7760 [Note] InnoDB: The InnoDB memory heap is disabled
  4. 2019-04-15 13:39:58 7760 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
  5. 2019-04-15 13:39:58 7760 [Note] InnoDB: Memory barrier is not used
  6. 2019-04-15 13:39:58 7760 [Note] InnoDB: Compressed tables use zlib 1.2.11
  7. 2019-04-15 13:39:58 7760 [Note] InnoDB: Not using CPU crc32 instructions
  8. 2019-04-15 13:39:58 7760 [Note] InnoDB: Initializing buffer pool, size = 11.0G
  9. 2019-04-15 13:39:59 7760 [Note] InnoDB: Completed initialization of buffer pool
  10. 2019-04-15 13:40:00 7760 [Note] InnoDB: Highest supported file format is Barracuda.
  11. 2019-04-15 13:40:00 7760 [Note] InnoDB: 128 rollback segment(s) are active.
  12. 2019-04-15 13:40:00 7760 [Note] InnoDB: Waiting for purge to start
  13. 2019-04-15 13:40:00 7760 [Note] InnoDB: 5.6.42 started; log sequence number 1626154
  14. 2019-04-15 13:40:00 7760 [Note] Server hostname (bind-address): '*'; port: 3306
  15. 2019-04-15 13:40:00 7760 [Note] IPv6 is available.
  16. 2019-04-15 13:40:00 7760 [Note]   - '::' resolves to '::';
  17. 2019-04-15 13:40:00 7760 [Note] Server socket created on IP: '::'.
  18. 2019-04-15 13:40:00 7760 [Note] Event Scheduler: Loaded 0 events
  19. 2019-04-15 13:40:00 7760 [Note] D:\Server\MySQL Server 5.6\bin\mysqld.exe: ready for connections.
  20. Version: '5.6.42-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
  21. 2019-04-15 13:43:13 7760 [Note] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Normal shutdown

  22. 2019-04-15 13:43:13 7760 [Note] Giving 161 client threads a chance to die gracefully
  23. 2019-04-15 13:43:13 7760 [Note] Event Scheduler: Purging the queue. 0 events
  24. 2019-04-15 13:43:13 7760 [Note] Shutting down slave threads
  25. 2019-04-15 13:43:14 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  26. 2019-04-15 13:43:14 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  27. 2019-04-15 13:43:14 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  28. 2019-04-15 13:43:14 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  29. 2019-04-15 13:43:14 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  30. 2019-04-15 13:43:15 7760 [Note] Forcefully disconnecting 68 remaining clients
  31. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 285  user: 'root'

  32. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 514  user: 'root'

  33. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 292  user: 'root'

  34. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 13  user: 'root'

  35. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 213  user: 'root'

  36. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 220  user: 'root'

  37. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 566  user: 'root'

  38. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 658  user: 'root'

  39. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 909  user: 'root'

  40. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 854  user: 'root'

  41. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 567  user: 'root'

  42. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1040  user: 'root'

  43. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1016  user: 'root'

  44. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 553  user: 'root'

  45. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 552  user: 'root'

  46. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 497  user: 'root'

  47. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1015  user: 'root'

  48. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 16  user: 'root'

  49. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 35  user: 'root'

  50. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 563  user: 'root'

  51. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 460  user: 'root'

  52. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 585  user: 'root'

  53. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1187  user: 'root'

  54. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 472  user: 'root'

  55. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 570  user: 'root'

  56. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 415  user: 'root'

  57. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 416  user: 'root'

  58. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 418  user: 'root'

  59. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 424  user: 'root'

  60. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 425  user: 'root'

  61. 2019-04-15 13:43:15 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 426  user: 'root'

  62. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 554  user: 'root'

  63. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 556  user: 'root'

  64. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 439  user: 'root'

  65. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 627  user: 'root'

  66. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 105  user: 'root'

  67. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 107  user: 'root'

  68. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 598  user: 'root'

  69. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 582  user: 'root'

  70. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 126  user: 'root'

  71. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 603  user: 'root'

  72. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 620  user: 'root'

  73. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 142  user: 'root'

  74. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 608  user: 'root'

  75. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 22  user: 'root'

  76. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 239  user: 'root'

  77. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 996  user: 'root'

  78. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 544  user: 'root'

  79. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1010  user: 'root'

  80. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 853  user: 'root'

  81. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1014  user: 'root'

  82. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 277  user: 'root'

  83. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 584  user: 'root'

  84. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 549  user: 'root'

  85. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 155  user: 'root'

  86. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 158  user: 'root'

  87. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 546  user: 'root'

  88. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 547  user: 'root'

  89. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 995  user: 'root'

  90. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1023  user: 'root'

  91. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 1007  user: 'root'

  92. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 763  user: 'root'

  93. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 39  user: 'root'

  94. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 32  user: 'root'

  95. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 612  user: 'root'

  96. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 67  user: 'root'

  97. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 610  user: 'root'

  98. 2019-04-15 13:43:16 7760 [Warning] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Forcing close of thread 611  user: 'root'

  99. 2019-04-15 13:43:18 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  100. 2019-04-15 13:43:19 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  101. 2019-04-15 13:43:19 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  102. 2019-04-15 13:43:23 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  103. 2019-04-15 13:43:23 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  104. 2019-04-15 13:43:23 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  105. 2019-04-15 13:43:23 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  106. 2019-04-15 13:43:30 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  107. 2019-04-15 13:43:30 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  108. 2019-04-15 13:43:32 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  109. 2019-04-15 13:43:39 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  110. 2019-04-15 13:43:39 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  111. 2019-04-15 13:43:43 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  112. 2019-04-15 13:43:43 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  113. 2019-04-15 13:43:43 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  114. 2019-04-15 13:43:49 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  115. 2019-04-15 13:43:49 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  116. 2019-04-15 13:43:52 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  117. 2019-04-15 13:43:52 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  118. 2019-04-15 13:43:52 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  119. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  120. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  121. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  122. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  123. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  124. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  125. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  126. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  127. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  128. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  129. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  130. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  131. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  132. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  133. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  134. 2019-04-15 13:43:53 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  135. 2019-04-15 13:43:55 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  136. 2019-04-15 13:43:55 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  137. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  138. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  139. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  140. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  141. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  142. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  143. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  144. 2019-04-15 13:43:58 7760 [ERROR] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Sort aborted: Query execution was interrupted
  145. 2019-04-15 13:43:58 7760 [Note] Binlog end
  146. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'partition'
  147. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
  148. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
  149. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
  150. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
  151. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
  152. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
  153. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
  154. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
  155. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
  156. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
  157. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
  158. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
  159. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
  160. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
  161. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_FT_DELETED'
  162. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
  163. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_METRICS'
  164. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
  165. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
  166. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
  167. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
  168. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
  169. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
  170. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_CMPMEM'
  171. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_CMP_RESET'
  172. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_CMP'
  173. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
  174. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_LOCKS'
  175. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'INNODB_TRX'
  176. 2019-04-15 13:43:58 7760 [Note] Shutting down plugin 'InnoDB'
  177. 2019-04-15 13:43:58 7760 [Note] InnoDB: FTS optimize thread exiting.
  178. 2019-04-15 13:43:58 7760 [Note] InnoDB: Starting shutdown...
  179. 2019-04-15 13:44:00 7760 [Note] InnoDB: Shutdown completed; log sequence number 1626164
  180. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'BLACKHOLE'
  181. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'ARCHIVE'
  182. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'MRG_MYISAM'
  183. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'MyISAM'
  184. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'MEMORY'
  185. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'CSV'
  186. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'sha256_password'
  187. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'mysql_old_password'
  188. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'mysql_native_password'
  189. 2019-04-15 13:44:00 7760 [Note] Shutting down plugin 'binlog'
  190. 2019-04-15 13:44:00 7760 [Note] D:\Server\MySQL Server 5.6\bin\mysqld.exe: Shutdown complete
复制代码


谢谢高手,请赐教!!!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| phoer 发表于 2019-4-15 17:57:51 | 显示全部楼层
过了3个小时了,为何还在“ (审核中)”
回复

使用道具 举报

 楼主| phoer 发表于 2019-4-15 19:12:10 | 显示全部楼层
过了4个小时了,为何还在“ (审核中)”,急死
回复

使用道具 举报

 楼主| phoer 发表于 2019-4-16 12:26:16 | 显示全部楼层
本帖最后由 phoer 于 2019-4-16 16:13 编辑
  1. [ERROR] Got error 12 when reading table '.\bashu\pre_forum_thread
复制代码

应是因内存消耗殆尽后,出此错。
回复

使用道具 举报

 楼主| phoer 发表于 2019-4-16 16:37:37 | 显示全部楼层
现问题依旧,插件几乎关闭完了,MySQL 5.6,5.7的几个最新版都安装测试过了,找不到原因。似乎现只有升级到 X3.4版本了
回复

使用道具 举报

lz49858007 发表于 2019-4-16 16:57:18 | 显示全部楼层
从没有碰到过,看来还挺麻烦的
回复

使用道具 举报

dej.sf 发表于 2019-4-16 19:44:08 | 显示全部楼层
你现在论坛实际规模和数据库大小多少?InnoDB的话可以尝试在MySQL里optimize表:
  1. optimize table pre_forum_thread;
复制代码
回复

使用道具 举报

mR.耗子 发表于 2019-4-16 19:50:27 | 显示全部楼层
  是不是开二进制了~
回复

使用道具 举报

xiaoyuwxz 发表于 2019-4-17 10:17:45 | 显示全部楼层
本帖最后由 xiaoyuwxz 于 2019-4-17 10:59 编辑

找找是否有攻击,比如单个IP连接数过多,或站内本身有木马等问题,也可以尝试修复一遍数据库(数据表出错很容易导致这情况),再看看是否最近改了程序或使用了插件。
回复

使用道具 举报

yiyun8541 发表于 2019-4-17 10:45:01 | 显示全部楼层
确定是discuz的问题?
如果你用主要是discuz,那my.cnf关于myiasm及innodb配置是不合理的。
一般来说这个错误最常见的是排序造成的,或者是由。
查看下mysql慢查询日志,show full processlist , explain sql语句,  看看具体原因。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-25 19:27 , Processed in 0.022070 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表