>If that process crashes, it will take out ASSP. Plus you cannot re-nice 
the 
>rebuild spam db process as its part of ASSP.

This is not true. If the rebuild process crashes for any reason, the 
thread will be restarted.
BTW: there are still no tickets or reports open, because of a crashing 
rebuildspamdb task

>It has some issues and more times than not using that ASSP runs 
>at 100% to much of the time. Schedule cron seems to run away at times and 

>restarting ASSP leaves orphaned schedule corn processes.

This was never the case for a regular assp V2 installation. But even you 
use the 'gentoo' assp package installer, which changes the ASSP code using 
'sed' - this issue is fixed for Schedule::Cron 1.01 since June last year.

>Since rebuildspamdb.pl cannot be 
>invoked outside of ASSP.

This is true, because there is NO rebuildspamdb.pl for V2. Using a V1 
rebuildspamdb.pl for V2 is useless, because most of the content of the 
resulting spamdb will be incompatible with the V2 Bayesian check.

>I am thinking about making something that posts to the web interfaces, 
and 
>simulates me checking and running rebuild spamdb manually.

Don't do this - you'll destroy your assp.cfg. 

>Then I can have cron invoke that at intervals like before.

Instead use the external command queue feature to start tasks inside assp.
read the 'cmdqueue_example.txt' file.

Thomas




Von:    "William L. Thomson Jr." <w...@o-sinc.com>
An:     For Users of ASSP <assp-user@lists.sourceforge.net>
Datum:  10.02.2016 00:13
Betreff:        Re: [Assp-user] Ver 2.4.7 16036 CPU Load



On Tuesday, February 09, 2016 12:47:40 PM BC wrote:
> Thomas,
> 
> 100% CPU load attributable to ASSP was noted on two servers today when
> upgrading to the latest build.  After about an hour, the upgrade was
> backed out.   Is this to be expected and/or temporary condition or
> possibly another issue?  Thanks!

What are your settings for Rebuild Spamdb? Are you using Schedule Cron? It 

could be that CPU is maxed out because its rebuilding the spam database. 
That 
is done from within the main ASSP process. I voiced my dislike over that. 
If 
that process crashes, it will take out ASSP. Plus you cannot re-nice the 
rebuild spam db process as its part of ASSP.

ASSP at times will use 100% CPU on start, but most times not during 
running. 
If you are seeing it during running, it is not rebuilding the spamdb and 
you 
are using schedule cron. It could be that. I have never been able to use 
schedule cron. It has some issues and more times than not using that ASSP 
runs 
at 100% to much of the time. Schedule cron seems to run away at times and 
restarting ASSP leaves orphaned schedule corn processes.

I just do not install or use schedule cron. Since rebuildspamdb.pl cannot 
be 
invoked outside of ASSP. I have to manually run that a few times a week or 

when needed. I used to have cron the actual Unix/Linux cron daemon do that 
a 
few times a day.

I am thinking about making something that posts to the web interfaces, and 

simulates me checking and running rebuild spamdb manually. Then I can have 

cron invoke that at intervals like before.

I have a feeling the 100% CPU usage your seeing is rebuilding the spam 
database, and/or schedule cron. If your using schedule cron, remove that 
and 
see if its still at 100%.

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user






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!
*******************************************************

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to