Hi

        Yes, we did check the amount of free O/S memory and this was the
same as during normal operating times when the system is working.
        Even the load averages on the system was very low.

        At the moment of this incident there was only 300 odd connections
from the website where there are usually about 2000 + connections.
        
        As stated, the only other process running at that stage was the
oracle import process, however after speaking to the person who implemented
the imports scripts / process it was stated that this import makes one
single connection and then imports relevant data within a single
transaction.

        This import runs every 30 minutes so the amount of data being import
is not that much and have not increased drastically so I am not yet sue as
to where else to look.

        The only log created was that there was that no more threads could
be created, even when trying to shutdown the MySQL database.

        I am not sure whether this could make a difference, however, but the
server also runs an oracle database on the same server (not the database
being imported from, only a slave oracle database)...

        I have also checked the ulimit settings and it seems that all the
options in forums found thus far has been set to unlimited or to more than
what is being suggested.


Machiel Richards


-----Original Message-----
From: Benedikt Schackenberg [mailto:schackenb...@termindoc.de] 
Sent: 29 June 2010 10:57 AM
To: mysql@lists.mysql.com
Subject: Re: Mysql error causing database to not accept threads

  Note that some of the memory settings are per connection, if you have 
63 connections, you may have up to 63 copies of the buffers, and you 
have pretty huge buffers even with 30GB of memory. Join buffers close to 
1 G, tmp_table_size of 2 G, 63 connections could mean upto 63 copies of 
these, and if each connection uses the full buffers, thats close to 200GB!

You should adjust these to cater to the maximum number of connections 
expected.

Did you try to check how much free memory you have when the problem occurs?
Am 29.06.2010 10:17, schrieb Machiel Richards:
> ERROR 1135 (00000): Can't create a new thread


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=machiel.richa...@gmail.com


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to