Changes between Initial Version and Version 2 of Ticket #23074


Ignore:
Timestamp:
Jul 22, 2014, 9:30:28 AM (10 years ago)
Author:
Aymeric Augustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23074

    • Property Has patch set
    • Property Owner changed from nobody to Aymeric Augustin
    • Property Status newassigned
  • Ticket #23074 – Description

    initial v2  
    44
    55When spinning in a get_or_create() loop in a single transaction, this has the potential to max out the shared memory of the PostgreSQL instance resulting in this:
     6
     7{{{
    68  File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 157, in create
    79    return self.get_queryset().create(**kwargs)
     
    3234django.db.utils.OperationalError: out of shared memory
    3335HINT:  You might need to increase max_locks_per_transaction.
     36}}}
Back to Top