SOLVED: there was a problem in threading. It's been necessary to specify
the following in the connection string:
connection = cx_Oracle.connect(oracle_dsn, threaded=True)
Adding the threaded=True parameter, the service is up & running from 14
hours, against the 5 minutes before. This should be
Damiano Morosi schrieb:
> maybe a memory leak problem? my configuration is python 2.3.4, GCC
> 3.4.6, kernel 2.6.9-67.0.20.EL. The dist is a CentOS, and the machine is
> virtualized under VMWare. Compatibility issues?
Yes, this looks like a memory allocation problem of cx_oracle; or there
is an
OK all done, my script now is absolutely better (thanks for the
suggestions), but the problem persists...
However, I have another "piece" of the puzzle; when the error occurs,
the system says:
*** glibc detected *** free(): invalid pointer: 0x089ebc70 ***
maybe a memory leak problem? my configu
Damiano Morosi schrieb:
> Did you notice something strange in this? Am I makeing some mistakes?
> Thanks for your support.
Nothing that should cause the process to be killed. But there are some
things you could improve to make everything more stable and secure:
* make the code safe against SQL i
Yes the cause is cx_Oracle. I have installed version 4.4 of the module,
that is the last. the code of the method is very simple, and i report it
as well:
### CODE START ###
def getLoS(self, panel_id):
try:
connection = cx_Oracle.connect(self.oracle_vms