PacketFence - BTS - PacketFence  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0000791 | PacketFence | web admin | public | 2009-09-01 10:06 | 2015-02-13 15:26 | 
  | 
| Reporter | obilodeau |   | 
| Assigned To | obilodeau |   | 
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | open |   | 
| Platform |  | OS |  | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version |  |   | 
| fixed in git revision |  | 
| fixed in mtn revision |  | 
  | 
| Summary | 0000791: filter causes memory exhaustion when there is a lot of data in packetfence | 
| Description | When using a filter, the limit code path is avoided so the whole table is loaded in memory in the pfcmd call. On large installations this is a problem. 
 
I think the fix is to limit filtered requests as we do with normal ones. | 
| Steps To Reproduce |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | duplicate of  | 0000962 | closed  | obilodeau  | php runs out of memory when using filters on a large database  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2009-09-01 10:06 | obilodeau | New Issue |  | 
| 2009-09-01 10:06 | obilodeau | Status | new => assigned | 
| 2009-09-01 10:06 | obilodeau | Assigned To |  => obilodeau | 
| 2009-10-21 13:10 | obilodeau | Note Added: 0001354 |  | 
| 2009-10-21 13:10 | obilodeau | Category | 1.8.5 => future | 
| 2011-01-18 12:02 | obilodeau | Target Version |  => 2.1.0 | 
| 2011-03-03 15:15 | obilodeau | Target Version | 2.1.0 => +1 | 
| 2011-03-03 15:18 | obilodeau | Target Version | +1 => +2 | 
| 2011-03-07 11:33 | obilodeau | Category | future => web admin | 
| 2011-03-07 11:33 | obilodeau | Summary | web admin ui: filter causes memory exhaustion when there is a lot of data in packetfence => filter causes memory exhaustion when there is a lot of data in packetfence | 
| 2011-06-01 13:31 | obilodeau | Relationship added | duplicate of 0000962 | 
| 2012-08-06 14:50 | obilodeau | Note Added: 0002876 |  | 
| 2015-02-13 15:26 | lmunro | Note Added: 0003700 |  | 
| 2015-02-13 15:26 | lmunro | Status | assigned => closed |