Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 13:47:17 +0100
From:      Jakob Breivik Grimstveit <jakob@grimstveit.no>
To:        freebsd-ports@freebsd.org
Subject:   Problems w/apache22 & php5 running at 100%
Message-ID:  <45D45655.5040700@grimstveit.no>

next in thread | raw e-mail | index | archive | help
Fellow geeks;

After having upgraded to php5.2.1 via ports my server is constantly running at 
100%, from about 5-10% earlier:

$ ps auxwwf -ru | head -5
USER       PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
www       4596 47,9  2,2 33956 22880  ??  R     1:34pm   1:13,25 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www       4525 35,3  1,7 29108 18184  ??  S     1:21pm   0:32,32 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www       4610  6,6  1,7 28912 18032  ??  S     1:39pm   0:29,95 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www       4593  0,8  2,0 31692 20676  ??  S     1:34pm   0:30,32 
/usr/local/sbin/httpd -DNOHTTPACCEPT

$ pkg_info | grep -e apache -e php -e mysql | cut -f 1 -d ' '
apache-2.2.4
mysql-client-5.1.15
mysql-server-5.1.15
p5-DBD-mysql-4.001
php5-5.2.1_1
php5-ctype-5.2.1_1
php5-curl-5.2.1_1
php5-dom-5.2.1_1
php5-exif-5.2.1_1
php5-extensions-1.1
php5-ftp-5.2.1_1
php5-gd-5.2.1_1
php5-gettext-5.2.1_1
php5-iconv-5.2.1_1
php5-mbstring-5.2.1_1
php5-mhash-5.2.1_1
php5-mysql-5.2.1_1
php5-pcre-5.2.1_1
php5-pdo-5.2.1_1
php5-pdo_sqlite-5.2.1_1
php5-posix-5.2.1_1
php5-recode-5.2.1_1
php5-session-5.2.1_1
php5-simplexml-5.2.1_1
php5-spl-5.2.1_1
php5-sqlite-5.2.1_1
php5-tokenizer-5.2.1_1
php5-xml-5.2.1_1
php5-xmlreader-5.2.1_1
php5-xmlwriter-5.2.1_1

$ uname -a
FreeBSD hombre.grimstveit.no 6.2-RELEASE FreeBSD 6.2-RELEASE #25: Mon Jan 15 
01:58:22 CET 2007     root@hombre.grimstveit.no:/usr/obj/usr/src/sys/HOMBRE  i386

Doing a multitail on all the access logs and error logs gives no indication 
why this should happen (0.5req/s), therefore I do not think it is related to 
too many incoming requests.

Anybody else experiencing this?

Thanks in advance for any help on this topic.

-- 
Jakob Breivik Grimstveit / http://grimstveit.no/jakob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D45655.5040700>