# mysql crased with signal 6

**URL:** <https://forums.percona.com/t/mysql-crased-with-signal-6/660>\
**Category:** Other MySQL® Questions\
**Created:** [March 4, 2008, 8:28am UTC](https://forums.percona.com/t/mysql-crased-with-signal-6/660 "2008-03-04T08:28:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krish\_indus](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@krish\_indus](https://forums.percona.com/u/krish_indus)\
**Post date:** [March 4, 2008, 8:28am UTC](https://forums.percona.com/t/mysql-crased-with-signal-6/660/1 "2008-03-04T08:28:02Z")

</div>

Hi,

Our system is running in a two way replication mode. In one of our server, mysql crashed with the following error.

mysqld: buffer.cpp:41: void yaSSL::Check::check(unsigned int, unsigned int): Assertion `i \< limit’ failed.  
mysqld got signal 6;  
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.

I have searched in forums and i see some thread but there were no solution to this. Please guide me in overcoming this problem. The mysql version is 5.0.22. The trace from the error log is attached.

Thanks,  
Krishna.

---

<div class="post-metadata">

**Author:** ![susheel](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@susheel](https://forums.percona.com/u/susheel)\
**Post date:** [March 6, 2008, 5:49am UTC](https://forums.percona.com/t/mysql-crased-with-signal-6/660/2 "2008-03-06T05:49:46Z")

</div>

Hi,

I think this is a memory related issue.  
Mysql can use upto memory  
key\_buffer + max\_connections \* (join\_buffer + record\_buffer + sort\_buffer + thread\_stack + tmp\_table\_size)MB of memory

The amount of memory Mysql demanding is more than the available in your server.

This might be a possibility.

Regards  
Sushil
