* [Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script
@ 2009-11-25 20:51 mhiramat at redhat dot com
2009-12-03 16:10 ` [Bug runtime/11020] " mhiramat at redhat dot com
2009-12-03 20:37 ` mhiramat at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: mhiramat at redhat dot com @ 2009-11-25 20:51 UTC (permalink / raw)
To: systemtap
stapio doesn't handle SIGUSR2 if running script dumps so much data.
e.g.
$ stap -d hoge -F -e 'probe kernel.function("sys_*") {print("hoge")}'
$ killall -USR2 stapio
<switching logs correctly>
$ killall -USR2 stapio
<doesn't switch log anymore>
Because SIGUSR2 is checked only right after ppoll(), but not checked in
read-write inner loop.
--
Summary: SIGUSR2 file switching doesn't work with busy script
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
OtherBugsDependingO 10907
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=11020
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug runtime/11020] SIGUSR2 file switching doesn't work with busy script
2009-11-25 20:51 [Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script mhiramat at redhat dot com
@ 2009-12-03 16:10 ` mhiramat at redhat dot com
2009-12-03 20:37 ` mhiramat at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: mhiramat at redhat dot com @ 2009-12-03 16:10 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mhiramat at redhat dot com 2009-12-03 16:10 -------
Created an attachment (id=4443)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4443&action=view)
[PATCH] fix to check file switching flag inside read-write loop too.
This patch adds a check of file switching flag inside inner loop.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11020
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug runtime/11020] SIGUSR2 file switching doesn't work with busy script
2009-11-25 20:51 [Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script mhiramat at redhat dot com
2009-12-03 16:10 ` [Bug runtime/11020] " mhiramat at redhat dot com
@ 2009-12-03 20:37 ` mhiramat at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: mhiramat at redhat dot com @ 2009-12-03 20:37 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mhiramat at redhat dot com 2009-12-03 20:37 -------
Committed as 5cd2f82
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11020
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-03 20:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-25 20:51 [Bug runtime/11020] New: SIGUSR2 file switching doesn't work with busy script mhiramat at redhat dot com
2009-12-03 16:10 ` [Bug runtime/11020] " mhiramat at redhat dot com
2009-12-03 20:37 ` mhiramat at redhat 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).