|
From: Tom H. <to...@co...> - 2015-01-01 18:03:32
|
On 01/01/15 17:52, "João M. S. Silva" wrote: > I've searched in the documentation, Internet and mailing list archive, > but could not find a way to address the following issue: > > How can I suppress the repetition of warnings, e.g.: > > ==1830== Warning: invalid file descriptor 29541 in syscall read() > > which in my case appears thousands of times in the screen or log file > and makes severely hinders performance? The warning is shown for each > read() invocation, which occurs very frequently, but flooding the screen > or log file with the same line is not only inefficient but also makes > the log file very difficult to analyze. > > Is there a way to workaround this or should this consist in an improvement? Surely the easy fix is to fix your program to stop it trying to read from an invalid file descriptor? Surely that is a bug that you will want to fix anyway? Tom -- Tom Hughes (to...@co...) http://compton.nu/ |