Page 1 of 1

omscan.server

Posted: Fri May 25, 2007 5:08 pm
by jryden
Hey guys -

every Friday afternoon there seems to be some internal Scalix housekeeping taking place where omscan.server starts doing something and eating up CPU time. Is there any way to make this process take place at another time/hour?

Posted: Fri May 25, 2007 5:41 pm
by Shredder
It is supposed to run on off-peak hours. Is your time correct on the server?

You can stop it with a omoff -d0 -w omscan.server

It looks like there is a comfig file in /var/opt/scalix/??/s/sys/omscan.cfg

Default is to have it run every 7 days. I would thing that it would be from when you omon omscan.server.

Try that and see if it helps.

Shredder

Posted: Fri May 25, 2007 5:45 pm
by jryden
Yes, the time on the server is correct. I haven't caught exactly when the process kicks off but it is definitely running every Friday at 5 p.m EST, which seems far from off peak hrs. I'll dig a little in the config file and see if I find somewhere to change the time it runs. Thanks!

Posted: Mon May 28, 2007 2:42 am
by ScalixSupport
Hi!

I doubt you are using ommaint or have a cron setup for omscan.

About ommaint:
http://www.scalix.com/wiki/index.php?ti ... th_ommaint

Thanks,
Subir

Posted: Mon May 28, 2007 3:29 am
by jryden
ScalixSupport wrote:Hi!

I doubt you are using ommaint or have a cron setup for omscan.

About ommaint:
http://www.scalix.com/wiki/index.php?ti ... th_ommaint

Thanks,
Subir


Yes, I'm using ommaint.

Posted: Wed May 30, 2007 8:12 pm
by jeffs
Whether you use ommaint (I do) or not doesn't matter - what matters (as Shredder pointed out) is when omscan.server started its last scan time and adds 7 days from that time. So if your server started up for the very first time at 3 pm, then omscan.server will start up and set its next scan time for that time + 7 days. To change the time this will run:

- wait until the time that omscan.server is to start running its scan (say 9 pm Fridays)
- then log/ssh in and run the following to stop the service, clear the start time, then start it up again (which uses the time you started it as it's new default start time)

Code: Select all

omoff -d0 -w omscan
omscan -Z
omon omscan


hth - Jeff