file-max limit


 
Thread Tools Search this Thread
Operating Systems Linux file-max limit
# 1  
Old 11-11-2008
file-max limit

Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart.
Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart.
Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart.
Oct 31 02:37:09 FIREWALL003 kernel: srmLINUX[11587]: segfault at 00000000303a3031 rip 000000000026fe54 rsp 00000000ffbd05b8 error 4
Oct 31 04:02:01 FIREWALL003 kernel: VFS: file-max limit 65535 reached
Oct 31 04:02:01 FIREWALL003 last message repeated 12 times
Oct 31 04:02:01 FIREWALL003 kernel: mit 65535 reached
Oct 31 04:02:01 FIREWALL003 kernel: VFS: file-max limit 65535 reached
Oct 31 04:02:01 FIREWALL003 kernel: VFS: file-max limit 65535mit 65535mit 65mit mit 6mit 65mit 65mit 6mit 65535 mit 6553mit 65535 reached
Oct 31 04:02:01 FIREWALL003 kernel: VFS: fimit 6mit 65535 reached
Oct 31 04:02:01 FIREWALL003 kernel: VFS: file-max limit 65535mit 655mit 65mit 65mit 65mit 655mit 655mit 6mit mit 6mit 65535 rmit 65535 reached


Did someone encounter this before? I have to force a reboot to be able for user to login back.

Any comments is highly appreciated! Thank you.

Last edited by itik; 11-11-2008 at 12:17 PM..
# 2  
Old 11-11-2008
Hi, you can post output command
# cat /proc/sys/fs/file-max ?

Thx
# 3  
Old 11-11-2008
cat /proc/sys/fs/file-max
65535
# 4  
Old 11-11-2008
If you want can to increase this value, but carefull, amount ram memory you have?. For a machine with 1280MB set it with 81920. (256 for every 4M of RAM +-)

Edit /etc/sysctl.conf and add this

fs.file-max = 81920

loads the new parameters of kernel

# sysctl -p

and try it again

Last edited by bagmc; 11-11-2008 at 03:16 PM..
# 5  
Old 11-12-2008
worked?
# 6  
Old 11-12-2008
yes. thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

Max Open File Limit

Ubuntu users, I am configuring an Ubuntu 14.04 server as a load injector. I have appended the hard and soft limits to /etc/security/limits.conf for any user (apart from root): * hard nofile 65536 * soft nofile 65536 I am seeing the figure 65536 in... (5 Replies)
Discussion started by: aidylewis
5 Replies

2. Shell Programming and Scripting

Run a program-print parameters to output file-replace op file contents with max 4th col

Hi Friends, This is the only solution to my task. So, any help is highly appreciated. I have a file cat input1.bed chr1 100 200 abc chr1 120 300 def chr1 145 226 ghi chr2 567 600 unix Now, I have another file by name input2.bed (This file is a binary file not readable by the... (7 Replies)
Discussion started by: jacobs.smith
7 Replies

3. Solaris

Limit: stacksize: Can't remove limit

Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine? Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies

4. HP-UX

max limit in in setting array

hi, iam getting error when i assign a variable to an array of more that 315 character in length set -A array <variable> <variable> value is 000001 000002 and up to 000045 it is giving error as "The specified subscript cannot be greater than 1024." can any one help me to solve this (2 Replies)
Discussion started by: gomathi
2 Replies

5. Ubuntu

fd.file-max against inode

Hi, If inodes need to be 3-4 times greater than fd.file-max. Can you modify the current inode in the filesystem? Can you modify it on the fly? Or only in the creation of FS. I'm using redhat ent 4. Thank you for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

6. Shell Programming and Scripting

Creation of directoryname with Max limit

Hi, Please provide your inputs.. # define PATH_MAX 1023 /* max number of characters in a pathname (not including terminating null) */ Could you please let me know how to create directory name(or pathname) with above PATH_MAX length in korn shell scripting.. ... (9 Replies)
Discussion started by: mansa
9 Replies

7. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

8. Shell Programming and Scripting

TCL Socket max Limit settting

How to set the max limit for socket opening TCL Thanks, Ajay (1 Reply)
Discussion started by: aju_kup
1 Replies

9. Solaris

max. size of file

I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies
Login or Register to Ask a Question