[
https://issues.apache.org/jira/browse/NUTCH-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327996#comment-14327996
]
jefferyyuan commented on NUTCH-1935:
------------------------------------
Thanks, Stack.
I would raise the ulimit,and continue to run the application.
Close this for now, and update it if the problem happens again after raise the
ulimit.
> too many open files
> -------------------
>
> Key: NUTCH-1935
> URL: https://issues.apache.org/jira/browse/NUTCH-1935
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: jefferyyuan
> Priority: Minor
> Labels: leak
>
> This is to track the " too many open files" issue from
> http://lucene.472066.n3.nabble.com/Cannot-run-program-quot-chmod-quot-too-many-open-files-td4109753.html
> Recently I also hit this too many open files issues, after run our crawler
> application for about 2-5 months, it will fail " too many open files" errors.
> We have to restart nutch server and hbase.
> Nutch Server opens 4249 files
> lsof -p 17849 | wc -l
> 4249
> There are a lot of pipe, sock, and connections to hbase.
> cat sorted | grep pipe | wc -l
> 1624
> cat sorted | grep 2181 | wc -l
> 813
> 907 java 17849 user 1465u sock 0,7 0t0 65043894 can't
> identify protocol
> 1843 java 17849 user 2744u IPv6 76971706 0t0 TCP
> localhost:35073->localhost:2181 (ESTABLISHED) // connect to hbase
> cat sorted | grep anon_inode | wc -l
> 812
> Thanks...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)