What is your kernel version? On Monday 03 July 2006 16:03, Niels Huylebroeck wrote: > >> Following is captured using -d 100 and redirect to file. > >> > >> +++++++++++++ > >> bigstore-dir: mysql.c:68 DB REopen 1 bacula > >> bigstore-dir: next_vol.c:49 CatReq FindMedia: PoolId=1, MediaType=File > >> bigstore-dir: next_vol.c:65 catreq after find_next_vol ok=1 > >> FW=1150964671 bigstore-dir: next_vol.c:145 VolJobs=18 > >> FirstWritten=1150964671 bigstore-dir: mysql.c:68 DB REopen 1 bacula > >> bigstore-dir: next_vol.c:49 CatReq FindMedia: PoolId=1, MediaType=File > >> bigstore-dir: next_vol.c:65 catreq after find_next_vol ok=1 > >> FW=1150964671 bigstore-dir: next_vol.c:145 VolJobs=18 > >> FirstWritten=1150964671 bigstore-dir: mysql.c:68 DB REopen 1 bacula > >> bigstore-dir: next_vol.c:49 CatReq FindMedia: PoolId=1, MediaType=File > >> bigstore-dir: next_vol.c:65 catreq after find_next_vol ok=1 F > >> +++++++++++++ > >> > >> And yes it really stops at the F. > > > > I dount that ;-) > > > > Rather, I suppose you see the effects of outpu buffering. In other > > words, whatever text follows is still buffered "inside" the debug log > > file descriptor. > > > > Is the DIR running? You can check this with ps, top, pstree for example. > > It runs but is choked. > Top line from bacula-dir > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ WCHAN > COMMAND > 17494 root 16 0 39072 2488 7072 S 0.0 1.0 0:00.00 36470496 > /sbin/bacula-dir -c /etc/bacula/bacula-dir.conf > > As you can see it's stuck somewhere in the memory. > > > Or, on another terminal, issue a 'killall bacula-dir' - THAT would show > > you a crashing DIR debug log ;-) > > No, that solves my problem, until the next automated backup that is. > > > Of course I may be totally wrong and the DIR DID crash - in that case > > you'd have to use the debugger to create a backtrace of the crashing > > DIR. You can find hints in the "Kaboom" chapter of the manual. > > The thing is the director does not crash. > > Here's the backtrace: > > Using host libthread_db library "/lib/tls/libthread_db.so.1". > > Error while mapping shared library sections: > : Success. > > Error while reading shared library symbols: > : No such file or directory. > > [Thread debugging using libthread_db enabled] > [New Thread -150942912 (LWP 17494)] > [New Thread -174126160 (LWP 23247)] > [Thread debugging using libthread_db enabled] > [New Thread -150942912 (LWP 17494)] > [New Thread -174126160 (LWP 23247)] > [Thread debugging using libthread_db enabled] > [New Thread -150942912 (LWP 17494)] > [New Thread -174126160 (LWP 23247)] > [New Thread -163632208 (LWP 17496)] > [New Thread -153142352 (LWP 17495)] > 0x00798402 in ?? () > $1 = "bigstore-dir", '\0' <repeats 17 times> > $2 = 0x9d3a870 "bacula-dir" > $3 = 0x9d3a898 "/sbin/" > $4 = "MySQL" > $5 = 0x80b4a74 "1.38.10 (08 June 2006)" > $6 = 0x80ac705 "i686-pc-linux-gnu" > $7 = 0x80ac6fe "redhat" > $8 = 0x80ac6f3 "(Tettnang)" > #0 0x00798402 in ?? () > #1 0x00884eee in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 > #2 0x00881df4 in _L_mutex_lock_29 () from /lib/tls/libpthread.so.0 > #3 0x00000000 in ?? () > > Thread 4 (Thread -153142352 (LWP 17495)): > #0 0x00798402 in ?? () > #1 0x0071c491 in ___newselect_nocancel () from /lib/tls/libc.so.6 > #2 0x08087fac in bnet_thread_server (addrs=0x4, max_clients=10, > client_wq=0x80c94c0, > handle_client_request=0x80744cc <handle_UA_client_request>) > at bnet_server.c:148 > #3 0x0807440b in connect_thread (arg=0x9d3b770) at ua_server.c:73 > #4 0x0087f98c in start_thread () from /lib/tls/libpthread.so.0 > #5 0x007237da in clone () from /lib/tls/libc.so.6 > > Thread 3 (Thread -163632208 (LWP 17496)): > #0 0x00798402 in ?? () > #1 0x00882b15 in pthread_cond_timedwait@@GLIBC_2.3.2 () > from /lib/tls/libpthread.so.0 > #2 0x0809d634 in watchdog_thread (arg=0x0) at watchdog.c:292 > #3 0x0087f98c in start_thread () from /lib/tls/libpthread.so.0 > #4 0x007237da in clone () from /lib/tls/libc.so.6 > > Thread 2 (Thread -174126160 (LWP 23247)): > #0 0x00798402 in ?? () > #1 0x00884eee in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 > #2 0x00881df4 in _L_mutex_lock_29 () from /lib/tls/libpthread.so.0 > #3 0xffffffff in ?? () > #4 0xffffffff in ?? () > #5 0xf59f0950 in ?? () > #6 0x09d4bfa8 in ?? () > #7 0x09d4c6c0 in ?? () > #8 0xf59f0918 in ?? () > #9 0x08084c20 in _p (m=0x80c970c) at bsys.c:373 > /etc/bacula/btraceback.gdb:10: Error in sourced command file: > Previous frame identical to this frame (corrupt stack?) > #0 0x00798402 in ?? ()
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users