Current time: 11-28-2024, 04:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mod_fcgid: read data timeout in 40 seconds
Author Message
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #11
RE: mod_fcgid: read data timeout in 40 seconds
Галочка, галочка, галочка.
На офсайте друпала написано, что базовый функционал работать будет, а модули - последние версии. Реально отличие не такое уж большое, раз Zend не нужен...
07-26-2011 12:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Minganus Offline
Banned

Posts: 38
Joined: Feb 2011
Post: #12
RE: mod_fcgid: read data timeout in 40 seconds
DragonZX, а нет ли скриптика с помощью которого можно было бы протестировать сервера на наличие этого fcgid error 500 бага?
Может можешь такой написать?
А то я не программист Sad
07-26-2011 10:51 AM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #13
RE: mod_fcgid: read data timeout in 40 seconds
Видишь ли, это не баг. Лично у меня на Ленни-то вообще по-умолчанию было, на Сквиз конфиг править пришлось, а вот тут вообще что-то непонятное. И вообще в Википедии здорово написано, мне прям нравится: "Любая внутренняя ошибка сервера, которая не входит в рамки остальных ошибок класса 5xx.", так что как ни странно, логике это не поддается.
А, не, народ, пардоньте. Даже Zend работать будет, только кажись обозвали по-другому - Zend Guard Loader.
(This post was last modified: 07-26-2011 06:11 PM by DragonZX.)
07-26-2011 05:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Minganus Offline
Banned

Posts: 38
Joined: Feb 2011
Post: #14
RE: mod_fcgid: read data timeout in 40 seconds
(07-26-2011 05:33 PM)DragonZX Wrote:  А, не, народ, пардоньте. Даже Zend работать будет, только кажись обозвали по-другому - Zend Guard Loader.

Да, в php 5.3 Zend теперь так обозвали


(07-26-2011 05:33 PM)DragonZX Wrote:  Видишь ли, это не баг.

Я имел в виду, что при наличии скриптика, иммитирующего задержку, можно было бы по мере возможности проверять поведение систем с fcgid. Например, в моем случае - зоопарк различных CentOS 5.x
(This post was last modified: 07-26-2011 06:30 PM by Minganus.)
07-26-2011 06:28 PM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #15
RE: mod_fcgid: read data timeout in 40 seconds
Так, насколько я понимаю - задержки тоже разные, да и глюки могут выплыть самые неожиданные.
07-26-2011 06:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
lisiren Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #16
RE: mod_fcgid: read data timeout in 40 seconds
Может есть еще какие идеи как исправить error 500?
(This post was last modified: 07-26-2011 06:43 PM by lisiren.)
07-26-2011 06:41 PM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #17
RE: mod_fcgid: read data timeout in 40 seconds
А при каких обстоятельствах это происходит?
Еще есть вариант просто поиграться со значениями - хз
А, и на каком скрипте, после какого события....
07-26-2011 07:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Minganus Offline
Banned

Posts: 38
Joined: Feb 2011
Post: #18
RE: mod_fcgid: read data timeout in 40 seconds
Имхо, по этой же теме:

http://www.adploits.com/2011/06/13/vbull...error-fix/

PHP Fastcgi – Large Attachment Upload – 500 Server Error

After switing back to mod_fcgid, you need to log in the terminal as root and open the php.conf file.

/usr/local/apache/conf/php5.conf

After researching, it looked like all I needed to add was the following:

MaxRequestLen 15728640

However, even with that change, it was still throwing 500 errors. So a little more investigation led to:

PHP_Fix_Pathinfo_Enable 1

That was the missing link. After adding the above, it would work fine, yay!

These are the final additions I made to the php.conf file

MaxProcessCount 1000
DefaultMaxClassProcessCount 100
IPCConnectTimeout 60
IPCCommTimeout 60
PHP_Fix_Pathinfo_Enable 1
IdleTimeout 900
IdleScanInterval 120
BusyTimeout 300
BusyScanInterval 120
ErrorScanInterval 9
ZombieScanInterval 9
ProcessLifeTime 3600
MaxRequestLen 15728640
07-26-2011 09:17 PM
Find all posts by this user Quote this message in a reply
lisiren Offline
Junior Member
*

Posts: 20
Joined: Dec 2010
Reputation: 0
Post: #19
RE: mod_fcgid: read data timeout in 40 seconds
(07-26-2011 07:59 PM)DragonZX Wrote:  А при каких обстоятельствах это происходит?
Еще есть вариант просто поиграться со значениями - хз
А, и на каком скрипте, после какого события....

Происходит вообще рандомно. Раньше я думал что только в случае, когда fcgid работает дольше 40 секунд (генерация отчета какого-нибудь большого например), а сейчас просто по сайту кликаешь и может вылететь error 500.

