开发者

up to date chatroom!y

I am looking to create an ajax powered chatroom for my website. I开发者_如何学编程 have used yshout and it seems very good but crashes when there are too many connections.

What is the best way to go about doing this using the minimum resources possible?


Probably one of the following::

  1. Exceeding the number available threads. Depending on your configuration, you'll have a limit to how many requests can be simultaneously served. Since yshout will be maintaining open connections for longer than normal requests, you're far more likely to exhaust your thread/process limit. See the relevant Apache documentation for more info (assuming Apache, of course).

  2. Exceeding PHP memory limits. For the reasons above, you're likely to need more memory to handle the multiple long running HTTP requests. Try throwing more memory in your server and bumping the PHPs memory limit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