- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: increasing priority of sendmail? or work aroun...
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
тАО12-02-2004 08:44 AM
тАО12-02-2004 08:44 AM
Mail messages would accumulate in /var/spool/mqueue for hours and mailq would display about 60-90 queued at any moment in time. The mail message size varies between a few 100K up to 3MB. I tried to do sendmail -q0 and I also used renice -40 sendmail.pid but that does not help much.
Any workaround or can I move the files in /var/spool/mqueue to another box with sendmail? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 08:49 AM
тАО12-02-2004 08:49 AM
Re: increasing priority of sendmail? or work around
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 08:53 AM
тАО12-02-2004 08:53 AM
Re: increasing priority of sendmail? or work around
Maybe this link will help,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066259197
the itrc doc id is 4000048583.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 08:57 AM
тАО12-02-2004 08:57 AM
Re: increasing priority of sendmail? or work around
Are there a lot of messages that get generated at once? What is the real time span for the 2500 messages to be generated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 09:07 AM
тАО12-02-2004 09:07 AM
Re: increasing priority of sendmail? or work around
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 09:18 AM
тАО12-02-2004 09:18 AM
SolutionSendmail is I/O bound more commonly, and this can be Network, Disk, or both.
vmstat and iostat should give good indicators if the system is disk bound. Add another controller and couple disks, stripe together mail spooler directory.
If the problem does not appear to be disk, check network I/O. Add a designated NIC for internet traffic, especially email.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 09:30 AM
тАО12-02-2004 09:30 AM
Re: increasing priority of sendmail? or work around
so sendmail may not be getting enough cpu.
the problem with giving it enough cpu with renice (nice means higher nice, easier on system, lower priority) is that these important reports and other activity will be effected.
I think renice isn't going to help much. Overloaded is overloaded.
You could take a shot at tuning the box in general. You might be able to get some balance.
http://www1.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&search.y=8&search.x=28&mode=id&admit=-682735245+1102026370706+28353475&searchCrit=allwords
Management made a mistake putting off the upgrade. Use this data to convince them to change their minds.
If the box is upgradeable, maybe some more memory or another CPU would help. Because sendmail is not CPU bound, I kind of doubt it.
You might be able to manipulate the sendmail.cf file and allow more simultaneous mail sessions in the hope that in brief moments of lower system use a whole lot of mail gets squirted through.
I'd also collect some performance data and see where the bottleneck is. If its network, you're done, stick a fork in it because there is nothing you can do short of splitting the functionality from this server.
If its something else, you might be able to remedy it.
Scriptset attached, but modification WILL be required to run them on 10.20.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 10:00 AM
тАО12-02-2004 10:00 AM
Re: increasing priority of sendmail? or work around
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 03:32 PM
тАО12-02-2004 03:32 PM
Re: increasing priority of sendmail? or work around
As far as the mqueue directory, using something like NFS to export the files will probably slow things down even more. NFS is intolerant of network overloads. Perhaps setting up a separate subnet (and add a new LAN card) just for email will help.
Bill Hassell, sysadmin