- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mail very slow
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
Forums
Discussions
Discussions
Discussions
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
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
10-18-2002 07:11 AM
10-18-2002 07:11 AM
mail very slow
I have a problem with my mail, that is it takes about 5 minutes to execute the comand "mail ???@???.?? < anyfile". So after some investigation I found that if I stop sendmail deamon, rm /dev/log file, kill any pedding sendmail processes and run the deamon again the problem was resolved. Which I did...but the next day the /dev/log was there again and the problem came back with him :-(.
Can anyone tell what /dev/log is all about and also what can I do to take care of this problem for good...
Thanks in advance.
SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 07:35 AM
10-18-2002 07:35 AM
Re: mail very slow
You deleted /dev/log?!?! This is a FIFO read by syslogd. You'd better restart syslodg imediately to recreate and reopen it. Here is a list of some daemons that do write to it:
named
sendmail
bootpd
rpcbind
nfsd
nfsd
nfsd
inetd
pwgrd
nfsd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 07:47 AM
10-18-2002 07:47 AM
Re: mail very slow
Wait... If /dev/log exists and is a plain file open by the other daemons (fuser /dev/log will tell you), this it would be safest to recover this way:
1. Stop sendmail since each child will open /dev/log for writing... creating it if it does not already exist.
2. Rename /dev/log to /dev/log.old. This will allow the other daemons to continue because the file is already open and the inode hasn't changed.
3. Restart syslogd to recreate /dev/log as a FIFO.
4. Reboot to safely restart all the other daemons on the FIFO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 07:54 AM
10-18-2002 07:54 AM
Re: mail very slow
Well, I asked an HP-UX guru if I could do it, and than deleted /dev/log.......
Thank you for your explanation but I really need help with the mail problem. What could be the problem? Do you have any idea?
SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 08:13 AM
10-18-2002 08:13 AM
Re: mail very slow
mail and mailx pipe messages to non-daemon invocations of sendmail and wait until they are finished. Let's correct the /dev/log problem first just in case each sendmail is waiting to write to /dev/log. If the delay persists, then step up LogLevel to 13 in /etc/mail/sendmail.cf, restart sendmail, and watch /var/adm/syslog/mail.log. (Expect a lot of debug info.) Hopefully we'll get some indication of the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 02:36 AM
10-21-2002 02:36 AM
Re: mail very slow
Thanks to eveyone that answered my question. I sholud say that all of you helped me, after I do as you told the problem is resolved but after sometime cames back again.
I run fuser /dev/log and all the I get is the process ID of syslogd deamon.
Can you tell what is causing this situation?
Regards,
SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 03:32 AM
10-21-2002 03:32 AM
Re: mail very slow
i don't know what can be the link between /dev/log and sendmail (mail) performance problem. I already had performance problems with this product due to processor load average.
By default, sendmail only queue messages when load average is over 8 and refuse any messages whan load average is over 12. You can change these value in /etc/mail/sendmail.cf
When the problem happened on your server, check processor load average.
You spoke about sendmail process. You only need this daemon to accept (receive) email, not to send email.
Hope this helps,
Fabrice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 11:17 AM
10-22-2002 11:17 AM
Re: mail very slow
Sorry about the delay. How are things today? How's the load on your system?
The sendmail daemon will do two things: listen for SMTP on a configurable port (default 25) and process the queue at configurable time intervals. The former task can be disabled (don't use -bd), but you will need sendmail running at least to process the queue when messages are defered (eg use -q30m) due to excessive system load or connection failures.
Have you tried increasing the LogLevel?