- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail using CPU
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
тАО02-08-2010 10:15 PM
тАО02-08-2010 10:15 PM
I want to know the following:
May i know why the sendmail is using CPU. In top the sendmail is using CPU.
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 21899 root 158 20 458M 455M sleep 11:40 22.39 22.35 sendmail:
8 ? 22083 root 148 20 277M 273M sleep 4:58 19.39 19.36 sendmail:
I have checked
$ ps -ef|grep sendmail
root 1201 1 0 Jan 17 ? 70:39 sendmail: accepting connections on port 25
daemon 3666 21899 8 14:14:52 ? 0:00 sendmail: QAA04500: from queue
SN95599 3668 26577 0 14:14:52 pts/5 0:00 grep sendmail
root 22083 1201 219 13:37:43 ? 5:03 sendmail: HBX24033: from queue
root 21899 1201 255 13:07:38 ? 11:44 sendmail: QAA04500: from queue
root 25832 1201 192 14:07:48 ? 0:26 sendmail: DCT06491: from queue
$
May i know the reason?
Can send me the response early please.
Thanks !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 10:32 PM
тАО02-08-2010 10:32 PM
Re: sendmail using CPU
mails getting delayed in delivery of your mails
check any clues on /var/adm/syslog/syslog.log
Check on --> /var/spool/mqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 10:37 PM
тАО02-08-2010 10:37 PM
Re: sendmail using CPU
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 10:38 PM
тАО02-08-2010 10:38 PM
Solutionfiles are there, and look at what might be in
# /var/adm/syslog/mail.log.
Last resort I will try to stop & start sendmail
Restart sendmail
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 10:45 PM
тАО02-08-2010 10:45 PM
Re: sendmail using CPU
Take a look at:
/var/spool/mqueue
You can cat the files beginning with 'q' in order to find out from where the messages are coming and where the messages are sent.
The files beginning with 'd' contains the body of the messages.
Maybe you have a spammer in your LAN.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 10:47 PM
тАО02-08-2010 10:47 PM
Re: sendmail using CPU
I have checked the /var/spool/mqueue there are files generating from Feb 4 to till date and also the output of "$mailq -v" consists of number of jobs.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 11:06 PM
тАО02-08-2010 11:06 PM
Re: sendmail using CPU
If yes wait and watch :)
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 11:09 PM
тАО02-08-2010 11:09 PM
Re: sendmail using CPU
if mails are important, -> no choices you need rectify what's problem so that stacked mails will be able to delivery properly,
if mails are not "important" you need remove them
best way to empty the mail queue is to run
Use "root" to perform below
# sendmail -q
This should clear it off if there is a connection issue.
If that does not work and it REALLY needs to be cleared
# rm -f /var/spool/mqueue/*
The -f supresses warning messages. (all messages are totally gone you can't recover)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2010 12:10 AM
тАО02-09-2010 12:10 AM
Re: sendmail using CPU
May i know why the mails are delayed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2010 12:22 AM
тАО02-09-2010 12:22 AM
Re: sendmail using CPU
Can be many reasons for this. The smtp protocol is very good in management of this kind of delays.
You can find out the previous status of each mail waiting to be sent from the q* files.
Also, you should check your mail log (check syslog in order to find out your mail log location - possible /var/adm/syslog/mail.log)
Horia.
Horia.