MySQL ve vice instancich

Bc . Radek Krejča radek na ceskedomeny.cz
Úterý Září 16 15:47:19 CEST 2003


Dobry den,

  ok

16. září 2003, 15:06:31, jste napsal(a):
HP> On Tue, Sep 16, 2003 at 02:44:06PM +0200, Bc . Radek Krejča wrote:
>> 
>>   muj soucasny stav pri vypisu ps -xa:
>> 
>> 23295 ??  I       0:51.90 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/mysql --user=mysql --pid-file=/var/mysql/server.pid
>> 14387 p0- I       0:00.10 /bin/sh /usr/local/bin/safe_mysqld
>> 
>> 
>>   co chci:
>> 
>> 14068 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/server.pid
>> 14092 ?        S      0:05 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/server.pid --skip-locking

HP> Pouzijte

HP>         $ ps xam

Ted dost dobre nechapu, ten prvni vypis byl z meho pocitace, kde bezi
mysqld jen jednou a obcas mi slitne a restartuje se s tim, ze krici v
logu (pripojim nakonec). To druhe bylo z Linuxoveho serveru, mysqld
bezi asi v 8 instancich, predpokladam, ze se pouziva vzdy ta nejmene
vytizena (jinak nechapu vyznam, proc to bezi vickrat), to bych chtel.
Aby na mem stroji bezelo MySQL ve vice instancich.

A nyni slibena hlaska z logu:

030915 11:30:52  mysqld restarted
/usr/local/libexec/mysqld: ready for connections
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail

key_buffer_size=4190208
record_buffer=131072
sort_buffer=524280
max_used_connections=15
max_connections=50
threads_connected=6
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 36091 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

030915 12:01:37  mysqld restarted
/usr/local/libexec/mysqld: ready for connections


-- 
S pozdravem,
 Bc. Radek Krejča
 Starnet, s. r. o.
 radek.krejca na starnet.cz
 +420 608 470980
 http://www.ceskedomeny.cz
 http://www.skdomeny.com
 http://www.starnet.cz
 ICQ: 65895541



Další informace o konferenci Databases