---
** [tickets:#1851] log: log file sizes grow rapidly and cannot open**
**Status:** accepted
**Milestone:** 4.7.2
**Created:** Thu May 26, 2016 03:12 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu May 26, 2016 03:12 AM UTC
**Owner:** Vu Minh Nguyen
When file handle thread gets timeout while perfoming write request, the thread
will remove the last log record and return `SA_AIS_TRY_AGAIN` to user.
In that case, in `lseek` function, logsv passed an negative number to `off_t
offset` without converting to `off_t` type. Then,`lseek` sees the `offset` as
an possitive number with signed bit set. And return value of `lseek` - the
offset location, is very very big.
The log file size got big big size when passing that big number to `ftruncate`.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets