<?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>topic Re: &amp;quot;OSError: (12, 'Cannot allocate memory')&amp;quot;  after first login in Security</title>
    <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78057#M14076</link>
    <description>&lt;P&gt;It looks like this is happening inthe javascript minification code path. You may want to try disabling this (and CSS minification) in etc/system/local/web.conf. In ansy case, this looks like a bug that you should file with Splunk Support.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2011 19:52:04 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2011-04-08T19:52:04Z</dc:date>
    <item>
      <title>"OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78054#M14073</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;after my first install of splunk 4.2 on Debian and the start without any errors i try to login, wich works but afterwards i get directed to am errorpage everytime:&lt;/P&gt;

&lt;P&gt;OSError: (12, 'Cannot allocate memory')&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    /opt/splunk/lib/python2.6/subprocess.py, line 1037:
self.pid = os.fork()
/opt/splunk/lib/python2.6/subprocess.py, line 621:
errread, errwrite)
/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/util.py, line 1165:
return subprocess.Popen(*a, **kw)
/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/filechain.py, line 113:
minifier = Popen([PATH_TO_JSMIN], stdin = subprocess.PIPE, stderr = subprocess.STDOUT, stdout = subprocess.PIPE, close_fds = True)
/opt/splunk/share/splunk/search_mrsparkle/templates/lib.html, line 72:
&amp;lt;script type="text/javascript" src="${make_url('/modules/' + basename)}"&amp;gt;&amp;lt;/script&amp;gt; \
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/view.html, line 74:
# process every module
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html, line 50:
&amp;lt;%self:js/&amp;gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html, line 22:
&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&amp;gt;
/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html, line 7:
&amp;lt;%self:render/&amp;gt;
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 633:
callable_(context, *args, **kwargs)
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 607:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/opt/splunk/lib/python2.6/site-packages/mako/runtime.py, line 575:
**_kwargs_for_callable(callable_, data))
/opt/splunk/lib/python2.6/site-packages/mako/template.py, line 283:
return runtime._render(self, self.callable_, args, data)
/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/__init__.py, line 248:
return templateInstance.render(**template_args)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Has anyone had that before?&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;Edit:&lt;/P&gt;

&lt;P&gt;ulimit -a&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 1024
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 137216
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;grep ulimit splunkd:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-08-2011 14:14:35.280 +0200 INFO  ulimit - Limit: virtual address space size: unlimited
04-08-2011 14:14:35.280 +0200 INFO  ulimit - Limit: data segment size: unlimited
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: resident memory size: unlimited
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: stack size: 10485760 bytes [hard maximum: unlimited]
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: core file size: 0 bytes [hard maximum: unlimited]
04-08-2011 14:14:35.281 +0200 WARN  ulimit - Core file generation disabled
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: data file size: unlimited
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: open files: 1024 files
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: user processes: 137216 processes
04-08-2011 14:14:35.281 +0200 INFO  ulimit - Limit: cpu time: unlimited
04-08-2011 14:16:36.582 +0200 INFO  ulimit - Limit: virtual address space size: unlimited
04-08-2011 14:16:36.582 +0200 INFO  ulimit - Limit: data segment size: unlimited
04-08-2011 14:16:36.582 +0200 INFO  ulimit - Limit: resident memory size: unlimited
04-08-2011 14:16:36.583 +0200 INFO  ulimit - Limit: stack size: 10485760 bytes [hard maximum: unlimited]
04-08-2011 14:16:36.583 +0200 INFO  ulimit - Limit: core file size: 0 bytes [hard maximum: unlimited]
04-08-2011 14:16:36.583 +0200 WARN  ulimit - Core file generation disabled
04-08-2011 14:16:36.583 +0200 INFO  ulimit - Limit: data file size: unlimited
04-08-2011 14:16:36.583 +0200 INFO  ulimit - Limit: open files: 1024 files
04-08-2011 14:16:36.583 +0200 INFO  ulimit - Limit: user processes: 137216 processes
04-08-2011 14:16:36.583 +0200 INFO  ulimit - Limit: cpu time: unlimited
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78054#M14073</guid>
      <dc:creator>ckorb</dc:creator>
      <dc:date>2011-04-08T19:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78055#M14074</link>
      <description>&lt;P&gt;Are you running SELINUX?  What does 'ulimit -a' look like?  'grep ulimit splunkd.log'&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:39:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78055#M14074</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2011-04-08T19:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78056#M14075</link>
      <description>&lt;P&gt;thx for the fast reply, i added them in the original post&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:47:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78056#M14075</guid>
      <dc:creator>ckorb</dc:creator>
      <dc:date>2011-04-08T19:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78057#M14076</link>
      <description>&lt;P&gt;It looks like this is happening inthe javascript minification code path. You may want to try disabling this (and CSS minification) in etc/system/local/web.conf. In ansy case, this looks like a bug that you should file with Splunk Support.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:52:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78057#M14076</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2011-04-08T19:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78058#M14077</link>
      <description>&lt;P&gt;i checked that path but there are just the server.conf and the tenants.conf&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 19:56:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78058#M14077</guid>
      <dc:creator>ckorb</dc:creator>
      <dc:date>2011-04-08T19:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78059#M14078</link>
      <description>&lt;P&gt;You'll have to add a new one. The exact parameters can be found in etc/system/README/web.conf.spec.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 20:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78059#M14078</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2011-04-08T20:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78060#M14079</link>
      <description>&lt;P&gt;thx that helped, now i can see everything except the home-frame&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 20:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78060#M14079</guid>
      <dc:creator>ckorb</dc:creator>
      <dc:date>2011-04-08T20:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78061#M14080</link>
      <description>&lt;P&gt;what do you mean by home-frame?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 20:24:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78061#M14080</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2011-04-08T20:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78062#M14081</link>
      <description>&lt;P&gt;the home screen, everything else like the menu or search/manage/alerts and so on is showing just on the home-screen i still get this error&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 20:38:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78062#M14081</guid>
      <dc:creator>ckorb</dc:creator>
      <dc:date>2011-04-08T20:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78063#M14082</link>
      <description>&lt;P&gt;Ok, this is odd. You should certainly file a support case.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 22:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78063#M14082</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2011-04-08T22:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: "OSError: (12, 'Cannot allocate memory')"  after first login</title>
      <link>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78064#M14083</link>
      <description>&lt;P&gt;If you hard-reload the page with minification off, does the error go away on that page?  Can you tell me what the exact URL of that page, just to be clear?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2011 01:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/quot-OSError-12-Cannot-allocate-memory-quot-after-first-login/m-p/78064#M14083</guid>
      <dc:creator>David_Lanstein</dc:creator>
      <dc:date>2011-04-09T01:19:51Z</dc:date>
    </item>
  </channel>
</rss>

