OpenVZ Forum


Home » International » Russian » MySQL -- Can't create a new thread
MySQL -- Can't create a new thread [message #36237] Mon, 01 June 2009 11:52 Go to next message
koteg is currently offline  koteg
Messages: 2
Registered: June 2009
Junior Member
В контейнере находится postfix + dovecot.

Dovecot коннектится к mysql:

dovecot: auth-worker(default): mysql: Connect failed to 192.168.хх.уу (mail): Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug - waiting for 1 seconds before retry

При коннекте руками:
# mysql -h 192.168.хх.уу
ERROR 1135 (00000): Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug


# cat /proc/user_beancounters 
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      174:  kmemsize        7499115    7873900  545259520  545259520          0
            lockedpages           0        408 1000000000 1000000000          0
            privvmpages       24912      26284 2147483647 2147483647          0
            shmpages              0          0      21504      21504          0
            dummy                 0          0          0          0          0
            numproc              77         80      10240      10240          0
            physpages         10084      11215          0 2147483647          0
            vmguarpages           0          0     262144 2147483647          0
            oomguarpages      10084      11215      26112 2147483647          0
            numtcpsock          129        130       8192       8192          0
            numflock              0          1        188        206          0
            numpty                1          2         16         16          0
            numsiginfo            0         37        256        256          0
            tcpsndbuf             0      51840      65536   22000000          0
            tcprcvbuf             0       8576      65536   22000000          0
            othersockbuf     383040     384256     256000  256000000          4
            dgramrcvbuf           0       4288     262144     262144          0
            numothersock        199        201      10000      10000          0
            dcachesize       346045     353395  125829120  125829120          0
            numfile            3549       3633     327680     327680          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10        128        128          0


Что я делаю не так?

[Updated on: Mon, 01 June 2009 11:58]

Report message to a moderator

Re: MySQL -- Can't create a new thread [message #36238 is a reply to message #36237] Mon, 01 June 2009 11:58 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

а mysql в своём логе что-то пишет?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: MySQL -- Can't create a new thread [message #36239 is a reply to message #36238] Mon, 01 June 2009 12:29 Go to previous message
koteg is currently offline  koteg
Messages: 2
Registered: June 2009
Junior Member
kir wrote on Mon, 01 June 2009 07:58

а mysql в своём логе что-то пишет?


Дело было в ограничении кол-ва файлов в контейнере в котором был запущен MySQL.

Спасибо за помощь.
Previous Topic: Контейнер из OpenVZ в Virtuozzo
Next Topic: Перенос контейнера с одного массива на другой.
Goto Forum:
  


Current Time: Tue Feb 07 04:39:15 GMT 2023

Total time taken to generate the page: 0.01184 seconds