| Summary: | /usr/bin/file: very slow processes large text files | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Vladimir Omelchuk <admin> |
| Component: | bin | Assignee: | Xin LI <delphij> |
| Status: | Closed FIXED | ||
| Severity: | Affects Many People | CC: | admin, delphij, emaste, re, secteam, v.chernyadev |
| Priority: | --- | ||
| Version: | 10.2-RELEASE | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
|
Description
Vladimir Omelchuk
2015-09-15 06:54:39 UTC
The problem is in /usr/share/misc/magic. I replaced /usr/share/misc/magic* from older release and now it works fast. What version FreeBSD you are used for replaced /usr/share/misc/magic*? Even, if replaced files in /usr/share/misc/magic*, this problem in the base system and it is not solved. +re@ and secteam@ I think this is http://bugs.gw.com/view.php?id=474 and was fixed in later file imports (thus 10.3-RELEASE which is shipped with file 5.25). It's not yet clear to me if this warrants an EN (as it's only complained by very few people), though, but that's an option. Waiting fix in the 10.3-RELEASE ... <uname> FreeBSD 10.3-RC1 amd64 Timing for /usr/bin/file: # time file /usr/ports/UPDATING /usr/ports/UPDATING: ASCII text 0.214u 0.000s 0:00.21 100.0% 21+181k 2+0io 0pf+0w /usr/bin/file working is fine! Thanks! <uname> FreeBSD 10.3-RELEASE amd64 Problem solved. PR can be closed. Confirmed fixed by the submitter |