[Bug runtime/23813] New: Make "too many pending warnings" more helpful

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug runtime/23813] New: Make "too many pending warnings" more helpful

albert.aribaud at 3adev dot fr
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.
Reply | Threaded
Open this post in threaded view
|

[Bug runtime/23813] Make "too many pending warnings" more helpful

albert.aribaud at 3adev dot fr
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.
Reply | Threaded
Open this post in threaded view
|

[Bug runtime/23813] Make "too many pending warnings" more helpful

albert.aribaud at 3adev dot fr
In reply to this post by albert.aribaud at 3adev dot fr
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.
Reply | Threaded
Open this post in threaded view
|

[Bug runtime/23813] Make "too many pending warnings" more helpful

albert.aribaud at 3adev dot fr
In reply to this post by albert.aribaud at 3adev dot fr
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.
Reply | Threaded
Open this post in threaded view
|

[Bug runtime/23813] Make "too many pending warnings" more helpful

albert.aribaud at 3adev dot fr
In reply to this post by albert.aribaud at 3adev dot fr
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.