[Bugs] [Bug 1728047] interrupts leak memory

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 12 13:27:41 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1728047

Bala Konda Reddy M <bmekala at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bmekala at redhat.com



--- Comment #6 from Bala Konda Reddy M <bmekala at redhat.com> ---
(In reply to Csaba Henk from comment #1)
> Command in reproduction step 3. is incomplete. It should be:
> 
>   $ while :; do ./open_and_sleep <SOME-FILE> | { sleep 0.1; xargs -n1 kill
> -INT; }; done
> 
> Improved version which also displays a counter:
> 
>   $ i=1; while :; do echo -en "\r$i  "; ./open_and_sleep <SOME-FILE> | {
> sleep 0.1; xargs -n1 kill -INT; }; i=$(($i+1)); done

Use the below command to run the compiled open_and_sleep.c file in a loop

i=1; while :; do echo -en "\r$i  "; (./open_and_sleep <SOME-FILE> | { sleep
0.1; xargs -n1 kill -INT; }); i=$(($i+1)); done

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list