Displaying 20 results from an estimated 100 matches similar to: "CPU stats problem"
2013 Jun 06
1
Reproducable Infiniband panic
Hello,
I see a reproducable panic when doing ibping and aborting it with ^C. My
setup is two machines with Mellanox Infinihost III HCAs (one Linux one
FreeBSD) connected back-to-back.
Details below. I can upload 2 crash dumps, if this is useful. For some
reason the port doesn't become ACTIVE, so no packets arrive, but that is
probably unrelated.
% uname -a
FreeBSD cosel.inf.tu-dresden.de
2006 Jul 17
7
access to errno when using pid provider
I would like to know how to get access to errno when using pid provider to probe calls to
libc functions like fopen(). The built-in errno appears to be only for system calls. What I''d
like to be able to do is investigate where in an application I''m encountering EMFILE and
what the stack looks like at the time.
This message posted from opensolaris.org
2010 May 04
2
sched provider
Hi All,
I used the following script from the dtrace manual to measure how long a particular process runs on the cpu. Modified it to look at the exact timestamps:
[i]
sched:::on-cpu
{
self->ts = timestamp;
printf("on=%d\n", self->ts)
}
sched:::off-cpu
/self->ts/
{
printf("off=%d\n", timestamp)
self->ts = 0;
}
[/i]
The output looks like this:
[i]on=24591
off=24603
2006 Feb 15
4
Script for Stackdepth by Thread/LWP?
I''m interested in monitoring the amount of stack used by a multi-threaded program. I assume ''stackdepth'' built-in would be useful...but not sure. Been through demo''s, ToolKit, and internals..but it''s just not clicking for me yet.
Not sure how to measure start/end of stack size dynamically...Anyone know how to break this down?
This message posted from
2007 Feb 14
10
Asynchronous signal handling in fasttrap provider
Hi,
I was going through the implementation of the fasttrap provider. I found
that when displaced execution happens (ie., when the instruction traced is
being executed out of the scratch space) if an asynchrnous signal comes we
need to defer the delivery.
Can somebody explain why this is necessary and how is it implemented?
Thanks in advance
Saravanan S
-------------- next part --------------
An
2008 Oct 01
5
ustack()s of SIGSEGV''ed programs
Hi all,
I am trying to write a D script which would print ustack() for every
program in the system receiving SIGSEGV. All the stacks printed in
trap()/sigtoproc() context do not have meaningful symbols.
The following solves the problem to some degree but I''d much rather have
a self-contained D script.
dtrace -w -n ''fbt:genunix:sigtoproc:entry/arg2 == 11/ {
2007 Aug 29
6
How do I look up syscall name
I''m using a fbt probe where I get a system call id as an argument, how do I look up the name of it? At the moment I''m post-processing the output using /etc/name/to_sysnum but that doesn''t feel right :)
cheers,
/Martin
--
This message posted from opensolaris.org
2006 Jun 02
5
Read-write locks in libzpool
Hi,
I think I found a bug in the rw_enter() implementation (emulation?) in
libzpool, file /usr/src/lib/libzpool/common/kernel.c:
void
rw_enter(krwlock_t *rwlp, krw_t rw)
{
ASSERT(!RW_LOCK_HELD(rwlp));
ASSERT(rwlp->rw_owner != (void *)-1UL);
ASSERT(rwlp->rw_owner != curthread);
if (rw == RW_READER)
(void) rw_rdlock(&rwlp->rw_lock);
else
(void)
2007 May 30
5
Determining Parent''s execname
Hi,
I''m trying to trace the io of a given file, but I have a feeling that it''s been
done via a script, as such I''d like to be able to tell the names of the calling
processe tree, similar to what ptree produces.
Is there any way to get this information without running ptree using system()?
Thanks,
Darren.
2006 Jun 03
8
dtrace causing sigtrap?
Just to let people know what my big picture is, I''m trying to write a script
that will let me run a program, and name a progeny of that program
that I want to debug. My script should find the first occurrence
of that progeny, and run it until it finishes initializing the
runtime linker, but stop it before it runs any shared library startup
routines. (Failing that, I''d be okay
2008 Apr 01
10
Request for code review: the brendan() action
This came up as an RFE during the conference (I believe it''s been logged
as "4012008: brendan() action needed for DTrace Toolkit".)
As everyone here is aware, DTrace is not quite as user friendly as it
could be. For the uninitiated, it can be confusing to run a DTrace
script and not see the expected output. Brendan Gregg has addressed
this in the DTrace Toolkit[1] by
2013 Jul 22
2
stopping amd causes a freeze
Occasionally stopping amd freezes my system. It's a rare occurrence,
and I haven't found a reliable way to reproduce it.
It's also a real freeze, so there's no way to get into the debugger
or grab a core dump. I only can perform the 4 seconds hard shutdown to
revive the system.
I run amd through sysutils/automounter, which is a scripting solution
that generates an amd.map file
2013 Jul 07
1
Shutdown hangs on unmount of a gjournaled file system in 8-Stable
The problem occurs after an update of 8-stable from r248120 to r252111.
Sometimes shutdown hangs:
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 0 done
All buffers synced.
>From the kernel
2008 Sep 29
1
describe function in package Hmisc and function format.dates in chron (PR#13087)
Full_Name: Kem Phillips
Version: 2.7.1 (2008-06-23)
OS: Windows Xp professional
Submission from: (NULL) (98.221.200.108)
The Hmisc function describe fails, giving the error message:
Error in formatDateTime(dd, atx, !timeUsed) :
could not find function "format.dates"
Loading the chron package, where function dates apparently resides, does not
fix the problem. Note
2011 Jun 02
0
Debian 6.0 + Xen4.0 + FreeBSD hvm amd64 -> fpudna: fpcurthread == curthread XXXX times
Hello,
I''m working with full virtual FreeBSD 8.2-RELEASE-p1 amd64 domU under debian
squeeze and xen-hypervisor-4.0-amd64.
If I cfg this hvm with cpu > 4 :
vcpus = 5
the server is blocked by these messages :
fpudna: fpcurthread == curthread XXXX times
The machine is pingable but I''m unable to ssh to it.
On single user, freebsd works fine, fsck an so on ok, but
2008 Mar 04
0
Determining curthread pointer (ulwp_t) via libproc on i386
How would I determine the address of the ulwp_t structure for the
current thread of a process from a 32-bit i386 executable looking at a
32-bit executable? (This is in support of a fix for 6593259:
"libdtrace should prefer pid probes to breakpoints".)
For example, if I compile the following code 64-bit snippet, I can get
that address from 32-bit or 64-bit executables:
2006 Dec 13
11
tcptop fail to run
Hello all,
i''m trying to run the tool tcptop from the dtracetoolkit but it fails.
I got the following error:
tcptop -C 30
dtrace: failed to compile script /dev/fd/11: "usr/include/sys/kstat.h", line 439: invalid type combination
I let it run on different machines on a Ultra 45 and a E20K both with Solaris 10 same result.
any ideas?
best regards
Jens
This message
2008 Sep 03
1
problem with Hmisc
Dear All,
I'm reading Frank Harrell's wonderful Regression
Modeling Strategies book and ran into a problem
following the example in Chapter 8. I'm working
on
platform: Ubuntu 8.04 (i486-pc-linux-gnu)
R version: 2.7.2 (2008-08-25)
and my command sequence was:
library(chron)
library(Hmisc)
load("prostate.sav")
describe(prostate)
The last command returned the error
2003 Aug 04
0
Thread woes after 4.7 - 4.8 upgrade
Since upgrading our openldap (v1.2.13) server to 4.8-STABLE from 4.7-STABLE,
we've noticed that the slapd server increasingly eats up memory, before
dieing and coredumping after about 15 minutes. I rebuilt the package (via
ports), post-upgrade, to see if that fixed the problem and no dice. I've
rebuilt libc_r and the pkg with debugging symbols, yielding the following:
# gdb ./slapd.static
2012 Sep 30
2
rsync over NFSv4
Hi,
my FreeBSD-9/stable machine (FreeBSD freebsd-tower.goebo.site
9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r241044M: Sat Sep 29 12:52:01
CEST 2012 lbo@freebsd-tower.goebo.site:/usr/obj/usr/src/sys/GENERIC
i386) crashes reproducibly when rsync-ing files to an NFSv4 share on
the FreeBSD machine. The crash makes the system reboot. The crash
creates files in /var/crash which may be obtained