swooletw / laravel-swoole

High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
MIT License
4.04k stars 390 forks source link

Why is it true #480

Closed pslxx closed 2 years ago

pslxx commented 3 years ago

image image

why? http request isServerWebsocket return true?

pslxx commented 3 years ago

image image image

Then the swoole table exploded

pslxx commented 3 years ago

Duplicate of #478

danilopolani commented 3 years ago

You should definitely review the guidelines to submit an issue. There's no description, you didn't follow the Issue template, the title is meaningless.

What's the point of this discussion? What's the issue? What's the expected behaviour?

pslxx commented 3 years ago

You should definitely review the guidelines to submit an issue. There's no description, you didn't follow the Issue template, the title is meaningless.

What's the point of this discussion? What's the issue? What's the expected behaviour?

The http request violates the leave event of websocket, Then call the delete method of RoomClass, But the delete method did not delete fd, which caused more and more fd of the swoole table, and finally could not allocate memory.

daniilpanov commented 2 years ago

Have you solved this problem?

pslxx commented 2 years ago

你解决了这个问题吗?

no . i am use custom room driver and rewrite delete method