(70007) The specified timeout has expired: mod_fcgid: cannot receive data from http client

I have a Phonegap application running in android, and my backend is a php application using the Yii framework.

When I try to upload 10 photos, sometimes it works well, sometimes some photos do not load.

In my error_logs, I have this line:

[Mon Mar 03 16:59:22 2014] [warn] [client 148.240.71.124] (70007)The timeout specified has expired: mod_fcgid: can't get data from http client 

I do not know how to do that. I tried raising the timeout values ​​in: /etc/apache2/mods-enabled/fcgid.conf

but after restarting apache nothing changes In my apache2.conf I don't have a partial description of mod_fcgid. Should I add one?

Any suggestion

+4
source share
2 answers

php.ini

  • max_execution_time = 1500; .
  • max_input_time = 1500; .
  • post_max_size = 500M; .
+1

, mod_fcgid, . fcgid.conf. Red Hat /etc/httpd/conf.d/fcgid.conf, Debian- - /etc/httpd/conf.d/fcgid.conf.

, :

FcgidIdleTimeout 60
FcgidProcessLifeTime 30
FcgidMaxProcesses 50
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
FcgidIOTimeout 45

- Nginx PHP-FPM. , -.

0

Source: https://habr.com/ru/post/1529906/


All Articles