<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160538#M36619</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Let's say you want to set ulimit for user 'kishore', please login to the system via root and edit /etc/security/limits.conf&lt;/P&gt;&lt;P&gt;Add below lines in it&lt;/P&gt;&lt;PRE&gt;kishore - nofile 32768
kishote - nproc 65536&lt;/PRE&gt;&lt;P&gt;Here basically we are increasing number of open files limit to 32K and number of processes limit to 65K&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2016 05:46:43 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2016-08-03T05:46:43Z</dc:date>
    <item>
      <title>Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160532#M36613</link>
      <description>&lt;PRE&gt;[01/Aug/2016 01:31:55 +0000] access       WARNING  10.32.151.30 fos6211 - "POST /accounts/login/ HTTP/1.0" -- Failed login for user "fos6211"
[01/Aug/2016 05:12:58 +0000] middleware   INFO     Processing exception: unable to open database file: Traceback (most recent call last):
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/hue/desktop/core/src/desktop/auth/views.py", line 134, in dt_login
    login(request, user)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/__init__.py", line 69, in login
    user.save()
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/models/base.py", line 434, in save
    self.save_base(using=using, force_insert=force_insert, force_update=force_update)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/models/base.py", line 500, in save_base
    rows = manager.using(using).filter(pk=pk_val)._update(values)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/models/query.py", line 491, in _update
    return query.get_compiler(self.db).execute_sql(None)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/models/sql/compiler.py", line 861, in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/models/sql/compiler.py", line 727, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/backends/util.py", line 15, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/db/backends/sqlite3/base.py", line 200, in execute
    return Database.Cursor.execute(self, query, params)
DatabaseError: unable to open database file&lt;/PRE&gt;&lt;PRE&gt;
[01/Aug/2016 11:58:55 +0000] middleware   INFO     Redirecting to &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/6236-runcpserver.txt" target="_blank"&gt;runcpserver.txt&lt;/A&gt;login page: /about/
[01/Aug/2016 11:58:55 +0000] access       INFO     10.53.252.29 -anon- - "GET /about/ HTTP/1.0" -- login redirection
[01/Aug/2016 11:58:58 +0000] middleware   INFO     Processing exception: /dev/urandom not found: Traceback (most recent call last):
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/hue/desktop/core/src/desktop/auth/views.py", line 134, in dt_login
    login(request, user)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/__init__.py", line 78, in login
    request.session.cycle_key()
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/sessions/backends/base.py", line 248, in cycle_key
    self.create()
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/sessions/backends/db.py", line 36, in create
    self.session_key = self._get_new_session_key()
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/sessions/backends/base.py", line 142, in _get_new_session_key
    % (randrange(0, MAX_SESSION_KEY), pid, time.time(),
  File "/usr/lib64/python2.6/random.py", line 201, in randrange
    return int(istart + self._randbelow(width))
  File "/usr/lib64/python2.6/random.py", line 248, in _randbelow
    r = getrandbits(k)
  File "/usr/lib64/python2.6/random.py", line 812, in getrandbits
    x = long(_hexlify(_urandom(bytes)), 16)
NotImplementedError: &lt;STRONG&gt;/dev/urandom not found&lt;/STRONG&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:50:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160532#M36613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2026-04-21T13:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160533#M36614</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please check your /etc/hue/conf/hue.ini file and see below variable&lt;/P&gt;&lt;PRE&gt; [[database]]
    engine=sqlite3
    name=/var/lib/hue/desktop.db&lt;/PRE&gt;&lt;P&gt;Can you please check if path to desktop.db or any db name according to your configuration exists? By looking at the error, it looks like path issue/permission issue or database is missing.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 03:14:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160533#M36614</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-02T03:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160534#M36615</link>
      <description>&lt;P&gt;Thanks a lot @kuldeep kulkarni&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 13:09:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160534#M36615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-02T13:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160535#M36616</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; The support engineer advised to edit /etc/security/limits.conf,
and add the following lines:&lt;/P&gt;&lt;P&gt;hue - nofile 32768&lt;/P&gt;&lt;P&gt;hue - nproc 65536&lt;/P&gt;&lt;P&gt;And then restart Hue. Still not sure how he came to this value
for nofile, and nproc, but this value is higher than the default, and should
prevent this in the future.&lt;/P&gt;&lt;P&gt;please explain what is nofile and nproc..?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 21:49:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160535#M36616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-02T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160536#M36617</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I had fixed it yesterday by increasing ulimit. Error shown in provided logs were pointing to ulimit issue.&lt;/P&gt;&lt;P&gt;nofile is variable for number of open files and nproc is number of processes limit for hue user.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 23:17:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160536#M36617</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-02T23:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160537#M36618</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; how to change ulimit value. please explain step by step .&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 00:09:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160537#M36618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-03T00:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160538#M36619</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Let's say you want to set ulimit for user 'kishore', please login to the system via root and edit /etc/security/limits.conf&lt;/P&gt;&lt;P&gt;Add below lines in it&lt;/P&gt;&lt;PRE&gt;kishore - nofile 32768
kishote - nproc 65536&lt;/PRE&gt;&lt;P&gt;Here basically we are increasing number of open files limit to 32K and number of processes limit to 65K&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 05:46:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160538#M36619</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-03T05:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can you please have a look at below mentioned HUE issue and help in understanding root cause ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160539#M36620</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt; - If this information helps then please accept the appropriate answer to close this question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 05:47:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-you-please-have-a-look-at-below-mentioned-HUE-issue-and/m-p/160539#M36620</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-03T05:47:39Z</dc:date>
    </item>
  </channel>
</rss>

