How to increase FastCGI limits?

General discussions around KeyHelp.
Post Reply
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

How to increase FastCGI limits?

Post by boka003 »

Hello there,


Problem 1. My WP website is not able to update or install new plugins: https://prnt.sc/teNLweSkqitC
I have not found any error about this in my error logs.


Problem 2. But I have found this log when I try to save changes at some plugin configuration:

Code: Select all

(104)Connection reset by peer: [client 192.168.111.50:52441] AH01075: Error dispatching request to : (reading input brigade),
 
 400	POST /wp-admin/admin-ajax.php HTTP/1.1
 
https://prnt.sc/_OoZBrlMBX0X

Then I have found how to do it at Plesk;

https://support.plesk.com/hc/en-us/arti ... request-to
https://bobcares.com/blog/plesk-ah01075 ... equest-to/


Can this be a solution to my problem?
And how I can increase these values at KeyHelp?

I was not able to find fcgid.conf file.


Regards
Last edited by boka003 on Wed 20. Mar 2024, 10:10, edited 1 time in total.
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: How to increase FastCGI limits?

Post by Florian »

Hallo,

this has nothing to do with timeouts. You see the error in your screenshot:

"wordpress could not establish a secure connection to wordpress.org"

So check your outgoing connections and name resolution on your system
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Re: How to increase FastCGI limits?

Post by boka003 »

Hello,

Thank you for your reply.
I have updated my topic (problem 1 and problem 2).

Problem 1 is a possible network issue, as the server is in the internal network.


But, can problem 2 be solved by editing these values?



Here is my keyhelp.conf file

Code: Select all

listen = /run/php/keyhelp_keyhelp.socket
listen.owner = keyhelp
listen.group = keyhelp
listen.mode = 0666
user = keyhelp
group = keyhelp
pm = ondemand
pm.max_children = 20
pm.max_requests = 20
env[TMP] = /tmp/keyhelp/
env[TMPDIR] = /tmp/keyhelp/
env[TEMP] = /tmp/keyhelp/
php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f boris@po1111111.org
php_admin_value[open_basedir] = /
php_admin_value[session.save_path] = /tmp/keyhelp/
php_admin_value[upload_tmp_dir] = /tmp/keyhelp/
php_admin_value[memory_limit] = 17777M
php_admin_value[post_max_size] = 17777M
php_admin_value[upload_max_filesize] = 17777M
php_admin_value[max_execution_time] = 340
php_admin_value[max_input_vars] = 8000


User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: How to increase FastCGI limits?

Post by Florian »

Hello,

fix the connection errors and check if the other error occurs again. It seems that is is simply a follow-up error
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Re: How to increase FastCGI limits?

Post by boka003 »

Hello,


This is a database connection plugin, and that database is inside our internal network too.
I can access it using Postman.



The database is big, and maybe increasing FastCGI limits can help?
Because, database connection is successful, but the import shows that error.
Can you please tell me where I can increase those limits?



Regards
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: How to increase FastCGI limits?

Post by Florian »

Hello,

in /etc/apache2/mods-enabled/fcgid.conf
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Ralph
Posts: 845
Joined: Mon 30. Mar 2020, 16:14

Re: How to increase FastCGI limits?

Post by Ralph »

Florian wrote: Wed 20. Mar 2024, 13:58 in /etc/apache2/mods-enabled/fcgid.conf
hmm... is fcgid really (still) required when using FPM with mpm-event?
just deactivated (a2dismod fcgid) it for a check & restarted apache and my default PHP interpreter - so everything works much faster w/o fcgid ... or is it needed for the compiled PHP interpreters?
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: How to increase FastCGI limits?

Post by Florian »

Hello,

I just answered the question where to adjust the values for FastCGI. I have not answered the question of meaning.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Ralph
Posts: 845
Joined: Mon 30. Mar 2020, 16:14

Re: How to increase FastCGI limits?

Post by Ralph »

Florian wrote: Wed 20. Mar 2024, 16:50 I just answered the question where to adjust the values for FastCGI. I have not answered the question of meaning.
agreed ;-)
since KH uses fpm w/ mpm-event (as default) wouldn't it be better when fcgid is set disabled then?
It seems to me that apache perform a little better ...
after disabling it shows

Code: Select all

~# apachectl -M | grep 'proxy'
 proxy_module (shared)
 proxy_fcgi_module (shared)
just like before
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Re: How to increase FastCGI limits?

Post by boka003 »

Hello,

Can you please help me debug this error at my website: https://prnt.sc/F590rSKF4uOG

It shows up when I try to update plugins.


Regards
User avatar
Jolinar
Community Moderator
Posts: 3611
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: How to increase FastCGI limits?

Post by Jolinar »

Moderator Notice:

Please attach screenshots as files to your posts in the future.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Post Reply