Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar

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

@mqureshi thanks