Problem with stability

2003-09-15 Thread Bc. Radek Kreja
Hello,

  I have problem with stability of MySQL. I got this messages:

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

  I decreased values, but situation is still the same. My version is
  3.23.55 and I have OpenBSD. This is my /etc/my.cnf:

# The following options will be passed to all MySQL clients
[client]
#password   = your_password
#port   = 3306
#socket = /var/mysql/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
#port   = 3306
#socket = /var/mysql/mysql.sock
skip-locking
set-variable= key_buffer=4M
set-variable= max_allowed_packet=1M
set-variable= table_cache=64
set-variable= sort_buffer=512K
set-variable= net_buffer_length=8K
set-variable= myisam_sort_buffer_size=8M
set-variable= max_connections=50
server-id   = 1
skip-innodb
default-character-set=latin2
[mysqldump]
quick
set-variable= max_allowed_packet=16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
set-variable= key_buffer=20M
set-variable= sort_buffer=20M
set-variable= read_buffer=2M
set-variable= write_buffer=2M

[myisamchk]
set-variable= key_buffer=20M
set-variable= sort_buffer=20M
set-variable= read_buffer=2M
set-variable= write_buffer=2M

[mysqlhotcopy]
interactive-timeout


  I use MySQL with Apache and PHP, now I have 256 MB RAM. Is some
  solution?

-- 
S pozdravem,
 Bc. Radek Kreja
 Starnet, s. r. o.
 [EMAIL PROTECTED]
 http://www.ceskedomeny.cz
 http://www.skdomeny.com
 http://www.starnet.cz
 ICQ: 65895541 



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



mysqld got signal 11;

2003-01-15 Thread Bc. Radek Kreja
Hello,

  I found more following messages in my mysql log:

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 agaist 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=16773120
record_buffer=131072
sort_buffer=524280
max_used_connections=8
max_connections=200
threads_connected=6
It is possible that mysqld could use up to 
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 144378 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

030115 09:46:53  mysqld restarted
/usr/local/libexec/mysqld: ready for connections

  What is wrong? I have version 3.23.49 on OpenBSD 3.1 compiled from
  ports, 256 MB RAM, PHP 4.2.3.

  I start MySQL with folowing script:

#!/bin/sh
PREFIX=/usr/local
if [ -x /sbin/ldconfig ]; then
 /sbin/ldconfig -m ${PREFIX}/lib/mysql
fi
if [ -x ${PREFIX}/bin/safe_mysqld ]; then
 ${PREFIX}/bin/safe_mysqld --open-files-limit=32768 --set-variable max_connections=200 
  /dev/null  echo -n ' mysql'
fi

  And now my /etc/my.cnf:

[client]
port= 3306

[mysqld]
port= 3306
skip-locking
set-variable= key_buffer=16M
set-variable= max_allowed_packet=1M
set-variable= table_cache=64
set-variable= sort_buffer=512K
set-variable= net_buffer_length=8K
set-variable= myisam_sort_buffer_size=8M
log-bin
server-id   = 1

[mysqldump]
quick
set-variable= max_allowed_packet=16M

[mysql]
no-auto-rehash

[isamchk]
set-variable= key_buffer=20M
set-variable= sort_buffer=20M
set-variable= read_buffer=2M
set-variable= write_buffer=2M

[myisamchk]
set-variable= key_buffer=20M
set-variable= sort_buffer=20M
set-variable= read_buffer=2M
set-variable= write_buffer=2M

[mysqlhotcopy]
interactive-timeout

 What I may do to repair this problem?
 
 Thanks Radek

-- 
Regards,
 Bc. Radek Kreja
 Starnet, s. r. o.
 [EMAIL PROTECTED]



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




server-bin files

2002-12-16 Thread Bc. Radek Kreja
Hello,

  I found SERVER-bin.* files from today in my MySQL directory, where
  are databases stored. What are theese files and why was created.

  SERVER-bin.001
  SERVER-bin.002
  SERVER-bin.index

  Owner mysql, group mysql.

  Thanks
  Radek

-- 
S pozdravem,
 Bc. Radek Kreja
 Starnet, s. r. o.
 [EMAIL PROTECTED]
 +420 608 470980
 http://www.ceskedomeny.cz
 http://www.skdomeny.com
 http://www.starnet.cz



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




ORDER BY and charset iso-8859-2 and windows-1250

2002-11-04 Thread Bc. Radek Kreja
Hello all,

  I have problem with ORDER BY in MySQL if I have some characters in iso-8859-2
  and windows-1250. What I should do for fix it.
  Thanks
  Radek



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php