Hi Henrik,
On Tue, Apr 03, 2007 at 08:43:23PM +0300, Henrik Krohns told us:
> > Must be something else in that file, 2.7M LFs alone in a file
> > makes no difference to file-4.20 here. Can you provide a sample?
> >
> > $ perl -e 'for (1..2700) {print "\n" x 1000}' >0.lis
> > $ time file 0.lis
> > 0.lis: ASCII text
> >
> > real 0m0.253s
> > user 0m0.245s
> > sys 0m0.008s
>
> Here 0.lis uses 100% CPU on Debian, using package or self
> compiled. But no problems on Solaris.
tested here on a Fedora Core 6 box, just upgraded to the rawhide rpm
of file:
$ file --version
file-4.20
magic file from /usr/share/file/magic
$ time file 0.lis
*waiting, not holding breath*
0.lis: ASCII text
real 33m32.123s
user 29m56.064s
sys 0m14.149s
$
while running, it chewed up all available cpu power on my shiny
little AMD Duron home box :-) the old version (4.19-something)
worked without problems.
So, might be something linux-related!?
Sven
> I guess someone should report this bug.
>
> Cheers,
> Henrik
--
Linux zion.homelinux.com 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 16:59:41 EST
2007 i686 athlon i386 GNU/Linux
20:03:19 up 8 days, 18:34, 2 users, load average: 1.12, 0.72, 0.57
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/