Solved

Errors in /var/adm/messages

Posted on 1998-11-23
13
327 Views
Last Modified: 2013-12-06
Anybody got any idea what I need to do to solve whatever is causing the following entry in the messages file ?
"sendmail[27056]: NOQUEUE: SYSERR(root): dowork:  - cannot fork: Resource temporarily unavailable"
and "unix: out of processes"
0
Comment
Question by:Penfold
  • 5
  • 3
  • 3
  • +2
13 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008008
max. number of processes reached while sendmail tried to fork itself (for receiving or sending mail)

If this happens frequently, you should increase your kernel parameter for max. number of allowed processes. Most UNIXs
require to rebuild the kernel for this :-(
0
 
LVL 84

Expert Comment

by:ozo
ID: 2008009
kill off some processes
recomfigure the kernel with more processes
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008010
ozo, you should change your account name to KISS
I like it ;-)
0
 

Author Comment

by:Penfold
ID: 2008011
Can you give me more details on how to edit the kernel please !
0
 
LVL 1

Expert Comment

by:arthurd
ID: 2008012
Use SAM if it's HP UX (somewhere in there)

If it's Solaris, then it's in /etc/system:
   Per user--->set maxuprc =
   System wide--->set max_nprocs =
   touch /reconfigure
   reboot
 
What's the OS?

0
 
LVL 2

Expert Comment

by:cwalter
ID: 2008013
It looks like you don't have the correct permissions or directories for your mail queue. Check the access list on your mail queue directory and make sure that your mail user (or whatever account your running sendmail as) has full access as well as ownership of this directory.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Penfold
ID: 2008014
Cwalter, I'm logged on as Root, so i should have the access rights. The ownership of the file is also Root, so that should'nt be a problem.

I think Arthurd's comment is more along the right lines. In answer to your question it's running Solaris 2.5.1
0
 

Author Comment

by:Penfold
ID: 2008015
Arthurd,
Is this a serious error ?, as I've done a df-k and my /var is only at 75%

Thanks

Penfold
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008016
Check your message:

   .. cannot fork ..

So you have to increase the number of processes, or find out why there are so much.
0
 
LVL 1

Accepted Solution

by:
arthurd earned 50 total points
ID: 2008017
I don't think its a serious error.  It very correctable.  Diskspace isn't an issue.  I would suggest editing your /etc/system file.  Add the following line to the bottom:

set maxusers=512

This will increase the number of maximum users, which in turn will increase the number of maximum processes (10 + 16*maxusers).

After that:

touch /reconfigure

then reboot

This will reconfigure the devices and the kernel.

Dave
Dave


0
 

Author Comment

by:Penfold
ID: 2008018
arthurd,
At present I only have three users on the machine. Is setting the
Max user=512 the only way to resolve it ?
0
 
LVL 1

Expert Comment

by:arthurd
ID: 2008019
This is just kernel parameter.  It's not going to open up your system to a mass of users.  All this will do is make the kernel a little bigger and more capable of handling bigger loads.  I think the default for maxusers is something like 128.  So, it's not a huge increase.  I can't think of anything else off hand that might correct it.

Dave
0
 

Author Comment

by:Penfold
ID: 2008020
Thanks for the Answer Arthurd
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem Imaging Computers With Clonezilla 2 82
Parsing a file using ksh 10 56
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 86
Linux: disable vim auto-comment 7 95
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now