Plesk server:
Plesk is a control panel used to manage web hosting servers and typically handles web servers like Apache or Nginx. Increasing the FastCGI timeout means extending the time a web application will wait for CGI (Common Gateway Interface) requests. This can be useful when larger and more complex processes require additional time to complete.
Before proceeding, it's important to consult with your system administrator or server provider since these settings can impact server performance and may cause errors if not configured correctly.
Connect to the Server via SSH: Connect to your server using SSH (Secure Shell). This is typically done as follows:
ssh your_username@server_ip_address
Edit the Plesk Configuration File: Plesk usually comes with web servers like nginx
and apache
. Depending on your web server, you may need to edit the relevant configuration file. Below are sample steps for Apache and Nginx:
For Apache:
sudo nano /etc/httpd/conf.d/fcgid.conf
For Nginx:
sudo nano /etc/nginx/nginx.conf
Set the FastCGI Timeout: Once the file is open, look for a parameter like FcgidIOTimeout
for Apache or fastcgi_read_timeout
for Nginx. This parameter determines the maximum time FastCGI will wait for a request. For example:
FcgidIOTimeout 300
or
fastcgi_read_timeout 300;
You can set the time in seconds and adjust it as needed. In the above example, the timeout is set to 300 seconds.
Save the Configuration and Restart the Web Server: After making changes, save the file and restart your web server. This is usually done with the following command:
sudo service apache2 restart # For Apache
or
sudo service nginx restart # For Nginx
Following these steps should help you extend the FastCGI timeout. However, system configuration may vary based on server type and software versions, so it's essential to check the documentation. Additionally, be aware that such changes can impact performance and should be made carefully.
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket