omscan.server

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

omscan.server

Postby jryden » Fri May 25, 2007 5:08 pm

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?

Shredder

Postby Shredder » Fri May 25, 2007 5:41 pm

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

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Fri May 25, 2007 5:45 pm

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!

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon May 28, 2007 2:42 am

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

jryden
Posts: 73
Joined: Fri May 26, 2006 8:32 pm
Location: Los Angeles, USA

Postby jryden » Mon May 28, 2007 3:29 am

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.

jeffs
Posts: 30
Joined: Thu Mar 08, 2007 5:37 pm
Location: Cincinnati, OH

Postby jeffs » Wed May 30, 2007 8:12 pm

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest