Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 21:27:02 GMT
From:      Ryan Stone <rstone@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/166918: USDT probes not cleaned up when process exits uncleanly
Message-ID:  <201204132127.q3DLR2L6060145@red.freebsd.org>
Resent-Message-ID: <201204132130.q3DLUB67055580@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166918
>Category:       kern
>Synopsis:       USDT probes not cleaned up when process exits uncleanly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 21:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Stone
>Release:        8.3-RELEASE
>Organization:
>Environment:
>Description:
I was playing with the USDT example on the wiki:

http://wiki.freebsd.org/DTrace/userland

I ended up having to kill -9 some of the db instances, and I ended up in the following state:

(module-1:wheel)# dtrace -l | grep database
32081 database25896                db                              main query-done
32082 database25896                db                              main query-start
32083 database28195                db                              main query-done
32084 database28195                db                              main query-start
32085 database39041                db                              main query-done
32086 database39041                db                              main query-start
(module-1:wheel)# kill 25896 28195 39041
-bash: kill: (25896) - No such process
-bash: kill: (28195) - No such process
-bash: kill: (39041) - No such process

I would suspect that 25896 et al. were test invocations that were crashed by dtrace(1).
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204132127.q3DLR2L6060145>