I have a problem with beanstalkd on a symfony(3.4) project.
I have a symfony command used to analyse informations, the analyser is in a while true to keep the command running 24/7.
$pheanstalk = new Pheanstalk('127.0.0.1');
while (true) {
$pheanstalk->watch($worker);
$queue = $pheanstalk->statsTube($worker);
if ($queue['current-jobs-ready'] > 0) {
analyseInformations();
else {
//get the most charged worker...
}
The problem that after X minutes, 5, 10 or 15, the command return exception : ORA-03135 Connection Lost
The dba said that the problem come from the symfony project and not the oracle database, i have missed anything with the beanstalkd connection ?
Beanstalkd have a timeout connection to the database ? Anything to do with the pool connection symfony ?
In the project we use doctrine dbal to make request to the database.
The exception message :
111:29:01 ERROR [console] Error thrown while running command "analyser". Message: "An exception occurred while executing 'SELECT XXX FROM XXX:
ORA-03113: end-of-file on communication channel ID de processus : 20624 ID de session : 154, Numéro de série : 6639"
Thank you