sendmail and sm-client take hell of time during startup
hi all. m facing this problem from last couple of weeks,,,earlier it was fine, but i don know what happened coz of which sendmail and sm-clietn takes hell of time (around 3/4 mins each) tough the rest of the tools/daemons don't take more that a minute to start...i googled but didn't get some satisfactory solutions..can nyone plz point out the reason or some good links on this issue,,,
m using FC9 with 2.6.26.fc9.i686 kernel in intel machine, these are the h/w details as shown by /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Celeron(R) CPU 2.40GHz stepping : 9 cpu MHz : 2399.819 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr bogomips : 4803.33 clflush size : 64 power management: thank u very much.. |
Hey There,
Probably the issue is related to name lookups. In your sendmail.cf or submit.cf, do you list any host names? It may be as easy as adding static entries for those to your /etc/hosts file. I may be way off, but I'm stabbing in the dark. Have you tried to recreate the experience by shutting down the services and restarting them after your machine's all booted up? If the outcome is the same, that would point more toward name resolution (or IP routing issues) than anything else. Let me know :) Best wishes, Mike |
Quote:
|
Quote:
Code:
Code:
# file containing names of hosts for which we receive email If you think that i looked something else, can you please be more specific on what to look for and what are the changes I need to do. I would like to share one more thing that, I never had these problems when I installed FC9 to my box, some unnecessary daemons were running and consuming helll of memory[i've only 512MB RAM] so one of my friend did some changes, and as I remember , these problem of loong boot up started. I hope you got the problem. Can you please help me out. Thank you for your valuable time. |
Howzit harry
It seems to be a DNS issue, or resolving a name, even your own local DNS name of your server. The /etc/hosts file is used to do local name resolving, so you will have your own server DNS name in there, then a space and then your IP While sendmail boots up, it resolves names to make sure all is fine, in your instance it is having a bad time doing it. your /etc/mail/local-host-names file has nothing to do with this, this file is used for sendmail to know which domains to deliver mail for locally on the server. Hope this helps ! |
Quote:
As I remember a couple of weeks ago, I'd done some changes in DNS servers i.e I swapped the secondary and primary name servers, is that whats causing the problem, i think so , what you say? I'ld have a look over there. Let me check. Thank you very much. |
Quote:
Check that the name servers are available, and how fast your DNS servers resolve DNS names type the command " host -t any google.com your.dns.server.ip " See how long it takes to resolve, if it takes long, change to another DNS server, you will have endless mail queue problems later. Also, add your own server's DNS name to /etc/host as well, that helps alot !! P.S> small tip, to speed up POP3 and IMAP connections, add your client IPs and names to the /etc/hosts file as well, it works like a charm ;-) OR host a "reverse lookup" file on your server with the details ... if you know how ;-) |
All times are GMT -5. The time now is 06:07 AM. |