apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Breno Silva <breno.si...@gmail.com>
Subject apr_sdbm_delete() failed
Date Thu, 07 Mar 2013 22:25:47 GMT
Hello list,

I have a code (apache module) that is not working well under heavy data
processing.
The code is failing when i need to call apr_sdbm_delete() to remove an
entry:

rc = apr_sdbm_open(&sdbm, sdbm_filename, APR_CREATE | APR_WRITE |
APR_SHARELOCK, CREATEMODE, pool);

rc = apr_sdbm_delete(dbm, key);

if (rc != APR_SUCCESS) {
   printing-> Failed deleting  (name "mydb", key "11.222.33.4_
aa739e3aaaa1fbfc8667bb26120e9930df881a82"):
   printing rc return message --> Internal error
}

I'm not  using any _lock function for this operation. So leaving
apr_sdbm_delete() do this job.

Any idea what could be ?
The code works fine with low data processing.

Thanks

--bsp

Mime
View raw message