What do you mean by an overloading of the server?...

It's possible that your configuration of MySQL number of clients that can
connect is lower than the number of httpd children that can live.

At some point, you'll have requests asking for MySQL connections, but MySQL
won't hand out any more...

Check httpd.conf and my.cnf for these numbers.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: | <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 3:56 AM
Subject: php apache server problem


> Hello php-general,
>
>   Ive got a virtual hosted site
>   at  this  site  Ive  got some php files which are taking images from
>   database but tey stopped operating since a overloading of the server
>   the code of the taking pictores are here. Is there anyone who has an
>   idea.
>   codes are like that
>   <?
>   $DB  = @MYSQL_CONNECT( $dbserver, $user, $pass) or die("dbserver not
>   ready");
>   @mysql_select_db( $dbname) or die("Veri tabany seçilemedi");
>   $Query=mysql_query("select  logo  from logotable where id='$id'") or
>   die ("theres no such a thing");
>   while ($Result = mysql_fetch_array ($Query))
>   {
>     $logo=$Result["logo"];
>     header("Content-type: image/gif");
>     echo $logo;
>   }
>
> --
> Best regards,
>  itü                          mailto:[EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to