Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

how to resolve Hadoop:Hue Error and what is nofile and nproc options in Hue

avatar
Not applicable

After opening a case with HortonWorks, we believe for the root cause of this issue to have something to do with the ulimit factor being exceeded, or number of open files. From /var/log/hue/runcpserver.log:

error: [Errno 24] Too many open files

The support engineer advised to edit /etc/security/limits.conf, and add the following lines:

hue - nofile 32768

hue - nproc 65536

please explain what is nofile and nproc options

1 ACCEPTED SOLUTION

avatar
Super Guru

@kishore sanchina

nofile is the number of open files a linux user can open in a session. Check this link for more details. There is a soft and hard limit for this.

nproc is the number of processes a linux user may open in a session. This link may also help you understand how this works.

View solution in original post

2 REPLIES 2

avatar
Super Guru

@kishore sanchina

nofile is the number of open files a linux user can open in a session. Check this link for more details. There is a soft and hard limit for this.

nproc is the number of processes a linux user may open in a session. This link may also help you understand how this works.

avatar
Not applicable

@mqureshi thanks