Re: Chat with PHP and MySQL - come and chat about Linux problems...
| From: | John Hinsley | Date: | Fri, 16 Mar 2001 04:48:08 +0000 |
| Subject: | Re: Chat with PHP and MySQL - come and chat about Linux problems... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44206@lists.php.net to get a copy of this message | ||
Marian Vasile <marian@investments.ro> wrote:
//snipped! This list is long enough!
>The main problem I have with my chat is that after some use of it, the
>server is going very very slowly.
>Someone with (256Mb, 800Mhz and just my chat running (Linux also)) told me
>that the chat is still doing this stuff.
>The problem he told me about it, it's that the httpd (apache) connections
>don't close.
//end snip
It could be that (although I'd expect them to close unless your code or
your Apache settings explicitly keep them open) or it could be the
forking (careful how you pronounce that!) of Apache. What kernel are you
using? Going to 2.4 should show an improvement in Apache performance if
the forking is the problem.
I'll try a look at the code, but there are far better code readers out
there than me!
--
******************************************************************************
Marx: "Why do Anarchists only drink herbal tea?"
Proudhon: "Because all proper tea is theft."
******************************************************************************