I've delved into this.  The perl script that is 'mysqlhotbackup' does the
following:


.. and thus it locks it (from my experience) for read only.

So I'm testing with:

while :; do sleep $[ $RANDOM / 8192 ]; rcmysql stop; rcmysql start; done

This tends to tickle things.

I've run 'gdb ./radiusd' then '(gdb) run -f' and I am at the following
prompt:

[New Thread 31776 (LWP 27266)]
Delayed SIGSTOP caught for LWP 27266.
LWP 26565 exited.
Cannot find thread 33: invalid thread handle
(gdb) tr
trace command requires an argument
(gdb) bt
#0  0x401c0931 in __linuxthreads_create_event () from /lib/libpthread.so.0
#1  0x401ba3bb in pthread_handle_create () from /lib/libpthread.so.0
#2  0x401b9d2d in __pthread_manager () from /lib/libpthread.so.0
#3  0x401b9e3d in __pthread_manager_event () from /lib/libpthread.so.0
(gdb) 

This doesn't look very familiar to me, perhaps I am in some other thread's
context and not the place where the problem occurred?
-- 
Todd Fries .. [EMAIL PROTECTED]

(last updated $ToddFries: signature.p,v 1.2 2002/03/19 15:10:18 todd Exp $)

Penned by Alan DeKok on Mon, Aug 19, 2002 at 02:42:19PM -0400, we have:
| "Todd T. Fries" <[EMAIL PROTECTED]> wrote:
| > It seems to happen when the database is doing a hot-backup and is
| > unresponsive/slow for a few (10-15) minutes.
| 
|   If authorization depends on that database, and it goes down for
| 10-15 minutes, then there's not much point in running the server
| during that time.
| 
|   If the MySQL server really does disappear during backups, I'd
| suggest doing something else to keep the RADIUS alive...
| 
| 
| > Mon Aug 19 00:16:47 2002 : Error: rlm_sql:  There are no DB handles to use!
| > Mon Aug 19 00:17:37 2002 : Error: CHILD: exit on signal (11)
| 
|   Hmm.. that's an unchecked de-referencing of a NULL pointer
| somewhere.  Without more information, it's hard to know where.
| 
|   Alan DeKok.
| 
| - 
| List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to