Refine your search:

Splunk server crashing with Too many open files error in splunkd_stderr.log

asked 10 Apr '10, 16:53

rementis's gravatar image

rementis
212
accept rate: 0%

edited 17 Apr '10, 01:25

jrodman's gravatar image

jrodman ♦
7.0k21027


2 Answers:

Switch to csh:

csh

Then issue this command:

% setenv LD_PRELOAD_32 /usr/lib/extendedFILE.so.1

This solution is for Solaris 10 x86.

See this page:

Workaround to stdio_s

link

answered 10 Apr '10, 16:55

rementis's gravatar image

rementis
212
accept rate: 0%

Do you have this problem on forwarders? I wouldn't expect so. You really should run your indexers on 64bit for performance reasons, avoiding the need for this workaround. However, it's a nice tip, thanks for sharing!

(17 Apr '10, 01:26) jrodman ♦

edit /etc/security/limits.conf

root    soft    nofile          250000
root    hard    nofile          250000

This will change the limit of open files, ulimit -n will show you the current setting

link

answered 13 Apr '10, 00:25

oreoshake's gravatar image

oreoshake
5702326
accept rate: 31%

Depending of the system, you may have to change /etc/sysctl.conf and /etc/security/limits.conf ulimit is not persistent after reboot.

http://splunk-base.splunk.com/answers/13313/how-to-tune-ulimit-on-my-server

(30 Mar '12, 12:10) yannK
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1,651

Asked: 10 Apr '10, 16:53

Seen: 1,940 times

Last updated: 30 Mar '12, 12:10

Copyright © 2005-2012 Splunk Inc. All rights reserved.