From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21826 invoked by uid 1002); 16 Apr 2003 08:58:32 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 8528 invoked from network); 16 Apr 2003 08:58:32 -0000 From: Benjamin Podszun To: gentoo-dev@gentoo.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-R81f1K3seXk//o5WyCeE" Organization: Message-Id: <1050483429.1281.7.camel@blafasel> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3- Date: 16 Apr 2003 10:57:09 +0200 Subject: [gentoo-dev] Performance Apache/PHP / PHP-Problem X-Archives-Salt: 8db60dc3-e56f-4958-9333-2343be415ea1 X-Archives-Hash: afa23f88177ab5d7dedb9b7e4aefc3a3 --=-R81f1K3seXk//o5WyCeE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi there. I posted my Apache problems before and I think I found the root cause now. I have a nntp2web-gateway as forum and the nntp-server regularly reaches a high load because of some other applications. The server still accepts connections, but feeds more or less a "wait a moment" to my webserver.. First problem for me: Gentoo's mod_php isn't build with --enable-memory-limit. I needed that to solve some of my performance problems and I think it should be used by default, since one can set the limit in the php.ini. Second problem: I seem to miss something here.. My php-scripts won't stop receiving data in spite of my self-made memory-limit-aware mod_php. I get funny thinks like this with apachectl fullstatus: Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request 0-0 24732 0/9710/9710 W 255.39 48435 0 0.0 12.94 12.94 217.82.173.211 galactic-tales.4players.de GET /nntp2web/thread.php?group=3Drpg HTTP/1.1 1-0 28522 0/747/10693 W 19.49 47228 0 0.0 0.61 13.47 217.227.120.194 galactic-tales.4players.de GET /nntp2web/thread.php?group=3Drpg&it=3D54641 HTTP/1.1 2-0 28387 0/75/10032 W 1.00 48434 0 0.0 0.02 10.99 80.137.211.194 galactic-tales.4players.de GET /nntp2web/thread.php?group=3Drpg&it=3D48832 HTTP/1.1 3-0 24735 0/9494/9494 W 253.37 48442 0 0.0 12.14 12.14 80.145.106.208 galactic-tales.4players.de GET /nntp2web/thread.php?group=3Drpg&it=3D282 HTTP/1.1 The columns are: Srv Child Server number - generation PID OS process ID Acc Number of accesses this connection / this child / this slot M Mode of operation CPU CPU usage, number of seconds SS Seconds since beginning of most recent request Req Milliseconds required to process most recent request Conn Kilobytes transferred this connection Child Megabytes transferred this child Slot Total megabytes transferred this slot So.. Every Connection transferred ~50MB? *ugh* I better don't count all the lines with similar problems.. Anyone able to provide me with a quick hint? ;-) Ben --=-R81f1K3seXk//o5WyCeE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+nRrleGGfskjv0zURAnpXAKCuNPHXgX2fE3mTiuc0VMhJJFOBkgCgx86+ FJZeyuKXthDzJ3DYaBn3e50= =DXEC -----END PGP SIGNATURE----- --=-R81f1K3seXk//o5WyCeE--