View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004828 | Taler | exchange | public | 2016-12-02 10:07 | 2017-06-06 14:18 |
| Reporter | Marcello Stanisci | Assigned To | Marcello Stanisci | ||
| Priority | high | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | git (master) | ||||
| Target Version | 0.3 | Fixed in Version | 0.3 | ||
| Summary | 0004828: 100% CPU eaten | ||||
| Description | The backend repeatedly asks /keys to exchange, even if it gets them right. That causes a ~ 100% CPU usage. | ||||
| Additional Information | That has only be noticed on my personal laptop. | ||||
| Tags | No tags attached. | ||||
|
|
That's due to some misconfiguration that makes the 'Expires:' HTTP response header from "/keys" being set to 'now'. |
|
|
The fault was on *exchange's* code: the routine that sscanf's the HTTP "Expire: " header didn't allocate the extra byte for the null-termination of parsed strings. So unexpected variables got overwritten by the null-terminator, with the result of breaking the next reload of /keys. |
|
|
Fixed in eab7bb7 (exchange codebase) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-12-02 10:07 | Marcello Stanisci | New Issue | |
| 2016-12-02 10:07 | Marcello Stanisci | Status | new => assigned |
| 2016-12-02 10:07 | Marcello Stanisci | Assigned To | => Marcello Stanisci |
| 2016-12-02 10:08 | Marcello Stanisci | Product Version | => git (master) |
| 2016-12-02 11:49 | Marcello Stanisci | Note Added: 0011561 | |
| 2016-12-02 11:51 | Marcello Stanisci | Note Edited: 0011561 | |
| 2016-12-04 00:08 | Marcello Stanisci | Category | mechant backend => exchange |
| 2016-12-04 00:16 | Marcello Stanisci | Note Added: 0011563 | |
| 2016-12-04 00:18 | Marcello Stanisci | Note Edited: 0011563 | |
| 2016-12-04 00:19 | Marcello Stanisci | Status | assigned => resolved |
| 2016-12-04 00:19 | Marcello Stanisci | Resolution | open => fixed |
| 2016-12-04 00:19 | Marcello Stanisci | Note Added: 0011564 | |
| 2017-01-16 10:19 | Christian Grothoff | Fixed in Version | => 0.3 |
| 2017-06-06 14:18 | Christian Grothoff | Status | resolved => closed |