Thanks to all responded:
The resolution was to reconfigure the kernel.
Below is the solution sent by Michael and the actual work
that needs to be done is at the bottom of this mail. It was
posted by John Bollard, a while back, which really helped.
It helps keeping these tips.
----- Begin Included Message -----
>From mmyers@willamette.edu Mon Oct 24 09:26:26 1994
Date: Mon, 24 Oct 1994 09:26:15 -0700 (PDT)
From: Michael Myers <mmyers@willamette.edu>
Subject: Re: Error from a sparc10
To: "Joey R. Montilla" <Jose.Montilla@gain.com>
Mime-Version: 1.0
The error is easy enough to locate:
minerva% grep 24 /usr/include/sys/errno.h
#define EMFILE 24 /* Too many open files */
The solution is probably more complicated. Check out your shell:
minerva% limit descriptors
descriptors 256
256 files is probably OK, but you're may be lower. Under Solaris,
there's probably some kernal parameter that limits this as well...
Good luck,
- Mike
On Fri, 21 Oct 1994, Joey R. Montilla wrote:
>
> Greetings again...
>
> We have a sparc 10 running Solaris 2.3 with the
> following patches:
> 101242-04
> 101329-10
>
> This system keeps sending these error to the console every few minutes:
> ld.so.1: pt_chmod: fatal: /dev/zero: can't open file: errno=24
> ld.so.1: pt_chmod: fatal: /dev/zero: can't open file: errno=24
> ld.so.1: pt_chmod: fatal: /dev/zero: can't open file: errno=24
>
> I believe it is not doing anything serious. But the "fatal" message
> concerns me. Does anyone know what is causing this ?
>
> Thanks
>
> Jose R. Montilla
> System Administrator
> Sybase, Inc
> 1870 Embarcadero Road
> Palo Alto, CA 94303-3308
> USA
> josem@gain.com
>
----- Begin Included Message -----
>From sun-managers-relay@ra.mcs.anl.gov Sun Oct 9 19:00:55 1994
Date: Sun, 9 Oct 1994 14:56:49 +0600
From: uusr656!john@rambone.psi.net (John Bollard)
To: sun-managers@eecs.nwu.edu
Subject: Solairs 2.3 - Open files per user
Cc: tech@kirk.pbs.com
Hello Again,
You may ignore my earlier message. I found the answer I needed on the latest
SunSolve CD. The fix requires the use of adb (a little scary on a customer
machine 2000 miles away). I have included the commands in case anyone was
curious about the solution.
(Each line that begins >> is a line that is displayed as a result of the
previous command.)
# cp /kernel/unix /kernel/unix.old (safety precaution)
# adb -k -w /kernel/unix /dev/mem
rlimits,e?X
>> rlimits: 7fffffff 7fffffff 7fffffff 7fffffff
7ffff000 7ffff000 800000 7ffff000
7fffffff 7fffffff 40 400
7fffffff 7fffffff
rlimits+28?W80
>> rlimits0x28: 0x40 = 0x80
rlimits+28/W80
>> rlimits0+28: 0x40 = 0x80
rlimits,e?X
>> rlimits: 7fffffff 7fffffff 7fffffff 7fffffff
7ffff000 7ffff000 800000 7ffff000
7fffffff 7fffffff 80 400
7fffffff 7fffffff
^D
The above commands change the number of file descriptors to 128 (0x80).
John M. Bollard john@pbs.com
Systems Engineer
Publishing Business Systems
St. Paul, Minnesota
----- End Included Message -----
----- End Included Message -----
----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:13 CDT