Hello,
I followed your instructions, but there is something extrange... These are
the originals:
bash# cat /proc/sys/fs/file-max
4096
bash# cat /proc/sys/fs/file-nr
703 377 4096
bash# cat /proc/sys/fs/inode-max
16224
bash# cat /proc/sys/fs/inode-nr
13770 18
Then I changed them as you said:
bash# echo 8192 > /proc/sys/fs/file-max
bash# echo 32768 > /proc/sys/fs/inode-max
And these are the new values:
bash# cat /proc/sys/fs/file-max
8192
bash# cat /proc/sys/fs/file-nr
703 377 8192
bash# cat /proc/sys/fs/inode-max
32768
bash# cat /proc/sys/fs/inode-nr
13770 13
Is extrange that in the inode-nr I have only '18' and then '13', isn't it?
In another server the numbers are closer to the ones you sent... (12300
1548)
Is this the origin of my problem?
I'm running RedHat 6.2, with the kernel 2.2.14-5.0.
I'll appreciate any help!
Thanks,
Tomás
> There's a maximum number of file handles available to the system. 4096 by
> default I think. If you reach that limit (suprisingly doable) then you get
> the error message you're seeing. To check this...
>
> bash# cat /proc/sys/fs/file-nr
> 1577 474 4096
>
> ... which gives, the ammount allocated (/approximate/ highwater mark), the
> current level, and the maximum. Also (since the error message referes to
> inodes) there is also..
>
> bash# cat /proc/sys/fs/inode-nr
> 16392 1961
>
> ... which gives the ammount allocated (/approximate/ highwater mark) and the
> amount remaining. The max possible is got from inode-max...
>
> bash# cat /proc/sys/fs/inode-max
> 16384
>
> ... which can be slighty less than the actual number allocated because
> allocation is done in 'chunks'.
>
> Assuming this is your problem you can increase it (say, double it) by...
>
> echo 8192 > /proc/sys/fs/file-max
> echo 32768 > /proc/sys/fs/inode-max
>
> ... which can be done at run time and takes effect immediatly. This is teh
> readers digest version anyway. All the gory details can be read about in
> /usr/src/linux/Documentation/sysctl/fs.txt
Tomas Garcia Ferrari
Bigital
http://bigital.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list