Code:
ue Jul 26 15:27:41 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:27:41 2011] [error] [client 66.249.66.214] Premature end of script headers: index.php
[Tue Jul 26 15:27:49 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:27:49 2011] [error] [client 92.249.127.111] Premature end of script headers: index.php, referer:
[Tue Jul 26 15:27:49 2011] [notice] mod_fcgid: process 23243 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:27:49 2011] [notice] mod_fcgid: process 23236 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:28:16 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:28:16 2011] [error] [client 67.195.113.218] Premature end of script headers: viewforum.php
[Tue Jul 26 15:28:26 2011] [notice] mod_fcgid: process 22874 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:28:29 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:28:29 2011] [error] [client 92.249.127.111] Premature end of script headers: index.php, referer:
[Tue Jul 26 15:28:36 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:28:36 2011] [error] [client 67.195.113.218] Premature end of script headers: viewforum.php
[Tue Jul 26 15:28:38 2011] [notice] mod_fcgid: process 23101 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:28:38 2011] [notice] mod_fcgid: process 23249 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:28:57 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:28:57 2011] [error] [client 67.195.113.218] Premature end of script headers: viewforum.php
[Tue Jul 26 15:29:01 2011] [notice] mod_fcgid: process 23142 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:29:18 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:29:18 2011] [error] [client 67.195.113.218] Premature end of script headers: viewforum.php
[Tue Jul 26 15:29:25 2011] [notice] mod_fcgid: process 22919 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:30:28 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:30:28 2011] [error] [client 67.195.113.218] Premature end of script headers: viewforum.php
[Tue Jul 26 15:30:33 2011] [notice] mod_fcgid: process 22918 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:30:48 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:30:48 2011] [error] [client 67.195.113.218] Premature end of script headers: viewforum.php
[Tue Jul 26 15:30:55 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Tue Jul 26 15:30:57 2011] [notice] mod_fcgid: process 23313 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:31:01 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:31:01 2011] [error] [client 207.46.204.237] Premature end of script headers: index.php
[Tue Jul 26 15:31:09 2011] [notice] mod_fcgid: process 23537 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:31:28 2011] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Tue Jul 26 15:31:45 2011] [notice] mod_fcgid: process 20399 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:31:45 2011] [notice] mod_fcgid: process 20398 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:32:46 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:32:46 2011] [error] [client 66.249.66.81] Premature end of script headers: profile.php
[Tue Jul 26 15:32:48 2011] [notice] mod_fcgid: process 23314 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:35:43 2011] [notice] mod_fcgid: process 19918 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:35:43 2011] [notice] mod_fcgid: process 20751 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:35:43 2011] [notice] mod_fcgid: process 20838 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:37:44 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:37:44 2011] [error] [client 178.49.145.143] Premature end of script headers: viewtopic.php, referer:
[Tue Jul 26 15:37:55 2011] [notice] mod_fcgid: process 23312 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:38:21 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:38:21 2011] [error] [client 66.249.66.138] Premature end of script headers: viewtopic.php
[Tue Jul 26 15:38:25 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:38:25 2011] [error] [client 178.49.145.143] Premature end of script headers: index.php, referer:
[Tue Jul 26 15:38:31 2011] [notice] mod_fcgid: process 23316 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:38:31 2011] [notice] mod_fcgid: process 23315 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:39:52 2011] [notice] mod_fcgid: process 23037 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:39:52 2011] [notice] mod_fcgid: process 22202 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:39:52 2011] [notice] mod_fcgid: process 23008 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:40:02 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:40:02 2011] [error] [client 92.249.127.111] Premature end of script headers: index.php, referer:
[Tue Jul 26 15:40:03 2011] [notice] mod_fcgid: process 23925 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:40:43 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:40:43 2011] [error] [client 92.249.127.111] Premature end of script headers: index.php, referer:
[Tue Jul 26 15:40:51 2011] [notice] mod_fcgid: process 23968 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:41:25 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:41:25 2011] [error] [client 92.249.127.111] Premature end of script headers: index.php, referer:
[Tue Jul 26 15:41:34 2011] [notice] mod_fcgid: process 23986 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:41:50 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:41:50 2011] [error] [client 207.46.204.230] Premature end of script headers: index.php
[Tue Jul 26 15:41:53 2011] [notice] mod_fcgid: process 24022 going graceful shutdown, sending SIGTERM
[Tue Jul 26 15:42:33 2011] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Jul 26 15:42:33 2011] [error] [client 66.249.66.106] Premature end of script headers: index.php
[Tue Jul 26 15:42:41 2011] [notice] mod_fcgid: process 24029 going graceful shutdown, sending SIGTERM
(This post was last modified: 07-26-2011 09:49 PM by lisiren.)
07-26-2011 09:48 PM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #20
RE: mod_fcgid: read data timeout in 40 seconds
Ну я хз - попробуй мои


Attached File(s)
.zip  fcgid_conf.zip (Size: 1.13 KB / Downloads: 5)
07-26-2011 10:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)