1752591 Members
2994 Online
108788 Solutions
New Discussion юеВ

Re: proc: table is full

 
amipankaj
Frequent Advisor

proc: table is full

hi experts,

i got following error messages in syslog.

syslog: Java: Number of open files: 1024
syslog: Java: Maximum number of allowed open files: 1024
vmunix: proc: table is full
prngd[2180]: Could not fork: Resource temporarily unavailable

These are the last messages i got from old syslog. The system rebooted.

is the system rebooted due to these errors?

waiting for your response.

thanks and regards,
Roy
10 REPLIES 10
Rajeev  Shukla
Honored Contributor

Re: proc: table is full

Hi Roy,
The system will not reboot by itself because of these error. What it means is that the process table was full at that moment and no new process could be forked or started.
Check if someone retuned the Kernel to increase the nproc value (which will fix the issue) and if the kernel parameter was change then of-course the system will reboot.
Check the /etc/shutdownlog file also

Cheers
Rajeev
amipankaj
Frequent Advisor

Re: proc: table is full

thanks rajeev. but i am not getting anything on shutdownlog for 8th july.


# who -b
. system boot Jul 8 16:56

the last line in shutdownlog is..

01:43 Fri Jun 27, 2008. Reboot:

PS: the errors repeated in syslog many times.
Kenan Erdey
Honored Contributor

Re: proc: table is full

Hi,

try last -R to find out who logined to the system before the reboot.

Kenan.
Computers have lots of memory but no imagination
Jeeshan
Honored Contributor

Re: proc: table is full

Hi Roy

seems that your java session has open lot more sessions and requested for open more files than its permittent.

check your kernel parameters settings of nfile.
a warrior never quits
Ivan Krastev
Honored Contributor

Re: proc: table is full

Check /etc/shutdownlog for reboot and OLDsyslog for any errors.

regards,
ivan
Dennis Handly
Acclaimed Contributor

Re: proc: table is full

>is the system rebooted due to these errors?

Or crashed? But your system is next to useless unless you have a terminal logged on as root and you know which java to kill.
Jeeshan
Honored Contributor

Re: proc: table is full


It's possible that a ulimit has been issued which has reduced the per process maximum number of files. Normally, you should set maxfiles_lim > maxfiles.

Before invoking java, issue a
ulimit -Sn
and ulimit -Hn
to display the soft and hard limits, respectively.
a warrior never quits
XIAODANWU
Occasional Advisor

Re: proc: table is full

you must change NPROC parameter
Robin T. Slotten
Trusted Contributor

Re: proc: table is full

Run "sar -v" or "sar -v 5 5" if you have not been keeping statistics.

That will tell you if you are close to the limit. (which sounds likely)
proc-sz The current-size and maximum-size of the process table;

If it is you will have to increase the kernel parameter NPROC

Rob...
IF you do it more than twice, write a script.