Closed (won't fix)
Project:
Chatblock
Version:
5.x-1.0.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2008 at 19:40 UTC
Updated:
31 Aug 2008 at 02:32 UTC
I have noticed that this module causes 500 internal server errors in my site (not in the chat block: in the whole site), specially when there is a lot of people chatting (maybe over 40 or 50). Could you please fix this? This bug renders the module unusable. Thank you.
Comments
Comment #1
dwees commentedI'll need more information than what you are giving me in order to fix this bug. How much memory do you have allotted to Php etc...?
My guess is that you have just hit the limit of what can be accomplished with a chat system that sends messages through Drupal. Every single time a user sends a message that message is sent through Drupal, using the same processing power as reloading a simple page in Drupal. Hence, 40-50 users chatting on a relatively slow server can overload the cpu (remember each instance of Drupal uses 12 - 16 MB of RAM).
Can you let me know if you are using shared web-hosting? What the memory limit you have is? Any other information you think might be useful?
Dave
Comment #2
dwees commentedIn order to fix this problem, I'd have to rewrite the module entirely to use a separate php file for the return of the chatblock information, and implement my own non-database solution (ie write the chatblock messages to a file in the files directory, etc....). This is more work than I'm willing to put into a module that I'm not being paid to maintain.
Sorry, for now the fix is, don't use this module on shared web-hosting, or where you have excessive numbers of users using it.