{"id":9377,"date":"2026-11-01T10:41:58","date_gmt":"2026-11-01T08:41:58","guid":{"rendered":"https:\/\/support.withsecure.com\/support-articles\/slowness-and-system-performance-issues-when-using-withsecure-linux-security-64-or-linux-protection-when-the-real-time-scanning-is-enabled\/"},"modified":"2026-11-01T10:41:58","modified_gmt":"2026-11-01T08:41:58","slug":"slowness-and-system-performance-issues-when-using-withsecure-linux-security-64-or-linux-protection-when-the-real-time-scanning-is-enabled","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/de\/support-articles\/slowness-and-system-performance-issues-when-using-withsecure-linux-security-64-or-linux-protection-when-the-real-time-scanning-is-enabled\/","title":{"rendered":"Slowness and system performance issues when using WithSecure Linux Security 64 or Linux Protection when the real time scanning is enabled."},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>Slowness and system performance issues when using WithSecure Linux Security 64 or Linux Protection when the real time scanning is enabled. How can I check which file or directories are being scanned? Is there any setting to to limit the CPU usage?<\/p>\n<h3>Resolution:<\/h3>\n<p>It is typical for Linux Security 64 or Linux Protection to take up a higher CPU usage during the scanning\u00a0when other applications are consuming less system resources\u00a0so that it could be completed as soon as possible. This is an expected behavior.<\/p>\n<p>If there are other applications or services that require CPU resources, normally system resources will be shared among all running applications including Linux Security or Linux Protection.\u00a0<\/p>\n<p>If real time scanning is constantly running, it means that some applications are constantly processing files or are having frequent file and directory accesses. In such situation, generally we would recommend to have those frequent accessed files and directories to be excluded in the policy.<\/p>\n<p>If you are not sure or would like to check which files or directories that are causing the high CPU usage, there is a need to enable the trace logging for the real time scanning of WithSecure Linux Security 64 or Linux Protection in order to determine the actual files and directories that are being scanned frequently on your Linux server, which is causing the slowness or performance issue.<\/p>\n<p>Follow the steps below to enable the trace logging, reproduce the issue and disable the trace logging again.<\/p>\n<p>1. Enable the trace logging for on-access scanning<\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0echo &#39;&quot;SEND-REQ|RETURN-ACC|CACHE-REJ&quot;&#39; &gt;\/etc\/opt\/f-secure\/fsbg\/mgmt\/cosmos\/linux\/linux_security\/services\/fsaccd\/tracing\/include_regex \u00a0\u00a0\u00a0<\/em><\/p>\n<p><strong>\u00a0 \u00a0 Note: <\/strong>After enabling the trace logging, the output file (trace.log) is saved to the &quot;\/var\/opt\/f-secure\/baseguard\/fsaccd\/log&quot; directory and it is rotated automatically so that there are at most ~100MB of trace*.log files at any given time.<\/p>\n<p>2. Reproduce the issue and collect the trace logs from the directory above, together with the diagnostic file. Visit this article on how to create a diagnostic file.<\/p>\n<p><a href=\"https:\/\/support.withsecure.com\/en\/support-articles\/how-do-i-create-an-wsdiag-diagnostic-file-on-linux-systems\/\" target=\"_blank\">How do I create an WSDIAG diagnostic file on Linux systems? - WithSecure\u2122<\/a>\u00a0<\/p>\n<p>\u00a0 \u00a0<strong> For example:<\/strong><br \/><em>\u00a0 \u00a0 ========================================================================================<br \/>\u00a0 \u00a0\u00a02021-04-13 13:04:39.618053 FSACCD-MAIN-RETURN-ACCESS DEV=2064 INO=11273138 PATH=\/example folder 1\/user\/folder2\/folder3\/Firstname%2520lastname%2520GJ2013%2520User\/DCIM\/159_2706\/IMG_2883.JPG VERDICT=FSACCD_VERDICT_ALLOW DURATION=0.042613673999999997<br \/>\u00a0 \u00a0 2021-04-13 13:04:39.790352 FSACCD-MAIN-RETURN-ACCESS DEV=2064 INO=11273139 PATH=\/example folder 1\/user\/folder2\/folder3\/Firstname%2520lastname%%2520GJ2013%2520User\/DCIM\/159_2706\/IMG_2884.JPG VERDICT=FSACCD_VERDICT_ALLOW DURATION=0.21417376099999999<br \/>\u00a0 \u00a0 2021-04-13 13:04:40.246659 FSACCD-CACHE-REJUVENATE DEV=2064 INO=11273139 PATH=\/example folder 1\/user\/folder2\/folder3\/Firstname%2520lastname%2520GJ2013%2520User\/DCIM\/159_2706\/IMG_2884.JPG<br \/>\u00a0 \u00a0\u00a0========================================================================================<\/em><br \/>\u00a0 \u00a0\u00a0<br \/>3. Disable the trace logging for on-acces scanning<\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0echo &#39;&quot;X^&quot;&#39; &gt;\/etc\/opt\/f-secure\/fsbg\/mgmt\/cosmos\/linux\/linux_security\/services\/fsaccd\/tracing\/include_regex<\/em><\/p>\n<p>Based on the findings from the trace logs, you could consider to exclude those frequently scanned files or directories which could improve the situation.<\/p>\n<p>Currently, there is no setting or feature that could limit the CPU usage when Linux Security 64 or Linux Protection processes are running thus the exclusion setting could be considered to reduce the CPU consumption during the scanning. Other than that, you could also consider to exclude large files from scanning or disable the archive file scanning.<\/p>\n<p>You could also consider inclusions by deciding the files or directories to be scanned by the real time scanning instead of scanning all files and configure to scan only executables, which will help to improve the overall scanning performance on your Linux server.<\/p>\n<p>In case of\u00a0scanning only executable files, you could configure it on Policy Manager Console by going to &quot;Settings&quot; &gt; &quot;Linux&quot; &gt; &quot;Real-time Scanning&quot; &gt; &quot;Scan only executables&quot;.<\/p>\n<p>The scanning of executable files are determined based on the file permissions (execute) and if there is embedded executable code in non executable file, it will not be scanned.<\/p>\n<p>Another option is to include less folders to real-time scanning, and then schedule a full manual scanning for less busy times.<\/p>\n<p>Apart from that, you should also consider to increase the total amount of memory (e.g, 8GB) so that there will be enough memory to run our products and other applications on your Linux server.<\/p>\n<p>If the issue still persists, you could consider to update the product components to the latest version or reinstall the product, and check if there is any improvement.<\/p>\n<p>\u00a0<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Additional information:<\/strong><\/span><\/p>\n<p>After enabling real\u2011time scanning for the root path \/, the Linux endpoint started monitoring all filesystem events, including virtual system paths.<\/p>\n<p>On Linux, this causes extremely high kernel event rates on monitoring servers and can lead to processes entering uninterruptible sleep, resulting in very high load without visible traffic or CPU usage.<\/p>\n<p>This is expected behavior and not a defect.<\/p>\n<p>Best practice is to configure real\u2011time scanning only for relevant executable and data paths and to explicitly exclude virtual filesystems such as \/proc, \/sys, \/dev, and \/run.<\/p>\n<p>\u00a0<br \/>Use targeted paths only<\/p>\n<p>Examples:<\/p>\n<p>\/usr<\/p>\n<p>\/bin<\/p>\n<p>\/sbin<\/p>\n<p>\/lib<\/p>\n<p>\/lib64<\/p>\n<p>\/var\/lib<\/p>\n<p>\/var\/www<\/p>\n<p>\/home<\/p>\n<p>\u00a0<\/p>\n<p>Explicitly exclude virtual and volatile filesystems<\/p>\n<p>Always exclude:<\/p>\n<p>\/proc<\/p>\n<p>\/sys<\/p>\n<p>\/dev<\/p>\n<p>\/run<\/p>\n<p>\/tmp<\/p>\n<p>\/var\/run<\/p>\n<p>\/var\/cache<\/p>\n<p>\u00a0<\/p>\n<p>Monitoring servers (checkmk \/ nagios)<\/p>\n<p>Additionally exclude:<\/p>\n<p>\/var\/lib\/check_mk<\/p>\n<p>\/usr\/lib\/check_mk<\/p>\n<p>\u00a0<\/p>\n<p><strong>Why this does not reduce security<\/strong><\/p>\n<ul>\n<li>Malware rarely persists in \/proc, \/sys, or \/run<\/li>\n<li>Executables live in well\u2011defined directories<\/li>\n<li>On\u2011access scanning of real executables + user\u2011writable paths provides effective protection<\/li>\n<li>Full scans (scheduled or manual) can still include broader coverage if needed<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Slowness and system performance issues when using WithSecure Linux Security 64 or Linux Protection when the real time scanning is enabled. How can I check which file or directories are being scanned? Is there any setting to to limit the CPU usage<\/p>\n","protected":false},"template":"","support_article_product":[106],"class_list":["post-9377","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000014182","source_version":1,"source_system":"salesforce","source_date_updated":"2026-11-01 08:41:58","import_hash":"499b825fa8b816592438d90ab134a83c5fb05d9b","vanilla_article_id":"","vanilla_url":"","vanilla_kb_id":"","vanilla_category_id":"","machine_translated":false,"reactions_helpful_yes":"","reactions_helpful_no":""},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/support_article\/9377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/media?parent=9377"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/support_article_product?post=9377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}