Collin try the following.

open the main GUI - reduce the screen size
open the worker status GUI
place both windows beside each other
put the focus at the worker status - it should refresh every 5 seconds
now set the focus at the main GUI - the worker status should now stop 
refreshing until it gets back the focus

is that working in this way?

Thomas




Von:    Colin <[email protected]>
An:     [email protected]
Datum:  06.02.2012 02:08
Betreff:        Re: [Assp-test] Antwort: Re:  Antwort:  ASSP dies, 
connection handled by two workers



This has just happened again.

I had only my primary server open in Firefox through https. I had two 
tabs, one the main window and another showing "Worker/DB/Regex Status 
<statusassp?nocache=1328463894>".

Because of the rebuildspamdb issues that I have been having, I decided 
to set RebuildSchedule to noschedule. I did this and clicked apply.

It waited a few seconds and then gave me a white box stating:

"Switched to http://server.domain.tld:55555/ - Please wait some seconds 
to let assp finish change to configuration. It is recommended to restart 
ASSP!"

ASSP stopped accepting new connections and reset a load of values in 
assp.cfg

I have now noticed two things:

1) the white message refers to http and not https
2) I think it has only ever occurred when I have had the status open in 
a second tab

This time it didn't just muck up assp.cfg, it cause an OOM error on the 
system that needed a reboot to clear.




On 05/02/2012 05:13, Thomas Eckardt wrote:
>> I eventually got all the options turned on but I had to set the
> options one by one and close my web browser in between each change.
>
> What browser do you use?
>
> I'm really unable to reproduce this with Safari and IE and Firefox.
> How ever - the setup has to be done in a 'logical' order - 1. switch on
> BDB - restart - 2. change usedb4... - restart
>
> And  - any caching should swiched off for the assp GUI. In most browser
> this is standard if you use https://
>
> Thomas
>
>
>
> Von:    Colin<[email protected]>
> An:     [email protected]
> Datum:  04.02.2012 16:08
> Betreff:        Re: [Assp-test] Antwort:  ASSP dies,    connection 
handled
> by two workers
>
>
>
> Hi Thomas,
>
> I did in fact try enabling BerkeleyDB, useDB4IntCache and useDB4Rebuild
> during testing. It cause me a major headache because enabling it
> actually caused a number of settings in both assp.cfg and assp_sync.cfg
> to be wiped out.
>
> Instead of just turning them on I got a popup about "switching to
> my.hostname.tld" and the cfg file ended up with about 10 settings left
> in it. I eventually got all the options turned on but I had to set the
> options one by one and close my web browser in between each change.
>
> I have upgraded again to ASSP version 2.1.2(12032) and haven't seen the
> issue recur yet but the weekends are quite days.
>
> I'm also running rebuildspamdb again to see if that still has issues. It
> seems to be running a lot quicker so fingers crossed..
>
> Thanks for the replies,
> Colin.
>
> On 04/02/2012 05:51, Thomas Eckardt wrote:
>> Colin,
>>
>> has you installed BerkeleyDB and the Perl module BerkeleyDB ?
>> Do you use BerkeleyDB for the internal Hashes - 'useDB4IntCache' ?
>>
>> If not - try to setup this feature.
>>
>> Thomas
>>
>>
>>
>>
>>
>> Von:    Colin<[email protected]>
>> An:     ASSP development mailing list<[email protected]>
>> Datum:  01.02.2012 17:39
>> Betreff:        [Assp-test] ASSP dies, connection handled by two 
workers
>>
>>
>>
>> Hi folks,
>>
>> ASSP version 2.1.2(12031) on Ubuntu with Perl v5.12.4
>>
>> Since switching my primary over from Centos I have noticed some
>> oddities. ASSP seems to just die and must be started up again.
>>
>> What I have noticed is that each time there appears to be a problem
>> immediately proceeding in the logs.
>>
>> They go like this:
>>
>> 2012-02-01 10:43:22 [Main_Thread] Info: Main_Thread got connection
> request
>> 2012-02-01 10:43:22 [Worker_1] Worker_1 wakes up
>> 2012-02-01 10:43:22 [Worker_1] Info: Worker_1 got connection from
>> MainThread
>> 2012-02-01 10:43:22 [Main_Thread] Info: Main_Thread freed by idle
>> Worker_1 in 0.006 seconds
>> 2012-02-01 10:43:22 [Main_Thread] Info: Main_Thread got connection
> request
>> 2012-02-01 10:43:22 [Worker_2] Worker_2 wakes up
>> 2012-02-01 10:43:22 [Worker_2] Info: Worker_2 got connection from
>> MainThread
>> 2012-02-01 10:43:22 [Main_Thread] Info: Main_Thread freed by idle
>> Worker_2 in 0.005 seconds
>>
>> Each time two workers are involved (could be any two) and it appears
>> they are both attempting to handle the same connection. Exactly the 
same
>> details are logged by each thread and at some point the logs just end.
>> ASSP dies and then the log start again after the monitoring script
>> starts ASSP up again.
>>
>> My secondary server is running ASSP version 2.1.2(12026) on CentOS 6.2
>> with Perl v5.10.1 and does not show the same behaviour.
>>
>> All the Best,
>> Colin.
>>


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Assp-test mailing list
[email protected]
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!
*******************************************************


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to