laravel-oci8 icon indicating copy to clipboard operation
laravel-oci8 copied to clipboard

creating inactive session with oracle database, which is overloading the server

Open mukhtar9 opened this issue 5 years ago • 2 comments

Summary of problem or feature request

my database is on a different server from apache server with each request database, an active session is opened but this active session is not closed and remains as inactive session in DB server for example, my request count is 100 then an active session with the database is near to 100 and inactive sessions is 1000, and it grows with time span and overloads the database server

Code snippet of problem

System details

  • Operating System Ubantu 18
  • PHP Version 7.2
  • Laravel Version 7
  • Laravel-OCI8 Version oci8_12c instant client

mukhtar9 avatar Aug 18 '20 12:08 mukhtar9

Not sure but maybe persistent configuration might help?

'options'   => [
        PDO::ATTR_PERSISTENT => true,
],

yajra avatar Sep 23 '20 06:09 yajra

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 17 '22 04:10 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Oct 25 '22 04:10 github-actions[bot]