mysql:5351
From: とみたまさひろ <とみたまさひろ <tommy@xxxxxxxxxx>>
Date: Tue, 16 Apr 2002 23:37:22 +0900
Subject: [mysql 05351] Re: mysqld restarted
とみたです。 On Tue, 16 Apr 2002 13:44:40 +0900 moeru@xxxxxxxxxx wrote: > You seem to be running 32-bit Linux and have 378 concurrent connections. > If you have not changed STACK_SIZE in LinuxThreads and build the binary > yourself, LinuxThreads is quite likely to steal a part of global heap for > the thread stack. Please read http://www.mysql.com/doc/L/i/Linux.html MySQL はソースからコンパイルしたものですか。それともバイナリ版でしょう か。このメッセージに書かれている URL を見ると、 If you build MySQL yourself and do not want to mess with patching LinuxThreads, you should set max_connections to a value no higher than 500. It should be even less if you have a large key buffer, large heap tables, or some other things that make mysqld allocate a lot of memory or if you are running a 2.2 kernel with a 2GB patch. If you are using our binary or RPM version 3.23.25 or later, you can safely set max_connections at 1500, assuming no large key buffer or heap tables with lots of data. The more you reduce STACK_SIZE in LinuxThreads the more threads you can safely create. We recommend the values between 128K and 256K. とか書かれてますが…。 > key_buffer_size + (record_buffer + sort_buffer)*max_connections = 2013224 K > は、この設定だと2GBは必要だと言ってるんですよね? > 今、1GBなので、この辺の設定が問題でしょうか? 1GB というのは実メモリですか? 2GB 必要なのは仮想メモリなので、実メモ リ+スワップが 2GB 以上あればいいと思います。 …なのですが、Linux って 2GB 以上のプロセス空間をサポートしてないよう な気も…。 -- とみたまさひろ <tommy@xxxxxxxxxx> 日本MySQLユーザ会 http://www.mysql.gr.jp
5343 2002-04-16 00:29 [<moeru@xxxxxxxxxx> ] mysqld restarted 5344 2002-04-16 07:33 ┗[とみたまさひろ <tomm] 5345 2002-04-16 13:44 ┗[<moeru@xxxxxxxxxx> ] -> 5351 2002-04-16 23:37 ┗[とみたまさひろ <tomm] 5352 2002-04-17 00:50 ┗[<moeru@xxxxxxxxxx> ] 5353 2002-04-17 02:00 ┗[とみたまさひろ <tomm] 5354 2002-04-17 02:37 ┗[<moeru@xxxxxxxxxx> ] 5360 2002-04-17 22:08 ┗[とみたまさひろ <tomm] 5361 2002-04-18 00:18 ┗[<moeru@xxxxxxxxxx> ] 5362 2002-04-18 01:35 ┗[とみたまさひろ <tomm] 5363 2002-04-18 02:32 ┗[<moeru@xxxxxxxxxx> ] 5380 2002-04-21 00:57 ┗[<moeru@xxxxxxxxxx> ]