# mysql connection issue

**URL:** <https://forums.percona.com/t/mysql-connection-issue/1740>\
**Category:** Other MySQL® Questions\
**Created:** [January 25, 2012, 1:28am UTC](https://forums.percona.com/t/mysql-connection-issue/1740 "2012-01-25T01:28:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yogesh77](https://avatars.discourse-cdn.com/v4/letter/y/f08c70/32.png) [@yogesh77](https://forums.percona.com/u/yogesh77)\
**Post date:** [January 25, 2012, 1:28am UTC](https://forums.percona.com/t/mysql-connection-issue/1740/1 "2012-01-25T01:28:36Z")

</div>

i am getting this error on new centos 6.0 OS with Server version: 5.1.42-community-log MySQL Community Server (GPL).

Memory is available on system,

MEMORY USAGE  
Max Memory Ever Allocated : 110.10 G  
Configured Max Per-thread Buffers : 21.68 G  
Configured Max Global Buffers : 90.07 G  
Configured Max Memory Limit : 111.75 G  
Physical Memory : 126.03 G  
Max memory limit seem to be within acceptable norms

mysql not letting application more than 1016 connections.

The same configuration was working for years on centos 5.

OS limit settings are:

core file size (blocks, -c) 0  
data seg size (kbytes, -d) unlimited  
scheduling priority (-e) 0  
file size (blocks, -f) unlimited  
pending signals (-i) 1032346  
max locked memory (kbytes, -l) 64  
max memory size (kbytes, -m) unlimited  
open files (-n) 65535  
pipe size (512 bytes, -p) 8  
POSIX message queues (bytes, -q) 819200  
real-time priority (-r) 0  
stack size (kbytes, -s) 10240  
cpu time (seconds, -t) unlimited  
max user processes (-u) 10240  
virtual memory (kbytes, -v) unlimited  
file locks (-x) unlimited

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [January 25, 2012, 8:00am UTC](https://forums.percona.com/t/mysql-connection-issue/1740/2 "2012-01-25T08:00:45Z")

</div>

You didn’t say anything about what the actual error is.

---

<div class="post-metadata">

**Author:** ![yogesh77](https://avatars.discourse-cdn.com/v4/letter/y/f08c70/32.png) [@yogesh77](https://forums.percona.com/u/yogesh77)\
**Post date:** [January 25, 2012, 8:13am UTC](https://forums.percona.com/t/mysql-connection-issue/1740/3 "2012-01-25T08:13:04Z")

</div>

the actual error on client is:

(Can’t create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug)

this is happening on new centos 6.0 os i migrated from centos 5.4
