Re: kernel error : 'find /proc/ -type f | xargs -n 1 head -c 10>/dev/null'

From: Al Viro
Date: Fri Jan 29 2010 - 08:38:23 EST


On Thu, Jan 28, 2010 at 12:51:02PM +0800, Am??rico Wang wrote:
> 2010/1/22 Toralf F??rster <toralf.foerster@xxxxxx>:
> > I was inspired by http://article.gmane.org/gmane.linux.kernel/941115 .
> >
> > Running the command (se subject) as a normal user at a 2.6.32.4 kernel
> > gives this in /var/log/messages:
> >
> > 2010-01-21T20:11:39.171+01:00 n22 kernel: head: page allocation failure. order:9, mode:0xd0
>
>
> Hmm, it is suspecious that we need 2^9 pages for seq_file...

Something's using single_open() and obscene amounts of output; should
switch to real iterator... Which file it is?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/