public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/23813] New: Make "too many pending warnings" more helpful
@ 2018-10-24  4:47 agentzh at gmail dot com
  2018-10-24 18:14 ` [Bug runtime/23813] " fche at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: agentzh at gmail dot com @ 2018-10-24  4:47 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23813

            Bug ID: 23813
           Summary: Make "too many pending warnings" more helpful
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: agentzh at gmail dot com
  Target Milestone: ---

Some times we only get something like below from stap:

```
WARNING: too many pending (warning) messages
ERROR: too many pending (error) messages
WARNING: /opt/stap-plus/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
```

It's not helpful at all since we have no idea what messages are actually
flooding the control message buffers.

We should make stap output the first few and also the last few messages in the
current control buffer when it thinks that there are "too many". Otherwise
there is no way to debug things here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/23813] Make "too many pending warnings" more helpful
  2018-10-24  4:47 [Bug runtime/23813] New: Make "too many pending warnings" more helpful agentzh at gmail dot com
@ 2018-10-24 18:14 ` fche at redhat dot com
  2018-10-24 18:47 ` agentzh at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2018-10-24 18:14 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23813

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
These messages are printed when the rate of the messages is so high that there
wasn't room to store any more of them.  Maybe the suggestion is to drop
-earlier- ones rather than new ones?  Not sure how easy that would be.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/23813] Make "too many pending warnings" more helpful
  2018-10-24  4:47 [Bug runtime/23813] New: Make "too many pending warnings" more helpful agentzh at gmail dot com
  2018-10-24 18:14 ` [Bug runtime/23813] " fche at redhat dot com
@ 2018-10-24 18:47 ` agentzh at gmail dot com
  2018-10-24 18:50 ` fche at redhat dot com
  2018-10-24 18:52 ` agentzh at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: agentzh at gmail dot com @ 2018-10-24 18:47 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23813

--- Comment #2 from agentzh <agentzh at gmail dot com> ---
As long as we output some warning messages from the buffer at least. Right now
I don't see any warnings at all generated, which makes debugging near
impossible if without tracing stap itself...

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/23813] Make "too many pending warnings" more helpful
  2018-10-24  4:47 [Bug runtime/23813] New: Make "too many pending warnings" more helpful agentzh at gmail dot com
  2018-10-24 18:14 ` [Bug runtime/23813] " fche at redhat dot com
  2018-10-24 18:47 ` agentzh at gmail dot com
@ 2018-10-24 18:50 ` fche at redhat dot com
  2018-10-24 18:52 ` agentzh at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2018-10-24 18:50 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23813

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
I wonder if you have a reproducer handy.  A few attempts here always resulted
in some real payload WARNINGs' before the "too many" ones.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/23813] Make "too many pending warnings" more helpful
  2018-10-24  4:47 [Bug runtime/23813] New: Make "too many pending warnings" more helpful agentzh at gmail dot com
                   ` (2 preceding siblings ...)
  2018-10-24 18:50 ` fche at redhat dot com
@ 2018-10-24 18:52 ` agentzh at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: agentzh at gmail dot com @ 2018-10-24 18:52 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23813

--- Comment #4 from agentzh <agentzh at gmail dot com> ---
Yeah, it seems only reproducible in our big examples. I'll try digging a bit
myself...

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-24 18:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24  4:47 [Bug runtime/23813] New: Make "too many pending warnings" more helpful agentzh at gmail dot com
2018-10-24 18:14 ` [Bug runtime/23813] " fche at redhat dot com
2018-10-24 18:47 ` agentzh at gmail dot com
2018-10-24 18:50 ` fche at redhat dot com
2018-10-24 18:52 ` agentzh at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).