Subject | Re: [firebird-support] Database Errors: "Too many files open" |
---|---|
Author | Michael Weissenbacher |
Post date | 2008-01-17T08:56:36Z |
Hi Eugen,
* soft nofile 100000
* hard nofile 200000
Interestingly, using "firebird" (the user firebird runs as) instead of "*"
didn't work. Check if it works correctly by issuing ulimit. You need to relogin
and restart firebird for the change to be applied.
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 38912
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 100000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 50000
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
good luck,
Michael
> We had a look at the said parameters with the admin and he changed them.these are the parameters that i entered in my /etc/security/limits.conf:
* soft nofile 100000
* hard nofile 200000
Interestingly, using "firebird" (the user firebird runs as) instead of "*"
didn't work. Check if it works correctly by issuing ulimit. You need to relogin
and restart firebird for the change to be applied.
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 38912
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 100000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 50000
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
good luck,
Michael