|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-12 18:50 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ I'm using mod_php4 fllowing environment FreeBSD 4.9 apache+mod_ssl-1.3.29+2.8.16_1 mod_php4-4.3.6 postgresql-7.4.2 (all these programs compiled with gcc version 2.95.4 20020320 [FreeBSD] -march=i686 -mpentiumpro -O2 -pipe) sometime httpd daemon stacks with CPU usage almost 100% I pached fllowing patch to /usr/ports/lang/php4/work/php-4.3.6/ext/pgsql/pgsql.c It may be good. At least in my environment the process stack never comes since this patch was patched 225c225 < while (i && (message[i] == '\r' || message[i] == '\n')) { --- > while (i>0 && (message[i] == '\r' || message[i] == '\n')) { Reproduce code: --------------- no reproduce code . It often happen after .php files are updated with "cvs up" Expected result: ---------------- none Actual result: -------------- none