danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.8k stars 636 forks source link

IPC Server MySQL session #1366

Closed xcgu closed 1 year ago

xcgu commented 1 year ago

Hi

I'm using IPC Server and the session in using MySQL. The memory usage of the ipc worker is now fine but the memory usage of mysql server is going up continuously. I also had a test on having mysql session while using eventhandler mode and everything was just fine even the bot was being used by more users than the ipc mode so it seams there is some problem with ipc server while using mysql session.

danog commented 1 year ago

IPC mode and event handler mode are identical, there is no difference in memory/db usage between the two.

You can try disabling some unneeded databases if you want, using the settings.