• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Forum slowing my whole website!

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
8 posts • Page 1 of 1

Postby cebronx » Thu Oct 05, 2006 1:08 am

WOW! for the first time I had approximately 5 users logged at the same time and whenever we typed it came out every minute!! and I tried opening my website in another browser and ti didn't even open. Whats going! Im pretty sure is the forum! I upgraded to the latest BETA 6 Please assist me. . . this is crazy!! Thanks..
Luis
cebronx
Member
 
Posts: 32
Joined: Mon Aug 28, 2006 3:22 am
Location: Bronx, NY
  • Website
Top

Postby phpfreechat » Thu Oct 05, 2006 12:35 pm

Did you encounter the problem with other pfc releases ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby cebronx » Thu Oct 05, 2006 1:28 pm

No kerphi, just this one! It was funny because it was the first time I had many user's online at the same time and all of a sudden it was running slow, and I had another friend log in the website and it never got through it affected my whole bandwidth. This is the code I have and Im using beta 6
Code: Select all
require_once "phpchat/src/phpfreechat.class.php"; // adjust to your own path
    $params = array();
    $params["serverid"] = md5("cebronx_chat"); // used to identify the chat
    $params["channels"]       = array('CEBronx.ORG');
    $params["language"]       = "es_ES";
    $params["title"]          = "Capilla Evangelica del Bronx, Parker Street.";
     if ($desc == "1") $params["isadmin"] = true;
    $params["nick"]           = $pun_user['username'];  // setup the intitial nickname
   // $params["prefix"]         = "myprefix_";
    $params["frozen_nick"]    = true;     // do not allow to change the nickname
    $params["shownotice"]     = 3;        // 0 = nothing, 1 = just nickname changes, 2 = connect/quit, 3 = nick + connect/quit
    $params["max_nick_len"]   = 20;       // nickname length could not be longer than 10 caracteres
    $params["max_text_len"]   = 300;      // a message cannot be longer than 50 caracteres
    $params["refresh_delay"]  = 2000;     // chat refresh speed is 2 secondes (10000ms)
    $params["max_msg"]        = 0;       // max message in the history is 15 (message seen when reloading the chat)
    $params["height"]         = "230px";  // height of chat area is 230px
    $params["width"]          = "800px";  // width of chat area is 800px
    $chat = new phpFreeChat($params);
            }

I didn't change the coding after I upgraded to beta 6 everything works fine except for the slowness of it. Thanks...
Luis
cebronx
Member
 
Posts: 32
Joined: Mon Aug 28, 2006 3:22 am
Location: Bronx, NY
  • Website
Top

Postby phpfreechat » Thu Oct 05, 2006 1:36 pm

Try to change :
$params["refresh_delay"] = 2000;
by
$params["refresh_delay"] = 5000;


Moreover, what is your server CPU and RAM ? What is your apache and php version ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby cebronx » Thu Oct 05, 2006 1:42 pm

I don't know about my apache server, my CPU is a 2.4GHz 1GB of ram and I have optimum online as the internet connection with the boost service (to make it a little bit faster)...Before with the earlier version I didn't have this problem though and I had the same internet conneciton with no boost... any ideas... I will change the refresh_delay and test it again. THanks kerphi.
PHP: 5.1.2
Luis
cebronx
Member
 
Posts: 32
Joined: Mon Aug 28, 2006 3:22 am
Location: Bronx, NY
  • Website
Top

Postby preussie » Tue Mar 27, 2007 3:45 pm

I am quite sure you solved this problem already but I ran into the same thing last weekend. The problem in my case was the apache webserver setup. It limited the connection to 20(!). The effect was that the website was SLOOOOOWWW - almost unusable but the CPU on the machine was almost idle...

BTW: PFC is a great pice of software. THANK YOU!
preussie
New member
 
Posts: 2
Joined: Tue Mar 27, 2007 3:38 pm
Top

Postby phpfreechat » Tue Mar 27, 2007 3:59 pm

Why don't you increase the apache number of connection ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby preussie » Tue Mar 27, 2007 4:10 pm

I did, and it works perfect now :)

Sorry, I should have mentioned it in my post...
Last edited by preussie on Tue Mar 27, 2007 4:11 pm, edited 1 time in total.
preussie
New member
 
Posts: 2
Joined: Tue Mar 27, 2007 3:38 pm
Top


Post a reply
8 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 27 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub