Help with ignoring directory in users homedir

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
jumptofta
Junior Member
Posts: 1
Joined: 19 Mar 2017, 17:22

Help with ignoring directory in users homedir

Post by jumptofta »

I keep getting false positive for (cxswatch Scanning /home/user/public_html/wp-content/cache/supercache/www.userdomain.com).

I have already put (hdir:/public_html/wp-content/cache/supercache) in cxs.ignore and restarted the service.

I still keep seeing many email regarding the same false positive any help would be great.
DigitalEssence
Junior Member
Posts: 22
Joined: 03 Nov 2016, 12:10

Re: Help with ignoring directory in users homedir

Post by DigitalEssence »

Hi,

can you paste your cxs.ignore file and also a copy of the logs where it is showing these directories being scanned.

Not sure I can be much help but it may help others to investigate the issue for you.
DigitalEssence
Junior Member
Posts: 22
Joined: 03 Nov 2016, 12:10

Re: Help with ignoring directory in users homedir

Post by DigitalEssence »

Just to add.

I added the following to my cxs.ignore and restarted the service:

Code: Select all

hdir:/public_html/wp-content/cache
hdir:/public_html/wp-content/wflogs
hfile:/public_html/error_log
And then get this in my logs:

Code: Select all

Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/104' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/104'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/63c' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/63c'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/d55' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/d55'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/674' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/674'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/78e' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/78e'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/3fd' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/3fd'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/8b3' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/8b3'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/options/053' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/options/053'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/8e7' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/8e7'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/cc6' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/cc6'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/aac' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/aac'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/b6a' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/b6a'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/options/6be' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/options/6be'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/975' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/975'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/options/fe1' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/options/fe1'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/db0' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/db0'
Apr  5 13:07:04 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/b05' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:04 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/b05'
Apr  5 13:07:10 squirrel cxswatch[6921]: WARNING: '/home3/enamay/public_html/wp-content/cache/db/all/8c5' scanned 6 times in the last 30 seconds, you might want to ignore this resource
Apr  5 13:07:10 squirrel cxswatch[6921]: Ignoring resource for the next 300 seconds: '/home3/enamay/public_html/wp-content/cache/db/all/8c5'
So I am seeing the same issue as you are.
DigitalEssence
Junior Member
Posts: 22
Joined: 03 Nov 2016, 12:10

Re: Help with ignoring directory in users homedir

Post by DigitalEssence »

Seems we have to add

Code: Select all

--ignore /etc/cxs/cxs.ignore 
to the cxs command in /etc/cxs/cxswatch.sh and then restart cxswatch.

I've just done this and restarted. looks as though the --ignore is missing from the command.
Post Reply