[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [magicmail-users] magic-smtpd cpu usage
Hi Marcel:
Thanks for your reply.
When you get your strace, can you please expand it to include everything
from the tcpserver level on down? E.g.:
# strace -s 1500 -ff -o magic-smtpd.trace.file -p [PID of tcpserver]
We'd like to get the whole output before it goes into the time() call.
Additionally, if you have any log output relating to the PID that goes
awry that would be very useful as well.
Thanks Marcel,
-Simon
-- LinuxMagic Support Team --
Marcel Prisi wrote:
> magic-smtpd is 0.8.4-2
>
> Just launched some straces, I get pages of :
>
> time(NULL) = 1158226527
> time(NULL) = 1158226527
> time(NULL) = 1158226527
> time(NULL) = 1158226527
> time(NULL) = 1158226527
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226528
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
> time(NULL) = 1158226529
>
> My Makefile.inc
>
> # CONFIGURATION, YOU CAN EDIT OPTIONS BELOW THIS LINE
> ======================
>
> #USE_LM_DATABASE=1
> #USE_LM_DBFILE=1
> USE_TLS=1
> #USE_BLOCK_LISTS=1
> USE_LOCAL=1
> #USE_UUID=1
> RELEASE_VERSION=1
>
> OPENSOURCE=1
> #USE_EFENCE=1
> NEED_STRNLEN=1
> NEED_LRESOLV=1
>
> Thanks for helping.
>
> Shaun Johnson a écrit :
>
>> Hello Marcel and welcome to the MagicMail users lists.
>>
>> The CPU usage certainly does seem high. What version of magic-smtpd
>> are you running?
>>
>> It would be beneficial to get a trace of what the varying smtpd
>> processes are actually doing. Is there any output from an 'strace'
>> of the processes in question that might help us determine what is
>> happening?
>>
>> This information should help us better understand your problem.
>>
>> Thanks!
>>
>> - Shaun
>>
>> -- LinuxMagic Support Team --
>>
>> Marcel Prisi wrote:
>>
>>> Hi all,
>>>
>>> I have been running magic-smtpd for a few weeks and discovered
>>> something weird.
>>>
>>> My setup is based on qmailtoaster.com + relay-ctrl packages on a
>>> Centos 4.3 / Sun 2100.
>>>
>>> System load is extremely high, and top shows that all qmail-smptd(s)
>>> are using 95%-100% CPU all the time.
>>>
>>> Why is that ? I wouldn't think that magic-smtpd ? How can I fix it ?
>>>
>>> Thanks.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: magicmail-users-unsubscribe@linuxmagic.com
>>> For additional commands, e-mail: magicmail-users-help@linuxmagic.com
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: magicmail-users-unsubscribe@linuxmagic.com
> For additional commands, e-mail: magicmail-users-help@linuxmagic.com
>
--
Simon Wilson <simon@wizard.ca> Systems Administration
Wizard IT Services - http://www.wizard.ca
Linux Support Specialist - http://linuxmagic.com
Unix Administration, Website Hosting, Network Services, Programming
(604) 589-0037 Beautiful British Columbia, Canada
LinuxMagic is a TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which
they are addressed. If you have received this email in error please
notify the system manager. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company.