- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to start sendmail in hp-ux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 08:45 AM
тАО04-03-2009 08:45 AM
I want to find whether sendmail is running or not, so i issued following command.
root@lghp239:/root > ps -ef | grep sendmail
root 732 1 0 Oct 31 ? 6:51 sendmail: rejecting connections on port 25: load average: 62
what it "sendmail:rejecting connections" means.
how to start sendmail.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 09:00 AM
тАО04-03-2009 09:00 AM
Re: how to start sendmail in hp-ux
You will see a documentation section in the file titled "Refuse-Connections Load Average (option RefuseLA):".
To see how this is configured on your system now, search for 'RefuseLA' in the sendmail.cf file. If the line looks like:
#O RefuseLA=12
then you are probably using a built-in default value.
If the line looks like:
O RefuseLA=15
Then the load average at which sendmail will start refusing connections is 15. The value could be any number you choose.
If having sendmail refusing connections is a real problem, you probably really need to look into why the load average was so high to begin with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 09:03 AM
тАО04-03-2009 09:03 AM
Re: how to start sendmail in hp-ux
Reduce the load average on the server and you won't get this rejected ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 09:10 AM
тАО04-03-2009 09:10 AM
Re: how to start sendmail in hp-ux
When it's refusing connections do a
ps -ef | grep sendmail
to get the PID - 732 - in this case.
Then do
ps -ef | grep 732 | wc -l to see how many children the parent - 732 - has spawned.
If that equals/exceeds the RefuseLA value that would explain the rejecting state.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 09:22 AM
тАО04-03-2009 09:22 AM
Re: how to start sendmail in hp-ux
I edited the file "/etc/mail/sendmail.cf"
o/p: #O RefuseLA=12
# ps -ef | grep 732 | wc -l
o/p: 3
how to solve this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 09:32 AM
тАО04-03-2009 09:32 AM
SolutionDos a ps -ef | wc -l and compare that to the NPROC value which you can check with
kmtune -q nproc
But of course, IF you've hit the NPROC limit you may not be able to run anything until you kill some PIDs.
Check your syslog - anytime your hit a kernel parm limit it should get logged. You should also check your mail log - it could/should tell you exactly what's going on.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 09:35 AM
тАО04-03-2009 09:35 AM
Re: how to start sendmail in hp-ux
# top
# vmstat 2 2
# swapinfo -tam
# sar -Mu 2 2
# sar -d 2 2
# ipca -ma