Errors in /var/adm/messages

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"
PenfoldAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
arthurdConnect With a Mentor Commented:
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
 
ahoffmannCommented:
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
 
ozoCommented:
kill off some processes
recomfigure the kernel with more processes
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
ahoffmannCommented:
ozo, you should change your account name to KISS
I like it ;-)
0
 
PenfoldAuthor Commented:
Can you give me more details on how to edit the kernel please !
0
 
arthurdCommented:
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
 
cwalterCommented:
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
 
PenfoldAuthor Commented:
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
 
PenfoldAuthor Commented:
Arthurd,
Is this a serious error ?, as I've done a df-k and my /var is only at 75%

Thanks

Penfold
0
 
ahoffmannCommented:
Check your message:

   .. cannot fork ..

So you have to increase the number of processes, or find out why there are so much.
0
 
PenfoldAuthor Commented:
arthurd,
At present I only have three users on the machine. Is setting the
Max user=512 the only way to resolve it ?
0
 
arthurdCommented:
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
 
PenfoldAuthor Commented:
Thanks for the Answer Arthurd
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.