Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on php application post connection pooling enabled. #1524

Open
rajan2203 opened this issue Sep 25, 2024 · 0 comments
Open

Memory leak on php application post connection pooling enabled. #1524

rajan2203 opened this issue Sep 25, 2024 · 0 comments

Comments

@rajan2203
Copy link

PHP version - 8.0.3

**PHP SQLSRV or PDO_SQLSRV version ** - 5.9.0

**Microsoft ODBC Driver version - libmsodbcsql-17.10.so.6.1 **

SQL Server version - 12.0.2000.8

Client operating system - Ubuntu 22.04.5

Table schema

Problem description
We have a php application and recently we have enabled the connection pooling with Microsoft ODBC Driver 17 and post that we could notice our VM's memory availability dropped suddenly and our php-fpm services are killed with OOM issue. Then after restarting the php-fpm services it got resolved. But still we could see there is high memory consumption since then.

Expected behavior and actual behavior
The VM memory couldn't be dropped even after implementing the connection pooling.

Repro code or steps to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant