Apart from the fact that the MaintThread (10000) does not store the file 
time correctly for 'Groups' included files (which will be fixed), 
everything else you asked is answered in the GUI for an IT prof. Every 
security related content is encryped or not shown by assp.

>I just saw this again in the statusassp gui
1 33 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)



This is the last finished (debug) step (and the seconds since then - 33) 
in rereading the config, before the new regular expressions (IP) are build 
by each thread.

>For years, I've run an external script to query various providers' SPF 
records and get the IP addresses for them into a file. 

For what reason?

Thomas




Von:    "K Post" <nntp.p...@gmail.com>
An:     "ASSP development mailing list" <assp-test@lists.sourceforge.net>
Datum:  27.10.2021 08:45
Betreff:        Re: [Assp-test] Main_Thread is unable to transfer 
connection to any worker - try again




Looking more at these include files in my groups definition.  If I open 
them in the OS immediately after they're generated, it looks as expected.  
Something like:
# 
# Generated by WriteFile-GetDomainIPSFromSPF.pl 
# 
198.2.128.0/24 FROMSPF: spf.mandrillapp.com
198.2.132.0/22 FROMSPF: spf.mandrillapp.com
198.2.136.0/23 FROMSPF: spf.mandrillapp.com
198.2.145.0/24 FROMSPF: spf.mandrillapp.com

Once ASSP loads them though, it goes into some kind of encoded/encrypted 
format, a single long line, all hexidecimal like:
2acc4d3156084a1a3edc250c1f32bc5........ (continues)

Is this normal behavior?  I haven't found any mention of it in the GUI. 
I'm not using configuration sharing.  The other config files don't seem to 
have this hexidecimal conversion, only the ones I generate with my 
script. 

I can edit the included files from the Groups section, by clicking the 
various "Edit included file <path>" button.  It looks normal, not hex 
encoded.

Note: the bottom of the editor window says: "First line specifies text 
that appears in the subject of report message. The remaining lines are the 
report message body."   I'm guessing that's just an oversight.



On Tue, Oct 26, 2021 at 11:17 AM K Post <nntp.p...@gmail.com> wrote:
That's helpful Thomas, thank you.  I've clearly got more digging to do, 
and I will, but I could use more guidance on what I've found so far if you 
have the time.

1)  ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)

I just saw this again in the statusassp gui
1 33 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
2 32 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
3 31 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
4 30 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
5 29 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
6 19 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
7 27 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
10000 26 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)
10001 39 s call to 
ConfigChangeTLSPorts->(TLStoProxyListenPorts,'',,Initializing)

With worker logging set to diagnostic, I see saw a full screen of 
 Oct-26-21 10:14:06 Info: Main_Thread can't interrupt Worker_4 (2) at the 
moment - try next worker
Oct-26-21 10:14:06 Info: Main_Thread is unable to interrupt any worker for 
new connection - wait for available worker (max 30 seconds)
Oct-26-21 10:14:06 Info: try to interrupt worker Worker_3 (0) for new 
connection
Oct-26-21 10:14:06 Info: Main_Thread can't interrupt Worker_3 (0) at the 
moment - try next worker
Oct-26-21 10:14:06 Info: try to interrupt worker Worker_2 (0) for new 
connection
Oct-26-21 10:14:06 Info: Main_Thread can't interrupt Worker_2 (0) at the 
moment - try next worker
Oct-26-21 10:14:06 Info: try to interrupt worker Worker_5 (0) for new 
connection
Oct-26-21 10:14:06 Info: Main_Thread can't interrupt Worker_5 (0) at the 
moment - try next worker
...many many lines of that in a row.

What could be causing ConfigChangeTLSPorts to be initializing using all 
workers?  I've seen this before with POP3 configure, even though POP3 
isn't used and isn't configured.


2) External config files always showing as changed???

