| Description | This article describes how to increase query timeout for Analytics in FortiSIEM. | 
| Scope | FortiSIEM. | 
| Solution | 
 Sample logs from backend below on noticing query timeout: 
 phQueryMaster[345902]: [PH_QUERY_LONG_RUNNING_STOPPED]:[eventSeverity]=PHL_WARNING,[procName]=phQueryMaster,[fileName]=QueryJobManager.cpp,[lineNumber]=2140,[queryId]=3210843,[reportName]=MSS - Top TCP/UDP Ports By Count AGIS,[phLogDetail]=Long running query stopped 
 
 phQueryMaster[7041]: [PH_QUERY_LONG_RUNNING_STOPPED]:[eventSeverity]=PHL_WARNING,[procName]=phQueryMaster,[fileName]=QueryJobManager.cpp,[lineNumber]=2109,[queryId]=1309493,[phLogDetail]=Long running query stopped 
 Note: Take a snapshot of the FortiSIEM instance before modifying the changes below. 
 Use the following command to make the changes: 
 sudo sed -i.bak 's/^interactive_query_timeout=1800.*/interactive_query_timeout=5400 # 90 mins/' /opt/phoenix/config/phoenix_config.txt 
 
 
 Change this line to: 
 
 If workers are available in the environment, it is possible to perform the steps above on the workers too. 
 killall -9 phQueryMaster  | 
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.