You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Breno Silva <br...@gmail.com> on 2013/03/07 23:25:47 UTC

apr_sdbm_delete() failed

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