Closed Sparkh closed 9 years ago
I added this:
'connection': {
'consistency': ConsistencyLevel.ONE,
'retry_connect': True
# + All connection options for cassandra.cluster.Cluster()
},
'session': {
'default_timeout': 10,
'default_fetch_size': 10000
# + All options for cassandra.cluster.Session()
}
to DATABASE. And it seems to works well without any Segfault (after many changes and saves no segfault appears)
EDIT: finally no... Segfault again (same manipulation)
If it can help you: https://gist.github.com/Sparkh/7e20bc247a3aa0cdb2bb
Are you sure you don't make some mess with something when the server is reloading ? With a normal django + djangorestframework app I have nothing but with django-cassandra-engine when the server is reloaded, it give me a segmentation fault...
Some MAC OSX user who have the same issue ?
I'm using it on Mac without any problems.
Are you using brew ?
No, macports.
Ok so it was brew.. I installed macports and re-install all my packages and now it works without any segfault. Thanks for the quick response and I'm really sorry for the inconveniences.
I'm on mac OSX Yosemite v10.10.3. Virtual env:
Apps:
Database:
The host is not a localhost cassandra server. Command used:
When the server is running, make some changes in my models, save the changes and refresh my web page, sometimes I get a segmentation fault. No matter how many changes I'm doing, it can be just 2 or many others at the end I segfault