-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
```
What steps will reproduce the problem?
login to rock mongo and enter password. Submit form and this error appears
Fatal error: Call to undefined method Mongo::setSlaveOkay() in
/Applications/MAM…
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
### 1. 该问题的重现步骤是什么?
网站访问太慢,查看服务器CPU占用提示mysql占用太高,8h16g的独立服务器,一个人访问直接卡死,_contents表的数据量有88820条。
![1111](https://user-images.githubusercontent.com/106164296/174446800-ae55eb02-3777-4bd5-b2e7-6458f58cd9…
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …
-
```
server.php
$master = WebSocket("localhost",12345);
client.html
socket = new WebSocket("ws://localhost:12345/websocket/server.php");
php -q server.php
master socket : resource id #4
listening on …