Alteryx Server Knowledge Base

Definitive answers from Server experts.

'Tis the season to be spooky! Read our new blog, How Spooky is Your City? Mapping and Predicting Scary Stuff. In it, @SusanCS provides a fun glimpse into using data to figure out the creepy quotient of where you live! And don't forget to check out our Digital Costume Thread to get yourself in the mood for a candy binge!

Getting an error when running chained apps from the Server. Custom settings in alteryx.config file are removed upon upgrade.
View full article
One of the three database options when setting up the Alteryx Server is to connect into a User-Managed MongoDB instance. Why would you want to set up your own implementation of MongoDB? The main benefits are to take advantage of the features of MongoDB that are not included with our embedded instance.
View full article
One of the three database options when setting up the Alteryx Server is to connect into a User-Managed
View full article
Schedules are being disabled when Users are in Active Directory Groups but not when they are added to Gallery individually.
View full article
After having used MongoDB logging for troubleshooting purposes, you can now safely turn it off.
View full article
Setting up the Alteryx Server Usage report and when running the workflow the error "Collection usageReports not found in database AlteryxGallery" occurs
View full article
After setting up SAML in Azure, and the client attempts to login to gallery, receive Access Denied - Key issue within AAS.logs
View full article
This KB will help understand why "Verify IDP" doesn't work when setting up SAML authentication
View full article
This issue can have several root causes, but is almost always a some sort of communications issue with the domain.
View full article
Configure the Gallery SMTP server using a Gmail account
View full article
How to guide to configure the setup and configuration of SAML through Azure AD on Alteryx Server.
View full article
If a Server is freezing with jobs stuck in an initializing state, there may be resource contention occurring due to the configuration of System Settings. This article provides best practice formulas to ensure the optimal settings for resource utilization.
View full article
How To : Safely change the Global Workspace of an Alteryx Server   The Global Workspace is a path used as the base for configuration options that determine where temporary files, log files, and database files are stored. Sub-folders for the specific items can be created to use the global workspace or can be customized later to write to a different location. This path should point to a location that is safe to store large amounts of files.   Server admins wanting to change it to to a different location can use this resource to safely perform this change.   Prerequisites   Product - Alteryx Server Infrastructure All permissions on the future Global Workspace   Procedure   Backup your Alteryx Server (procedure outlined here) Alongside the backup of done in the previous step, keep a copy of the below elements: RuntimeSettings.xml (this file can be found in %ProgramData%/Alteryx/) Controller Token (can be copied into a text file from the Alteryx System Settings > General) Stop the Alteryx Service Open the Alteryx System Settings ans navigate to Environment > Workspace Change the Global Workspace to the desired directory : Navigate through each screen of the Alteryx System Settings to confirm that: The paths of the sub-directories include the new Global Workspace's root path The other settings remain unchanged Do not hit hit "Finish" on the last screen of the Alteryx System Settings:   But instead copy the below folders from the previous Global Workspace to the new Global workspace: Engine Gallery Service After the copy, you can hit "Finish" to apply the changes and start the Alteryx Service Log into the Gallery Admin and validate that every elements are available (users, workflows, schedules...) If the validation is confirmed, remove the below folders from the previous Global Workspace: Engine Gallery Service   Additional Resources   Help Pages - Configure Server Help Pages - Environment   As always, don't hesitate to contact us over at Customer Support if you run into any trouble.
View full article
The Visualytics Insight tool was first introduced with Alteryx 2018.3. Insights allow users to create visual, interactive dashboards to gain deeper insights into your data and can be shared through an Alteryx Private Gallery. In order to have Insights load successfully on your Gallery, there are a few changes you need to make to your Server System Settings.
View full article
Configuring SAML on Alteryx Server for Active Directory Federation Services (ADFS)   Alteryx Server has the ability to use most identity providers that support the SAML 2.0 standard, and from my testing, ADFS is no exception! The following information will assist with configuring Alteryx Server to be functional with ADFS.   Please note the following information is based on third-party software and processes may be slightly different on older or newer versions of the software. The following was created against ADFS v4.0 running on Windows Server 2016 and Alteryx Server 2019.2.   Prerequisites   AD FS Server Account with access to perform administration tasks All users that will login must have an email address attribute Alteryx Server >= 2018.2 Account with access to perform administration tasks SSL/TLS Certificate Installed on Alteryx Server (Self-Signed certificate is not recommended)   Procedure   Verify that your Alteryx Server's Gallery function has been configured with SSL/TLS enabled on each Gallery node in the environment and that a proper SSL certificate is installed. Instructions are provided in the link above. This and following steps will require an ADFS administrator. Open the AD FD Management utility (Start > Windows Administrative Tools > AD FS Management) Click Relying Party Trusts from the console, then click Add Relying Party Trust... Click Enter data about the relying party manually and click Next. Type a Display name for the trust. I placed "Alteryx Server" here, but you can use a name that best identifies the connection for you, such as a server name or other easily identifiable name. Then click Next. Click Next on the Configure Certificate page. Check the box for Enable support for the SAML 2.0 WebSSO protocol. Type the URL of the Alteryx Server's SAML endpoint in the Relying party SAML 2.0 SSO service URL box, which typically will be the base URL of Alteryx Gallery with the addition of "/aas/Saml2". Once you have added the proper URL, click Next. Note: this endpoint may be case sensitive depending on settings in your environment. I would recommend entering it with the capitalization as shown in the screenshot and example below. Example: Gallery URL: https://trn-srv-07.cs.alteryx.com/gallery SAML Endpoint: https://trn-srv-07.cs.alteryx.com/aas/Saml2 In the Relying party trust identifier, type the same SAML endpoint as the previous step and click Add to add the URL to the list below. Click Next. Select Permit everyone from the Access Control Policy and click Next. Note: You may wish to configure this option differently depending on the environment and whom you wish to be able to authenticate with Alteryx Gallery, or you may wish to setup Multi-Factor Authentication (MFA). Specific access permissions and these types of setup are outside the scope of this article. Click Next on the Ready to Add Trust page. Check the box next to Configure claims issuance policy for this application and click Close. Within the new Claim Issuance Policy window, click Add Rule...  Verify the Claim rule template is set to Send LDAP Attributes as Claims and click Next. Type a desired name for the rule within the Claim rule name box. From the Attribute store drop-down, choose Active Directory. Using the following table, set the appropriate options within the Mapping of LDAP attributes to outgoing claim types box. Click Finish. Note: The following outgoing values are case sensitive and will need to be typed except for "SAM-Account-Name". LDAP Attribute Outgoing Claim Type E-Mail-Addresses email Given-Name firstName Surname lastName SAM-Account-Name Name ID On the Claim Issuance Policy window, click Apply to apply the settings, then click OK. You will now need an administrator with access to the Alteryx Server machine(s) running the Gallery for your environment. Connect to the machine remotely via Remote Desktop. Open the Alteryx System Settings application, then click Next until you are at the Gallery > Authentication page. From the Authentication Type box, click the radio button next to SAML authentication. In the Select an option for obtaining metadata required by the IDP, click the radio button next to IDP Metadata URL. !Warning!: It is not recommended to change the authentication type once you have established the persistence layer (e.g. MongoDB) and started using a particular authentication method in your environment. Differences in user account structure will be likely to result in errors in the Gallery if the authentication method is changed in an established environment. If you are changing authentication methods, it is recommended to create a new persistence database! From the SAML IDP Configuration box, set the ACS Base URL to the root of the Gallery URL plus "/aas". Example: Gallery URL: https://trn-srv-07.cs.alteryx.com/gallery ACS Base URL: https://trn-srv-07.cs.alteryx.com/aas Set the IDP URL (also known as Entity ID) to the Federation Service identifier value from ADFS. Example: https://sts1.cs.alteryx.com/adfs/services/trust Note: If you are not positive on the value for this, ask your ADFS administrator or download the metadata XML with the link you are using in the next step and look for the "entityID". Set the IDP Metadata URL to the location of the Federation Metadata xml file provided by the ADFS server. Example: https://sts1.cs.alteryx.com/FederationMetadata/2007-06/FederationMetadata.xml Note: If you are not positive on the value for this, ask your ADFS administrator. Click Verify IDP. If all goes well, you should receive a message similar to the following: Note: See the Common Issues section below for tips on troubleshooting! Click Next through the remainder of the System Settings dialogs, then click Finish. (Optional) Return to Step 17 if you have additional Gallery node(s) to configure. Once all Gallery node(s) are configured, attempt to access your private Alteryx Gallery and log in with your fresh new SAML configuration!   Common Issues   AlteryxAuthorizationService.exe has stopped working or there is a failure to set the Default Gallery Administrator -Turn off IE Enhanced Security Configuration on the Alteryx Server if you have crash errors while verifying the IDP information. This feature can be turned back on once you have the configuration in a functional state. https://www.limestonenetworks.com/support/knowledge-center/17/70/how_do_i_disable_internet_explorer_enhanced_security.html -Verify that the values in the SAML IDP Configuration are correct for your ADFS server. -Verify that the ADFS server was configured with the correct claim attributes. -Check the AlteryxAuthorizatonService.exe logging directory (%PROGRAMDATA%\Alteryx\Logs) for any clues. -Open Event Viewer within Windows and look for errors that may be of use in the Application log. -If still stuck, reach out to our Support team. I'd suggest providing the following:     1. Values set in the Alteryx System Settings application for SAML     2. AAS log files (found in %PROGRAMDATA%\Alteryx\Logs\)     3. Configuration screenshots for ADFS    Additional Resources    
View full article
Alteryx Server System Settings Deep Dive - Engine     Introduction   This is the first in a series of articles to explore the Alteryx Server System Settings in depth to gain a deeper knowledge of what these settings are used for, and to provide a bit more context to help you determine the appropriate settings for your environment.  Every organization's deployment, use cases, and business requirements are different and thus there is no single configuration to fit all.  Having an understanding of the implications of each setting is vital in setting up your Alteryx Server for success.   We’ll explore the system settings for Alteryx Server as of 2019.2, through a series of articles for each component, starting with the Engine. The Alteryx Engine consumes Alteryx workflows and provides high-speed data processing and analytics functionality. This process can be entirely self-contained in Alteryx Designer, scaled across an organization by the Alteryx Service, or deployed in the cloud by the Alteryx Gallery.     Engine Settings   The Alteryx Server System Settings configuration wizard allows end users to modify the Engine configuration settings:   Engine Configuration   Any changes to the configuration settings in the System Settings wizard are applied to the RuntimeSettings.xml file, found at: %ProgramData%\Alteryx\RuntimeSettings.xml   Note, this file should never be modified through an editor unless specifically requested from Alteryx Customer Support.    A few of these settings are self-explanatory and sufficiently described in the Help.  However, many of these can often be confusing, and some have performance implications that aren’t well understood. The subsequent sections will dive into these settings in more detail.     Temporary Directory   “The Engine Temporary Directory is the place where temporary files used in processed workflows and apps will be placed. This setting should point to a location that is safe to write large amounts of files.”    The Engine Temporary directory is a parent directory in which each workflow executed creates a sub directory for storing data needed during the processing of the workflow.  Below is not an exhaustive list, but includes the most common types of data stored in the Engine temporary directory: Browse Tool Support - Every Browse Tool in the workflow creates a separate Alteryx Database file (.yxdb) that stores the contents of the data you see in the Browse’s Results and Configuration windows. The Browse Tool allows you to view all the data as opposed to a sample, and therefore the created .yxdb files could be quite large if the data sets being processed are large.  Therefore, the number of Browse Tools should not be prolific. NOTE: The temporary .yxdb files are only created when an Alteryx Workflow is run in Designer.  When workflows are executed through the Gallery or a schedule, browse tools are disabled. Browse Everywhere Support – The Browse Everywhere features allows you to click on the output anchor of a given tool and see a sample of the data at that point in the workflow.  All the data viewable in the various output anchors across a workflow is stored in one Alteryx Browse Everywhere file (.yxbe).  The size of this file is determined by how many tools are in the workflow multiplied by the “Memory Limit Per Anchor” size which will be discussed later in this article. NOTE: The temporary .yxbe file is only created when an Alteryx Workflow is run in Designer.  When worfklows are executed through the Gallery or a schedule, Browse Everywhere is disabled.  Tool Specific Support – Some tools create temporary files as part of their processing, for example the Download and Spatial Match tools. Paging / Swap Space – When the Engine's memory processing requirements exceed that of the “Default sort/join memory usage” setting (covered later in the article), temporary files (.tmp) are created to retain data that can be quickly retrieved later. The number and size of these temp files is determined by the size of the data sets being processed, and the types of tools in the workflow.  The Engine 101 Basics blog does a great job of describing how certain “blocking” tools need access to all rows of a dataset to process it.  The presence of these blocking tools will drive up the likelihood that the Engine will need to use temporary files to complete its processing.   Example Engine Temp directory for a running workflow where the files described above are evident. These files are all deleted when the workflow processing is complete.  For a Designer user, this means when the Workflow is closed or upon initiating another execution of the Alteryx Workflow in Designer.  For a Server user, this means upon completion of the workflow execution.  Note, the Engine Temporary Directory is used when running workflows from Alteryx Designer.   When running on an Alteryx Server, the Worker’s “Workspace” directory is used to store these temporary files.   Recommendations It is highly recommended to set the Temporary Directory to a different drive than your system boot drive (C:\). If the C:\ drive on Windows fills up, the system can become unresponsive or even unstable.  If an additional drive (D:\) fills up, no harm is done to Windows and the system will remain functional. The Temporary Directory is used for frequent I/O operations to read and write data. Configuring this directory on Flash/SSD storage is a great way to improve performance by minimizing the wait times for those read & write operations to complete.  See the Measuring and Scaling a Private Server blog post for more information.    When running in Designer, minimize the use of Browse Tools when working with large data sets to reduce workflow processing times and keep the Temp directory from filling up. Understand that temporary directories can grow quite large during processing if working with large data sets and doing lots of sorts, joins, or other blocking operations. As an example, we saw a temporary directory grow over 150GB in size processing a 12GB data set.  Your mileage will certainly vary based on data set sizes and tools used.     Memory Limit Per Anchor “Define the maximum amount of memory to use to consume data for each output anchor for tools in a workflow. The default value typically does not need to be changed.”    This setting applies when running in Designer only as mentioned in the Browse Everywhere section.  The Browse Everywhere feature allows a user to see a sample of the data (up to Memory Limit Per Anchor in size) at the output anchor of every tool.  The default value is 1024 KB (1MB).     This workflow would produce a .yxbe file of approximately 12MB. This is a great way to analyze your data without using the Browse tools which will write the entire dataset contents to disk.     A sample of the data can be seen in the output anchor of each tool. In the event of the Temporary Directory not having enough space to create the .yxbe file, the following will be logged: Warning - Alteryx: Disk space on temp drive running low.  No browse everywhere data created.   Recommendations Keeping the default Memory Limit per Anchor setting makes sense for most scenarios. In situations where you are building a workflow with a very large data set, and the 1 MB sample just isn't enough to give you the information you need, but the full Browse tool is too heavy, it might make sense to increase this value. However, make this change on the local Designer (laptop/desktop) and not the Server which is used by many end users.  This change can be made in Designer under Options -> User Settings -> Edit User Settings: Designer users can override the Memory Limit per Anchor in the Advanced User Settings.     Default sort/join memory usage "This is the minimum amount of memory that the Engine will consume while performing operations such as Sorts and Joins within a workflow or app. Generally, this value should not be changed.”    The Engine "Default sort/join memory usage" setting and the Worker “ Maximum sort/join memory usage ” setting have generated a lot of questions that I hope this section clears up. There are three key points to clarify:   If making changes, the Engine "Default sort/join memory usage" is the setting that should always be specified and what we'll focus on in this article. For Designer users, this value can be specified in the Options --> User Settings --> Edit User Settings wizard: The Default Dedicated Sort/Join Memory Usage setting This setting is both a minimum and a maximum.  It's a minimum in that this amount of memory will be "committed" to each Engine process (running workflow)  regardless of how much memory the Engine actually consumes processing the workflow.  Therefore this amount of memory is reserved for each Engine process and not usable by other applications.  It's a maximum in that the Engine process will not consume more memory than this value. If the Engine needs more resources than the setting specified, it will start utilizing the temp (swap) space as described earlier.  If the workflow launches additional processes, such as from the Run Command tool, or R by the use of Predictive Tools, those processes are NOT controlled by this setting. Other processes are not controlled by the Engine Default Sort/Join Memory Usage setting The setting is not specific to Sorts and Joins.   As described in the Engine 101 Basics blog, “blocking” tools require access to all data for execution.  This drives up memory consumption.  Sort, Join, and Summarize operations are the most commonly used blocking tools but there are many others, easily identifiable with a red border in the Periodic Table of Alteryx Tools .  Any workflow executing these blocking tools with high row count data sets (millions of rows) will consume lots of memory.   If the Sort/Join memory setting requested exceeds the amount of physical RAM available, Alteryx will revert to a lower value that is safe to commit.  In that case a message like the following will be logged in the Alteryx Engine logs: 00:00:0.003 - Alteryx: Allocating requested dedicated sort/join memory would be more than available physical memory.  Reverting to 2912MB of memory.                  Recommendations Only make changes to the Engine "Default sort/join memory usage" setting if necessary.  The default value works well for most scenarios, and we routinely see problems occur when this value is changed without understanding when and how to configure it. The below recommendations are just starting points. It is always recommended to configure and then test with representative workflows and usage patterns.  Then reconfigure and repeat the process until the optimum values are identified. To properly calculate a reasonable Sort/Join Memory value, we must know how many workflows will be configured to run simultaneously. This number should be determined by a server sizing exercise, and for existing customers, also take into account data from the Server Usage Report, such as queue times and job execution times.  For Designer only users the number of simultaneous workflows will be 1. For Alteryx Server machines that act as both a Worker and a Controller with the Embedded MongoDB, a good starting point is: For standalone Workers, more memory can be allocated to running workflows. In that case a good starting point would be: The 4GB reservation ensures the OS and other system services are not starved of memory.  If predictive tools will be frequently used then lower your calculated values from above as additional memory should be reserved for the R processes. The expectation is that the machine will only be used for Alteryx processing and not shared with other applications. If other applications will also be running, then their memory requirements need to be factored into the equations above. Again, the above recommendations are just starting points. It is always recommended to configure and then test with representative workflows and usage patterns.  Then reconfigure and repeat the process until the optimum values are identified.     Default number of processing threads   “Define the number of processing threads tools or operations can use. The default value is the number of available processor cores plus one. Generally, this value should not be changed.”   This setting is determining the number of processing threads that multi-threaded tools can use.  The multi-threaded tools are identifiable in the  Periodic Table of Alteryx Tools .  (Sort and some Spatial tools highlight the list).  Configuring a higher value here may facilitate more parallelism which may result in faster completion times in the execution of these multi-threaded tools, assuming the machine has the capacity to use the specified number of threads.  Specifying a higher than needed thread pool size can lead to an over-committed system in which the CPU is constantly context switching between threads which may produce longer processing times.    In Windows Task Manager, the "Logical processors" metric shows us the maximum number of concurrent processing threads on that server:       Recommendations To reduce workflow run times using multi-threaded tools, set the Default number of processing threads equal to the number of Logical processors. If the server will be executing multiple workflows simultaneously, consider using a lower value to ensure that no workflows are starved of CPU.     Run engine at a lower priority   “Select if you are running other memory intensive applications simultaneously. It is also recommended that this setting be checked for a machine configured to run the Gallery.” The Windows Scheduling Priorities doc is a great resource to understand why this setting is important.  To summarize, Windows assigns time slices of CPU time to processes based on their priority level.  Applications with a higher priority will be given more CPU time than applications with a lower priority.  This ensures higher priority applications get more processor time when the system is heavily utilized.   Most applications default to “Normal” priority.  Some critical Windows processes have a “High” priority, such as the logon and desktop window manager processes.  Alteryx installs all Server components (AlteryxService, Gallery, Designer, etc…) with the “Normal” priority.  By default, this includes the Engine as well.  This could lead to a scenario where resource intensive workflows are running, and the Alteryx Service layer, the Gallery, or even Designer are struggling to get CPU time since they all share the same priority level.  This also could inhibit mouse & keyboard inputs, and background disk flushing.   Running the Engine at a lower priority will allow these components to remain responsive even during periods of heavy workload processing.   Recommendations This setting should be enabled in all Server deployments (Controller, Worker, Gallery) to ensure Windows components, and the Alteryx Server components always get priority over intensive Engine processes.    Conclusion   The Alteryx Engine has many settings that can impact workflow performance and resource consumption.  Understanding how each of these settings are used by the Engine, and how some settings even impact others, will allow administrators to configure Alteryx Server optimally for their environment and usage.      References https://help.alteryx.com/server/current/admin/Configuration/SystemSettings/Engine.htm https://community.alteryx.com/t5/Alteryx-Knowledge-Base/The-Alteryx-Engine-101-The-Basics/ta-p/405649 https://community.alteryx.com/t5/Engine-Works-Blog/The-Periodic-Table-of-Alteryx-tools/ba-p/64120 https://community.alteryx.com/t5/Engine-Works-Blog/Measuring-and-Scaling-a-Private-Server/ba-p/8786  
View full article
Introduction   This is the second article in a series to explore the Alteryx Server System Settings in depth to gain a deeper knowledge of what these settings are used for, and to provide a bit more context to help you determine the appropriate settings for your environment. The first article in this series is: Alteryx Server System Settings Deep Dive - Engine. In this article we will focus on the Worker. The Alteryx Service Worker is responsible for executing analytic workflows, servicing Insights, and rendering map tiles. There must be at least one machine enabled as a worker to execute workflows through the Service.   We’ll explore the Worker settings in sections matching how they are displayed in the System Settings wizard.   Worker - General       Workspace   The Workspace is where the worker stores temporary or cache files, and unpackaged workflows for use when executing workflows. By default it is the same as the controller folder. This path should point to a location that is safe to store large amounts of files.   The same recommendations from the Engine “Temporary Directory” setting apply here:    Recommendations It is highly recommended to set the Workspace to a different drive than your system boot drive (C:\). If the C:\ drive on Windows fills up, the system can become unresponsive or even unstable.  If an additional drive (D:\) fills up, no harm is done to Windows and the system will remain functional. The Workspace is used for frequent I/O operations to read and write data. Configuring this directory on Flash/SSD storage is a great way to improve performance by minimizing the wait times for those read & write operations to complete.  See the Measuring and Scaling a Private Server blog post for more information.        Allow machine to run scheduled Alteryx workflows   Enabling this machine to run scheduled Alteryx workflows allows it to take requests to run workflows from the Scheduler or from the Gallery. In multi-node deployments, you may want to uncheck this option if you have another machine that will be running workflows, and want this machine to process map requests only.   Note, this setting needs to be enabled for the Worker to process either scheduled jobs, or manual jobs from users submitted through the Gallery.   Recommendations Ensure you have at least 1 Worker configured to run scheduled Alteryx workflows. In most cases all Workers should have this setting enabled. The exception would be if the Worker is to be used for Insights or Map Rendering only, which are covered below.     Workflows allowed to run simultaneously   This is the maximum number of scheduled workflows that are allowed to run simultaneously on this machine. You may want to increase this number to improve the responsiveness of scheduled jobs, but the overall processing time may be increased.   This is a very important setting for the success of an Alteryx Server deployment. The default value is 1. A higher value allows more workflows to run concurrently. However, it could also mean workflows take longer to process due to shared system resources. The blog post Measuring and Scaling a Private Server does a great job at explaining this in detail.   The general recommendation is to set the number of Workflows allowed to run simultaneously to ½ the number of physical cores. Many cloud providers list the number of “vcpus” or virtual cpus associated with instances, which can be misleading. The correct way to identify the true number of physical cores associated with a Windows Server (whether physical or virtual machine) is the following Powershell command:   Get-WmiObject -Class Win32_Processor | Select-Object -Property Name, Number*   Example machine with 4 physical cores and 8 virtual/logical cores   There is no one size fits all recommendation here as the best results will depend on the data sizes, types of tools in the workflow, and underlying hardware.  Below are some general recommendations.    Recommendations A good starting point is ½ the number of physical cores and this should be used in most situations. If jobs are queueing, but overall system utilization (CPU & Memory) is looking good, consider increasing the setting by 1 and observe the effects. If workflow runtimes are impacted or system utilization becomes too high revert to the original setting. If workflows are all In-Database then the Worker can likely handle a higher setting. In rare situations, it may be beneficial to leave the default of 1. An example might be when processing extremely large data sets with Spatial tools. In that scenario allowing the system to dedicate all resources to processing a single workflow may produce faster execution times. This setting should be in balance with the Engine Sort/Join Memory setting documented in the Engine Deep Dive Settings article. Review this configuration with your Alteryx representative to determine an appropriate value.   Maximum sort/join memory usage (MB)   This restricts the amount of memory Alteryx uses when encountering Sort or Join tools in a workflow. A general rule for an appropriate setting is to be ½ the amount of system memory available, divided by the number of simultaneous workflows allowed to run.   Note, this setting was removed in 2019.3 as seen from the screenshot above.     Cancel jobs running longer than (seconds)   If you do not want jobs to run for an extended period of time, use this setting to force jobs to cancel after a certain amount of time has passed. This helps free up system resources that might otherwise be taken up by unintentionally long running jobs. This setting only applies to scheduled jobs and does not affect manual runs from the Gallery.   This setting is disabled by default and should only be enabled to prevent long running scheduled Gallery jobs. Note, the checkbox must be selected and a valued provided to enable this setting. If the timeout is reached an error will be displayed:         Quality of Service (Job Priority)   In an environment where multiple workers are deployed, selecting a priority level can determine which jobs are run by each worker. For normal operation with one machine configured as a worker, set this value to 0.   The Server doc describes the use of this setting well under the “Job Priority” section:   When a job request is handled by a worker, it compares the priority level of the job to the Job Priority value for the worker. Jobs that have a value greater than or equal to the Job Priority for the worker will be handled by that worker. For example, if a worker has a Job Priority of 0 and is available, the worker will handle any request. However, a worker with a Job Priority of 3 will only handle jobs that have a value of 3 or higher. This allows resources to be reserved for higher priority requests.   Recommendations In a single Worker environment, leave the default value of 0. In an environment with a separate Controller, consider enabling the Controller also as a Worker and setting this value to 6. This will allow the Controller machine to process workflow validation requests only. Workflow validations occur when saving a workflow from Designer to the Server. Having the Controller process these jobs allows the Workers to remain focused on processing actual jobs, and ensures the workflow validations complete quickly since they aren’t queued up waiting for a busy Worker to finish processing a job. For more details and recommendations, see the Job Prioritization and Worker Node Assignment article.   Job assignment   A specific worker can be assigned to run a job. First, add a job tag for the worker, and then select that job tag when creating a schedule or running a workflow.   Run unassigned jobs : Select this option to use the worker to run jobs that have not been assigned a job tag. Job tags : Add words that can be used to assign a specific worker to run a job. Separate multiple job tags with a comma. The same job tag can be added to multiple workers.   Recommendations At least one worker should have the "Run unassigned jobs" option checked. Otherwise any jobs that are submitted without a job tag will sit in the job queue indefinitely. If Job tags are used in a multi-Worker environment, consider placing each job tag on at least 2 Workers to eliminate a single point of failure.  For additional details on these settings and Job tags recommendations, see the Job Prioritization and Worker Node Assignment article.       Worker – Run As …       Run as a different user   If a worker machine needs to run workflows that access files or data from a location that requires specific credentials to access it, the machine can be configured to run the workflows as a specified user or account. To have the machine run as a different user, enter the Domain, Username, and Password.   If no specific credentials are provided, then by default workflows will be executed by the Alteryx Engine process using the SYSTEM user. Providing credentials allows the running workflow to access file locations that might be protected by specific permissions. It’s also possible to access databases that use trusted Windows Authentication. Any workflow credentials entered when executing from the Gallery, or default workflow credentials assigned to a workflow or subscription will override what is specified in this setting. The article How Workflow Credentials Work on a Private Gallery explains this setup in great detail.      Worker - Mapping       Allow machine to render tiles for mapping   Enabling this machine to act as a Map Worker will allow it to render map tiles for Map Questions and the Map Input Tool. In multi-node deployments, you may want to uncheck this option if you have another machine that will process map tile requests, and if this one will be dedicated to running scheduled workflows.   When Map Questions or Map Input Tools are processed in the Gallery, the map tiles are built via a Map Render Worker. At least one Worker must be configured as a Map Render Worker for map tiles to be built. The map tiles are cached for faster response times on the Controller machine according to the Controller’s Mapping settings.     Max number of render workers    You can specify the number of processes to be used for map tile rendering. The more processes allowed, the more simultaneous tiles can be rendered, but it will take up more system resources.   For a configured Map Render Worker, you can control the number of processes that can render Map tiles. The default setting is 2, and the maximum is 10. This configures the number of Map Render Worker processes as shown below:     These processes are idle taking up very little resources until map tiles are requested. When map tiles are requested, they can consume a small amount of CPU and memory and then quickly release those resources when the job is complete.   Recommendations Configure at least 1 Worker to act as a Map Render Worker in the event map tiles are requested. Keep the default value of 2 Render Worker processes unless heavy map tile usage is needed. If extensive Map Questions and Map Input Tools will be used, consider configuring a separate Worker just as a Map Render Worker with a large number of Render Worker processes, but not to process Scheduled jobs or Insights. This will allow the machine to dedicate all resources to rendering map tiles and not conflict with running workflows. If map tiles that have been previously loaded are taking a long time to load, consider increasing the Memory Cache and Disk Cache sizes on the Controller Mapping settings.     Worker - Insights       Enable Insight Worker   The machine can be configured to act as an Insight Worker and render insights, which are interactive dashboards created in Alteryx Designer and published in a Gallery.   In order to execute and display Insights, at least one Worker must be configured as an Insight Worker. Unlike Map Rendering where the Worker processes the Map Tiles and the Controller caches them, with Insights the Worker performs both duties. The Worker both loads the Insights and caches them for fast response times on future requests to the same Insight. In the case of a multi-Worker deployment, if an Insight is cached, all future requests for the Insight will be processed by the Worker which has cached that Insight.   Recommendations In a multi-Worker environment, configuring one Worker as an Insight Worker is probably sufficient. If heavy Insight usage is expected, multiple Insight Workers are recommended.   Insights allowed to run simultaneously   The maximum number of insights that can run simultaneously on the machine. The more insights that can be run simultaneously, the more system resources used.   Insights are built and cached via python processes. This setting controls the number of python processes which can run simultaneously. The minimum is 2 and the maximum is 10. Example processes are below:   Note, these python processes are only launched if an Insight is requested. Each Insight process may consume roughly 64 MB of memory.   Recommendations In most situations the default value of 2 should be used. If Insights are going to be used frequently, the total number of Insights allowed to run simultaneously across all Insight Workers should be equal to the number of expected concurrent Insight requests from Gallery users.   Max Cache Size (# of Cache Directories)   The maximum number of insights cached on a worker machine. Each insight consists of a description and data file, so each insight cache is a directory that contains those files.   The default value is 20. This means that up to 20 Insights can be cached on this Worker and then quickly loaded for future requests. The maximum value allowed is 100. If you need to cache more than 100 Insights then multiple Insight Workers are needed.   Recommendations The sum of the Max Cache Size across all configured Insight Workers should be greater than the number of Insights in the Gallery. This ensures that all Insights can be cached for fast response times.   Max Port, Min Port   The range of port numbers designated for use when rendering insights.   Each of the python processes needs a port for passing the Insight to the Gallery. This controls the range of ports to allow. The default range is 100.  However, only up to the number of configured Insights allowed to run simultaneously will ever be used. So for example in a default configuration with 2 Insights allowed to run simultaneously, only ports 8700 and 8701 would be used.     Conclusion   An Alteryx Server Worker has many settings that can impact behavior, user experience, and resource consumption. Understanding how each of these settings are used by the Server, and how some settings even impact others, will allow administrators to configure Alteryx Server optimally for their environment and usage.  It’s important to note that any changes to the System Settings will perform an Alteryx Server restart on the respective machine. So, plan any changes carefully.     References Help: Worker System Settings Job Prioritization and Worker Node Assignment Measuring and Scaling a Private Server How Worfklow Credentials Work on a Private Gallery Alteryx Server System Settings Deep Dive - Engine
View full article
Issue    When publishing a workflow to Gallery with user credentials and you run into the following: Entering credentials has been disabled   When configuring a new Gallery Data Connection the below error comes up when attempting to test or save the connection:   Credential usage is disabled as a result of encryption configuration. Please contact your server administrator.     Environment   Alteryx Designer Alteryx Server   Diagnosis    You can verify this issue in the AlteryxService logs after a service restart. During the startup you will see a message like the following: ERROR,8912,AlteryxService,,,,,,,,"AlteryxService_InitLocalEncryptedStorage_Error: Error importing keys to Microsoft\Crypto\RSA\MachineKeys\ directory in ProgramData: Access is denied. (5)"   Cause   The Alteryx Service account has insufficient permissions to the server's machine key directory (%ProgramData%\Microsoft\Crypto\RSA\MachineKeys) or specifically the Alteryx Machine Key which is used to encrypt/decrypt user credentials and Gallery data connections.    Solution   Check your Service Log On As Account. The user set as the Log On As user (the default is Local System account) will need to have specific permissions.   Run services.msc (CTRL+R, enter services.msc, and click OK) Locate the Alteryx Service and check the Log On As account Per the server help documentation, ensure the Service Account has Full Control over  %ProgramData%\Microsoft\Crypto\RSA\MachineKeys** **If giving permissions to the full directory is not possible due to security reasons you can give it to just the Alteryx Machine key which starts with "3312". Also allowing Full Control over this machine key may fix the issue of the directory access does not. After granting permissions to the service account, restart the Alteryx Service  
View full article
How to check what's using the port and steps for changing some services' default port!
View full article
How To: Modify Gallery Session Timeout   This article shows how to modify the session timeout for the Gallery.  A session timeout specifies the number of minutes that a Gallery session can remain idle (inactive) before the session will be terminated.  The default session timeout value is 60 minutes.  When the session timeout occurs the user will be returned to the Sign In page:       Note: This setting applies to Built-in or SAML authentication only.  When using Integrated Windows authentication Alteryx does not enforce a session timeout as the user has a valid Windows session.       Prerequisites   Alteryx Server Authentication Type:  Built-in or SAML   Procedure   If you have a multi-machine Server environment, the following steps should be performed on the Gallery node(s) only.   Open Windows File Explorer and navigate to %PROGRAMDATA%\Alteryx\. Create a backup of the RuntimeSettings.xml file.  Open the RuntimeSettings.xml file in an editor and add the following line in the Gallery section: <SessionTimeout>20</SessionTimeout> Example RuntimeSettings.xml file with a 20 minute session timeout. Save the file and restart the AlteryxService.      Additional Resources   Gallery System Settings
View full article
Alteryx Server provides a fully scalable architecture that allows an organization to scale Alteryx to automate data analytics, tackle bigger projects, process larger datasets and put self-service data analytics into the hands of more decision makers. From scaling Worker nodes to Gallery nodes to the MongoDB persistence layer, Alteryx Server allows organizations to efficiently manage their automated and self-service data analytics needs.
View full article