It doesn't have anything to do with mail delivery. Just logging into WAI
is enough to hit the the processor for 5-10 seconds. I looked through
the code and it's running ctrlclnt in a shell to look up the user and
get the password for authentication. I think that is where the problem
is. Below is a chunk of the code that calls ctrlclnt, I think the
problem is in the Execute command section's Do Until loop. It's probably
blocking, slowing everything down including xmail's response to the
ctrlclnt.
Bill
'-- Build command line
CmdLine = LoadCfg("/config/xmail", "path") & " "
CmdLine = CmdLine & "-s """ & LoadCfg("/config/xmail", "address") & """
"
CmdLine = CmdLine & "-n """ & LoadCfg("/config/xmail", "port") & """ "
CmdLine = CmdLine & "-u """ & LoadCfg("/config/xmail", "username") &
""" "
CmdLine = CmdLine & "-p """ & LoadCfg("/config/xmail", "password") &
""" "
CmdLine = CmdLine & """" & Command & """ "
'-- Add arguments
For I = LBound(Arguments) To UBound(Arguments)
CmdLine = CmdLine & """" & Arguments(I) & """ "
Next
'-- Execute command
Set Task = Server.CreateObject("WScript.Shell").Exec(CmdLine)
Do Until Task.Status = 1
Loop
'-- Check error
Output = Task.StdErr.ReadAll()
If Output <> "" Then Err.Raise vbObjectError + 1, "CtrlClnt", "Command:
" & Command & vbCrLf & "Args: " & Join(Arguments, ";") & vbCrLf & Output
>----------
>From: Davide Libenzi[SMTP:[EMAIL PROTECTED]]
>Sent: Tuesday, July 02, 2002 3:53 PM
>To: '[EMAIL PROTECTED]'
>Subject: [xmail] Re: Help with WAI admin
>
>
>On Tue, 2 Jul 2002, Bill Healy wrote:
>
>>
>> Help!!
>>
>> I've got WAI admin running on two different servers, a dual processor
>> NT4 and single processor W2K. On both these servers they take a major
>> CPU hit when logging in or changing between pages. When I say major I
>> mean over 70% on both processors for the dual and 100% on the single
>> processor machine. And it will last about 5-10 seconds. I've looked
>> through the code and it seems that the pages causing the most CPU usage
>> are the ones that call the ctrlclnt to do something.
>>
>> Is anyone else using WAI and are you seeing this happen on your servers?
>> If not what are your settings for the virtual directory pointing to
>> xmadmin?
>>
>> Are there any other web admin programs out there that people are using?
>> And if they don't include webmail what add-on's are you using (need
>> attachment capability if possible).
>
>last time i saw this one was due an internal mail loop, which version are
>you using ( XMail ) ?
>
>
>
>- Davide
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to [EMAIL PROTECTED]
>For general help: send the line "help" in the body of a message to
>[EMAIL PROTECTED]
>
>
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]