472,781 Members | 1,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,781 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 2017
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
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.