For years, I've run an external script to query various providers' SPF 
records and get the IP addresses for them into a file.  (provided a couple 
times here for community use). I then use that file in group definitions. 
For example, in the Groups file, I have:
[GROUP-SENDGRID-IPS]
# include IP-Lists/IPS-sendgrid.com.cfg
# include IP-Lists/IPS-sendgrid.net.cfg

Those 2 .cfg files are generated by the script doing a spf lookup for 
sendgrid.com  and another for sendgrid.net.  It recursively processes the 
records.  The script runs once every 3 hours to capture any DNS changes 
that providers might make.   The script isn't smart enough to know if 
anything has changed, it just re-writes the files every time.   Once ASSP 
reads them, it seems that they get saved encrypted.  I am able to view 
them fune using the GUI, but opening the .cfg files from the OS shows an 
encrypted long string.

Even though my script only changes the files every 3 hours, I'm seeing 
entries in the log (with maintenance logging set to diagnostic) which 
indicates that ASSP thinks that they're changing every time, and it seems 
to be checking these files twice per scheduled reload.


Oct-26-21 10:36:00 Worker_4 will sleep now
Oct-26-21 10:36:03 Info: (re)scheduled ReloadOptionFiles -> 
nextOptionCheck for Oct-26-21 10:41:03
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-sendgrid.net.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)   <-- It changed at 9:33, but also 
8:33, 7:33, etc.  Why does it think last change was yesterday at 21:30?  
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-amazon.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-yahoo.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-mailchimp.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-myngp.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-salesforce.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-mandrillapp.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-verticalresponse.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-bluestatedigital.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-google.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-force.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-constantcontact.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-facebookmail.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-outlook.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-hotmail.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-pphosted.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-ccsend.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-spf.constantcontact.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-facebook.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: found changed include file 
'IP-Lists/IPS-sendgrid.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:03 Info: (re)scheduled ReloadOptionFiles -> 
nextHashFileCheck for Oct-26-21 10:41:03
Oct-26-21 10:36:03 Saving config
Oct-26-21 10:36:03 Info: no configuration changes detected - nothing to 
save - file d:/assp/assp.cfg is unchanged
Oct-26-21 10:36:03 Worker_5 wakes up
Oct-26-21 10:36:03 Worker_1 wakes up
Oct-26-21 10:36:03 Worker_4 wakes up
Oct-26-21 10:36:03 Worker_3 wakes up
Oct-26-21 10:36:03 Worker_6 wakes up
Oct-26-21 10:36:03 Worker_7 wakes up
Oct-26-21 10:36:03 Info: DNS-check-interval is set to 60 seconds, 
DNS-error-recovery-interval is set to 5 seconds
Oct-26-21 10:36:04 Info: Main_Thread got connection request
Oct-26-21 10:36:04 Info: Main_Thread freed by idle Worker_3 in 0.067 
seconds and 1 cycles - got (ok)
Oct-26-21 10:36:04 Info: Worker_3 is interrupted to get new connection
Oct-26-21 10:36:04 Connected: session:7327C910 193.169.253.240:55146 > 
a.b.c.60:25 > a.b.c.35:25
Oct-26-21 10:36:05 Info: Main_Thread got connection request
Oct-26-21 10:36:05 Info: Main_Thread freed by interrupted Worker_3 in 
0.069 seconds and 1 cycles - got (ok)
Oct-26-21 10:36:05 Info: Worker_3 is interrupted to get new connection
Oct-26-21 10:36:05 x.y.z.90 IP x.y.z.90 matches acceptAllMail - with 
x.y.z.90/32
Oct-26-21 10:36:05 Connected: session:89B52FB0 x.y.z.90:54247 > 
a.b.c.60:62974 > a.b.c.35:25
Oct-26-21 10:36:05 msg58965-29399 [unsupported_AUTH] 193.169.253.240 AUTH 
not allowed
Oct-26-21 10:36:05 msg58965-29399 193.169.253.240 Message-Score: added 126 
(autValencePB) for too many (1) AUTH errors from 193.169.253.0, total 
score for this message is now 126
Oct-26-21 10:36:05 msg58965-29399 193.169.253.240 [SMTP Error] 502 AUTH 
not supported
Oct-26-21 10:36:09 Info: spam folder content was reread for MaxAllowedDups
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-sendgrid.net.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)  <-- it just notified of this at 
10:36:03.  Is it just notifying twice, or is it checking twice?  Why does 
it still think the previous update was yesterday?  It does this with all 
of the ip lists that are included.
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-amazon.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-yahoo.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-mailchimp.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-myngp.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-salesforce.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-mandrillapp.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-verticalresponse.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-bluestatedigital.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-google.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-force.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-constantcontact.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-facebookmail.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-outlook.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-hotmail.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-pphosted.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-ccsend.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-spf.constantcontact.com.cfg' for config 'Groups' - old 
(Oct-25-21 21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-facebook.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:11 Info: found changed include file 
'IP-Lists/IPS-sendgrid.com.cfg' for config 'Groups' - old (Oct-25-21 
21:30:41), new (Oct-26-21 09:33:11)
Oct-26-21 10:36:15 Info: Main_Thread got connection request  <-- nothing 
for 30 seconds, then the main thread unable to transfer
Oct-26-21 10:36:46 Info: notification message queued to sent to 
assp-not...@ourcharity.org
Oct-26-21 10:36:46 Warning: Main_Thread is unable to transfer connection 
to any worker - try again!
Oct-26-21 10:37:17 Warning: Main_Thread is unable to transfer connection 
to any worker - try again!   -- 30 seconds after the first one.
Oct-26-21 10:37:33 Worker_6 finished reloading configuration
Oct-26-21 10:37:33 Info: Main_Thread freed by interrupted Worker_3 in 
78.187 seconds and 1 cycles - got (ok)
Oct-26-21 10:37:33 Worker_3 finished reloading configuration
Oct-26-21 10:37:33 Info: Main_Thread got connection request
Oct-26-21 10:37:33 Info: Main_Thread freed by interrupted Worker_3 in 
0.199 seconds and 1 cycles - got (ok)
Oct-26-21 10:37:33 Info: Main_Thread got connection request
Oct-26-21 10:37:33 Info: Main_Thread freed by idle Worker_4 in 0.014 
seconds and zero cycles - got (ok)
Oct-26-21 10:37:33 Info: Main_Thread got connection request
Oct-26-21 10:37:33 Info: Main_Thread freed by idle Worker_6 in 0.014 
seconds and zero cycles - got (ok)
Oct-26-21 10:37:33 Info: Worker_3 is interrupted to get new connection
Oct-26-21 10:37:33 Connected: session:258FF548 216.160.207.10:42420 > 
a.b.c.60:25 > a.b.c.35:25
Oct-26-21 10:37:33 msg58965-29399 193.169.253.240 info: PB-IP-Score for 
'193.169.253.0' is 2268, added 126 in this session
Oct-26-21 10:37:33 msg58965-29399 193.169.253.240 disconnected: 
session:7327C910 193.169.253.240 - processing time 89 seconds
Oct-26-21 10:37:33 Worker_4 finished reloading configuration
Oct-26-21 10:37:33 Worker_4 will sleep now
Oct-26-21 10:37:33 Worker_6 will sleep now
Oct-26-21 10:37:33 Info: Worker_3 is interrupted to get new connection
Oct-26-21 10:37:33 Connected: session:8FC33A40 104.237.139.48:57300 > 
a.b.c.60:25 > a.b.c.35:25
Oct-26-21 10:37:33 Worker_4 wakes up
Oct-26-21 10:37:33 Info: Worker_4 got connection from MainThread

This type of behavior shouldn't be expected should it?






On Tue, Oct 26, 2021 at 6:01 AM Thomas Eckardt <thomas.ecka...@thockar.com
> wrote:
>I tried to see where SaveConfig() 

SaveConfig() is called in the Main_Thread (Worker_0) every time, anything 
in the assp configuration was changed. 
And under normal cirumstances, after that, all workers are told to check 
there configuration (and reload) in relation to the new one (lists, files, 
recompile regexes  ....). 

> I >>think<< 

if I would have a problem with >"Saving config"< (which is a maintenance 
task) - I would increase the 'MaintenanceLog' level 
if I would have a problem with workers >"unable to transfer connection to 
any worker"< - I would enable WorkerLog and WorkerLogging

example log: 

Oct-25-21 23:12:58 [Worker_10000] Downloading level-2-TLDlist via direct 
HTTP connection 
Oct-25-21 23:12:58 [Worker_10000] Level-2-TLDlist download completed 
Oct-25-21 23:12:58 [Worker_10000] Downloading level-3-TLDlist via direct 
HTTP connection 
Oct-25-21 23:12:59 [Worker_10000] Level-3-TLDlist download completed 
Oct-25-21 23:12:59 [Worker_10000] Info: next TLDlist download in 1 day 5 
hours 58 minutes 
Oct-25-21 23:12:59 [Worker_10000] Info: file c:/assp/files/URIBLCCTLDS.txt 
updated for URIBLCCTLDS 
Oct-25-21 23:13:00 [Main_Thread] Saving config 
Oct-25-21 23:13:00 [Main_Thread] Info: no configuration changes detected - 
nothing to save - file c:/assp/assp.cfg is unchanged 
Oct-25-21 23:13:00 [Main_Thread] Adminupdate: file 
'c:/assp/files/URIBLCCTLDS.txt' for config 'URIBLCCTLDS' was changed 
Oct-25-21 23:13:00 [Main_Thread] Option list file: 
'c:/assp/files/URIBLCCTLDS.txt' reloaded (URIBLCCTLDS) with 12,280 records 

Oct-25-21 23:13:02 [Worker_1] Worker_1 wakes up 
Oct-25-21 23:13:02 [Worker_5] Worker_5 wakes up 
Oct-25-21 23:13:02 [Worker_4] Worker_4 wakes up 
Oct-25-21 23:13:02 [Worker_3] Worker_3 wakes up 
Oct-25-21 23:13:02 [Worker_2] Worker_2 wakes up 
Oct-25-21 23:13:03 [Worker_1] Worker_1 finished reloading configuration 
Oct-25-21 23:13:03 [Worker_1] Worker_1 will sleep now 
Oct-25-21 23:13:04 [Worker_2] Worker_2 finished reloading configuration 
Oct-25-21 23:13:04 [Worker_2] Worker_2 will sleep now 
Oct-25-21 23:13:05 [Worker_3] Worker_3 finished reloading configuration 
Oct-25-21 23:13:05 [Worker_3] Worker_3 will sleep now 
Oct-25-21 23:13:06 [Worker_4] Worker_4 finished reloading configuration 
Oct-25-21 23:13:06 [Worker_4] Worker_4 will sleep now 
Oct-25-21 23:13:07 [Worker_5] Worker_5 finished reloading configuration 
Oct-25-21 23:13:07 [Worker_5] Worker_5 will sleep now 
Oct-25-21 23:13:08 [Worker_10000] Worker_10000 finished reloading 
configuration 
Oct-25-21 23:13:10 [Worker_10001] Worker_10001 finished reloading 
configuration 
Oct-25-21 23:13:29 [Worker_10000] Downloading Extended Droplist via direct 
HTTP connection 
Oct-25-21 23:13:29 [Worker_10000] Extended Droplist already up to date 
Oct-25-21 23:13:29 [Worker_10000] Info: next droplist download in 7 hours 
34 minutes 


debug may help 
for time related debugging, I (or some one who read the manual) would 
consider to use ConfigChangeSchedule 

notice: analyzing all the produced debug files (in general debug mode) is 
a very time consuming task 

Check your option files for bad (too greedy) regular expressions. Check, 
if there are other processes modifying assp files. Check that required 
services (DNS, SQL,ClamAV,..... ) are responsive at this time. 

If (for any reason) it is expected, that the config reload takes 30 
seconds or longer - 'ConnectionTransferTimeOut' should be changed - or the 
"Warning: Main_Thread is unable to transfer connection to any worker - try 
again!" should be ignored. 

If the reload takes X seconds for the MainThread. Within these X seconds 
all new connections are queued by the OS. After this time (the reload) the 
MainThread tries to transfer all these new connections within some 
(milli)seconds to the workers - this may overload the SMTP-workers for 
some time. 

Thomas 



Von:        "K Post" <nntp.p...@gmail.com> 
An:        "ASSP development mailing list" <
assp-test@lists.sourceforge.net> 
Datum:        25.10.2021 17:20 
Betreff:        Re: [Assp-test] Main_Thread is unable to transfer 
connection to any worker - try again 



We are lucky to have a new (to us) faster server donated since this 
original May posting on the "unable to transfer connection to any worker" 
error.  However, with the new box with Windows 2019 installation, fully 
patched, MySQL latest community, and Strawberry perl 5.32 it's still 
happening in spurts.    Not a heavy load, 16gb ram.  12 cores total.  ASSP 
uses about 1.7gb after running for a bit.  MySQL seems fast, ClamAV in 
use. 

Sometimes I get the warning just once in a day, often it's every 5 minutes 
for a while.  This morning, there were 3 occurrences with 10 minutes in 
between each.  But always, when I look at the log, it's right after the 
"Saving config" process, always when there's no config changes.  

I tried to see where SaveConfig() is being called from every 5 minutes.  I 
>>think<< it's when the ReloadOptionFiles timer hits, but I'm not sure. 
ReloadOptionFiles is set to 300 (5 minutes)     
AutoReloadCfg is enabled, though I'm never modifying assp.cfg without 
using the GUI 
What else should I be looking at? 


>From today: 
Oct-25-21 11:09:24 Saving config 
Oct-25-21 11:09:24 Info: no configuration changes detected - nothing to 
save - file d:/assp/assp.cfg is unchanged 
(a message processed) 
Oct-25-21 11:09:57 Info: notification message queued to sent to 
assp-not...@ourcharity.org 
Oct-25-21 11:09:57 Warning: Main_Thread is unable to transfer connection 
to any worker - try again! 

assp acts normally for 10 minutes, then: 

Oct-25-21 11:19:28 Saving config 
Oct-25-21 11:19:28 Info: no configuration changes detected - nothing to 
save - file d:/assp/assp.cfg is unchanged 
Oct-25-21 11:20:00 Info: notification message queued to sent to 
assp-not...@ourcharity.org 
Oct-25-21 11:20:00 Warning: Main_Thread is unable to transfer connection 
to any worker - try again! 

assp resumes 

Oct-25-21 11:29:32 Saving config 
Oct-25-21 11:29:32 Info: no configuration changes detected - nothing to 
save - file d:/assp/assp.cfg is unchanged 
(a single message processed fine here) 
Oct-25-21 11:30:04 Info: notification message queued to sent to 
assp-not...@ourcharity.org 
Oct-25-21 11:30:04 Warning: Main_Thread is unable to transfer connection 
to any worker - try again! 



On Mon, May 17, 2021 at 8:53 PM K Post <nntp.p...@gmail.com> wrote: 
I'm desperate for help.  It seems that ASSP has thread problems frequently 
when it reloads the config.  I see warnings that the Main_Thread is unable 
to transfer connection to any worker, often every 5 minutes for hours. 

May-17-21 20:40:35 Saving config
May-17-21 20:40:35 Info: no configuration changes detected - nothing to 
save - file c:/assp/assp.cfg is unchanged
May-17-21 20:41:08 Info: notification message queued to sent to 
assp-not...@ourcharity.org
May-17-21 20:41:08 Warning: Main_Thread is unable to transfer connection 
to any worker - try again! 

Even when there's no settings detected (line 2 above), it can hang.   

I can't seem to figure out why. 

Windows 2012 R2 
Strawberry Perl 
Latest ASSP 

Any guidance on where to start? 

Thank you 
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to