Solved

Errors in /var/adm/messages

Posted on 1998-11-23
13
326 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
Comment Utility
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
Comment Utility
kill off some processes
recomfigure the kernel with more processes
0
 
LVL 51

Expert Comment

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

Author Comment

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

Expert Comment

by:arthurd
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:Penfold
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the Answer Arthurd
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
error while running the scirpt 24 114
ftpcommand 2 50
Convert OverPunch 25 57
Install MySQL 5.6 and PHP on Centos Linux 6 48
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

772 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

12 Experts available now in Live!

Get 1:1 Help Now