RE: mod_fcgid: read data timeout in 40 seconds - DragonZX - 07-26-2011 12:13 AM
Галочка, галочка, галочка.
На офсайте друпала написано, что базовый функционал работать будет, а модули - последние версии. Реально отличие не такое уж большое, раз Zend не нужен...
RE: mod_fcgid: read data timeout in 40 seconds - Minganus - 07-26-2011 10:51 AM
DragonZX, а нет ли скриптика с помощью которого можно было бы протестировать сервера на наличие этого fcgid error 500 бага?
Может можешь такой написать?
А то я не программист
RE: mod_fcgid: read data timeout in 40 seconds - DragonZX - 07-26-2011 05:33 PM
Видишь ли, это не баг. Лично у меня на Ленни-то вообще по-умолчанию было, на Сквиз конфиг править пришлось, а вот тут вообще что-то непонятное. И вообще в Википедии здорово написано, мне прям нравится: "Любая внутренняя ошибка сервера, которая не входит в рамки остальных ошибок класса 5xx.", так что как ни странно, логике это не поддается.
А, не, народ, пардоньте. Даже Zend работать будет, только кажись обозвали по-другому - Zend Guard Loader.
RE: mod_fcgid: read data timeout in 40 seconds - Minganus - 07-26-2011 06:28 PM
(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
RE: mod_fcgid: read data timeout in 40 seconds - DragonZX - 07-26-2011 06:36 PM
Так, насколько я понимаю - задержки тоже разные, да и глюки могут выплыть самые неожиданные.
RE: mod_fcgid: read data timeout in 40 seconds - lisiren - 07-26-2011 06:41 PM
Может есть еще какие идеи как исправить error 500?
RE: mod_fcgid: read data timeout in 40 seconds - DragonZX - 07-26-2011 07:59 PM
А при каких обстоятельствах это происходит?
Еще есть вариант просто поиграться со значениями - хз
А, и на каком скрипте, после какого события....
RE: mod_fcgid: read data timeout in 40 seconds - Minganus - 07-26-2011 09:17 PM
Имхо, по этой же теме:
http://www.adploits.com/2011/06/13/vbulletin-php-fastcgi-large-attachment-upload-500-server-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
RE: mod_fcgid: read data timeout in 40 seconds - lisiren - 07-26-2011 09:48 PM
(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
RE: mod_fcgid: read data timeout in 40 seconds - DragonZX - 07-26-2011 10:30 PM
Ну я хз - попробуй мои
|