473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

How do I make mysql hang

So one of my production mysql server's starts to hang every once in
awhile, threads keep on building up and building up until it's
completely unresponsive. Right now my clients aren't dealing with
that well, they will try to make the connection and hold on to it
forever until I go in a kill all the mysqld on the server.

I want to try to do some things to make the clients behave better in
this situation, but I need to be able to reproduce mysqld hanging in
development to see if my fixes work.

Any idea on how I can do this to my server on purpose?
Jul 20 '05 #1
2 2048
im no genious (or SQL warrior) but can you put it into an infinate loop?

you could use the function constructor to declair a function to MySQL and
then call the function from inside its self?

might that work
or is there some safety about recursion???

"Jeremy K" <jk******@yahoo.com> wrote in message
news:ed**************************@posting.google.c om...
So one of my production mysql server's starts to hang every once in
awhile, threads keep on building up and building up until it's
completely unresponsive. Right now my clients aren't dealing with
that well, they will try to make the connection and hold on to it
forever until I go in a kill all the mysqld on the server.

I want to try to do some things to make the clients behave better in
this situation, but I need to be able to reproduce mysqld hanging in
development to see if my fixes work.

Any idea on how I can do this to my server on purpose?

Jul 20 '05 #2
im no genious (or SQL warrior) but can you put it into an infinate loop?

you could use the function constructor to declair a function to MySQL and
then call the function from inside its self?

might that work
or is there some safety about recursion???

"Jeremy K" <jk******@yahoo.com> wrote in message
news:ed**************************@posting.google.c om...
So one of my production mysql server's starts to hang every once in
awhile, threads keep on building up and building up until it's
completely unresponsive. Right now my clients aren't dealing with
that well, they will try to make the connection and hold on to it
forever until I go in a kill all the mysqld on the server.

I want to try to do some things to make the clients behave better in
this situation, but I need to be able to reproduce mysqld hanging in
development to see if my fixes work.

Any idea on how I can do this to my server on purpose?

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ian.H | last post by:
Hi all, I've taken on a massive project for a client recently and now I've hit some bug fixes that are required (3rd party code). and was just wondering about peoples opinions / personal...
2
by: Tarbuza Smith | last post by:
I was told that it is easy to create a table in MYSQL but it is hard to create a table with relationship like in Oracle or SQL Server by using Relationship or Query by Design or whatever wysiwyg...
0
by: john townsley | last post by:
hi I have windowsXP and have downloaded the relevant copy of MySql. I run the setup and mysql is placed on c:\mysql.....OK so far. I am trying to follow the manual on mysql website but I am...
0
by: Arthur Perry | last post by:
Hello, I am having this problem that is just driving me crazy.. When using Bugzilla with Mysql (all Mysql, Perl, and modules all supplied by RedHat for RHEL 3.0), MYSQL hangs frequently. I have...
3
by: Leonardo Javier Bel?n | last post by:
I cannot make the following program call the MYSQL C API when called from the function process_token and I dont know why. I checked the WEB and I did found nothing related to this bug. I am using...
2
by: pratchaya | last post by:
This is my sample error in my MySQL Log New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://www.mysql.com/doc/en/Using_stack_trace.html and follow instructions...
2
by: daniel | last post by:
I have the following scenario. A mysql database running 3 databases. It is version 5.0.27 on Windows XP Prof.. All innodb databases. The one database is particularly large (7.8GB of...
9
by: Derrick Shields | last post by:
I'm working with a database that has over 11 million rows. The .SQL drop file is about 2.5gigs. Doing a simple query: select * from people where last_name like '%smith%' A query like this can...
13
by: Richard Brooks | last post by:
Does anyone here open a second MySQL database and use that as a straight IDX type file that points to the record number in the main database, for speed's sake? Some time ago I'd set up a...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.