[pybsddb] Mutex tables getting full...

Jesus Cea jcea at jcea.es
Tue Mar 23 01:47:13 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/23/2010 12:52 AM, hasanyasin wrote:
> I am not using mutexes explicitly. I am using concurrent datastore
> product in an environment. After sometime passes, when opening the
> environment via DBEnv instances' open method, it raises MemoryError:
> 
> MemoryError: (12, 'Cannot allocate memory -- unable to allocate memory
> for mutex; resize mutex region')

Ok. pybsddb support that configuration :).

If you are using cursors, seems you are not closing them. If not, try to
ask in the Oracle forum. Your application seems to be leaking resources.

If you are not leaking but your application is very demanding, you can
increase the table sizes when creating the environment. But first be
sure you are not leaking.

> 
> Do you have any idea? Do I doing something wrong?
> 
> Thanks,
> hasanyasin
> 
> On 22.03.2010 19:57, Jesus Cea wrote:
> On 03/22/2010 09:36 AM, hasanyasin wrote:
>   
>>>> Hi,
>>>> I am using pybsddb on a web based system I have developed and mutex
>>>> tables are continuously getting full. I have found the forum page at
>>>>
>>>> http://forums.oracle.com/forums/thread.jspa?messageID=4028598
>>>>      
> Why are you using mutex?. It is still a work in progress in pybsddb, not
> ready for production.
> 
> -- Jesus Cea Avion                         _/_/      _/_/_/       
> _/_/_/
> jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
> jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
> .                              _/_/  _/_/    _/_/          _/_/  _/_/
> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
_______________________________________________
pybsddb mailing list
pybsddb at jcea.es
https://mailman.jcea.es:28443/listinfo/pybsddb
http://www.jcea.es/programacion/pybsddb.htm

> _______________________________________________
> pybsddb mailing list
> pybsddb at jcea.es
> https://mailman.jcea.es:28443/listinfo/pybsddb
> http://www.jcea.es/programacion/pybsddb.htm


- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS6gPkZlgi5GaxT1NAQIYIQQAgXzlzB+CgpSlxOcnD2HaVINlZFQk9bP1
Trkk6NRSjyN7rpT8veyq3v4MjOiyfXnjWFybneQAsobLjhOKQqJyFv1rciPqI5Fa
WxlXtOrtdpTA/VwQJnmYsKu93P98B+hh9deB8ayWju5LrxewCZ2veNTTP8qYFQpM
lMA7VNKV3S0=
=X4Hz
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list