Custom Query (2152 matches)
Results (907 - 909 of 2152)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1347 | fixed | Exception caused by New Group form POST with bad formed parameter | dread | dread |
| Description |
Exception caused by bots POSTing 'new group' form, but with bad (old-style) parameters. <type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'cache'
...
Module ckan.controllers.group:102 in new
<< if context['save'] and not data:
return self._save_new(context)
data = data or {}
>> return self._save_new(context)
Module ckan.controllers.group:152 in _save_new
<< try:
data_dict = clean_dict(unflatten(
tuplize_dict(parse_params(request.params))))
context['message'] = data_dict.get('log_message', '')
group = create.group_create(data_dict, context)
>> tuplize_dict(parse_params(request.params))))
Module ckan.logic:57 in tuplize_dict
<< for num, key in enumerate(key_list):
if num % 2 == 1:
key_list[num] = int(key)
tuplized_dict[tuple(key_list)] = value
return tuplized_dict
>> key_list[num] = int(key)
ValueError: invalid literal for int() with base 10: 'cache'
|
|||
| #1346 | fixed | 'get_authorization_group_dict not found' exception | dread | dread |
| Description |
This stems from a feature to allow you to prefill fields in the authorizationgroup creation form. e.g. http://ckan.net/authorizationgroup/new?name=science It's not tested, not supported in the new logic layer and therefore broken. I don't think anyone uses it - can remove it. |
|||
| #1345 | fixed | Investigate possible memory leak | kindly | nils.toedtmann |
| Description |
There is some evidence pointing to CKAN handling memory inefficiently or even leaking under certain conditions: When we migrated ckan.net/thedatahub.org from eu7.okfn.org (32bit) to s053.okserver.org (64bit) (ticket) we experienced extraordinary memory usage peaks (ticket). Here are the observed value with Apache default settings:
William reduced the life-time of a WSGI CKAN process from 500 requests down to 25 requests (changeset). This (together with two other tweaks) changed the situation drastically:
This suggests that the more requests a CKAN processes serves over time, the more memory it consumes, aka bad memory management or a leak. To prove this theory, one could reduce the total number of WSGI CKAN processes as much as possible without killing the performance (e.g. down to processes=3), and then observing the relation between maximum-requests=25...500 and memory consumption. On 14/09/11 17:49, David Read wrote:
+1 |
|||
