Re: [Bacula-users] Restoring large directory does not work
2009-06-24 14:54:36
>>>>> On Wed, 24 Jun 2009 10:41:03 -0700, mehma sarja said:
>
> (gdb) thread apply all bt
>
> Thread 4 (Thread 0x801902180 (LWP 100350)):
> #0 0x00000008016f98cc in nanosleep () from /lib/libc.so.7
> #1 0x00000008009078c5 in nanosleep () from /lib/libthr.so.3
> #2 0x000000000044e21e in bmicrosleep ()
> #3 0x000000000042408d in wait_for_next_job ()
> #4 0x0000000000408a3c in main ()
>
> Thread 3 (Thread 0x801902480 (LWP 100192)):
> #0 0x0000000801715afc in select () from /lib/libc.so.7
> #1 0x00000008009074d4 in select () from /lib/libthr.so.3
> #2 0x000000000044f9b2 in bnet_thread_server ()
> #3 0x0000000000438ba8 in connect_thread ()
> #4 0x0000000800908a27 in pthread_getprio () from /lib/libthr.so.3
> #5 0x0000000000000000 in ?? ()
> Error accessing memory address 0x7fffffbff000: Bad address.
> #0 0x000000000040c043 in add_findex ()
The function add_findex is interesting, but I think like your bacula-dir was
compiled without debugging info so it is difficult to see what is happening.
Try the following gdb commands (I assume you are running 64-bit FreeBSD):
break *add_findex
commands
printf "arguments: %x %x %x\n", $rdi, $rsi, $rdx
end
continue
This sets a breakpoint at the start of the function add_findex to print the
arguments and starts Bacula running again. It should stop in gdb when it
reaches the beginning of add_findex again (with a message like Breakpoint
1...in add_findex...).
When it stops, enter the continue command again and time how long it takes
before it stops again.
Do this a few times and post the results (including the "arguments:" output).
__Martin
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Restoring large directory does not work, mehma sarja
- Re: [Bacula-users] Restoring large directory does not work, John Drescher
- Re: [Bacula-users] Restoring large directory does not work, mehma sarja
- Message not available
- Re: [Bacula-users] Restoring large directory does not work, mehma sarja
- Re: [Bacula-users] Restoring large directory does not work, Bruno Friedmann
- Re: [Bacula-users] Restoring large directory does not work, Martin Simmons
- Re: [Bacula-users] Restoring large directory does not work, mehma sarja
- Re: [Bacula-users] Restoring large directory does not work, mehma sarja
- Re: [Bacula-users] Restoring large directory does not work,
Martin Simmons <=
- Re: [Bacula-users] Restoring large directory does not work, mehma sarja
- Re: [Bacula-users] Restoring large directory does not work, Martin Simmons
- Re: [Bacula-users] Restoring large directory does not work, mehma sarja
- Re: [Bacula-users] Restoring large directory does not work, Martin Simmons
|
|
|