#1264 Support writing more than 2 GiB in log files on 32-bit architectures
Reporter
Link Mauve
Owner
MattJ
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Type-Defect
Status-Invalid
Link Mauve
on
What steps will reproduce the problem?
1. Enable debug logging.
2. Forget you enabled it.
3. Have an issue you want to debug.
4. Figure out that Prosody stopped logging weeks ago due to the limit of 2 GiB.
What is the expected output?
Have Prosody continue logging even though the file reached 2 GiB.
What do you see instead?
A useless log file that is truncated.
What version of the product are you using? On what operating system?
Prosody 0.11.0-ish, on ArchLinuxARM, on an ARMv7 computer.
Please provide any additional information below.
N/A
MattJ
on
Sorry, this issue slipped through the cracks.
This requires that the Lua interpeter be built with Large File Support. This has been the default in Debian for quite a while, so I'm guessing (heh) that you're not using Debian. So this is probably more suited to a bug report against your distro's lua package.
https://users.suse.com/~aj/linux_lfs.html gives more information.
Changes
owner MattJ
MattJ
on
Closing, but if you feel there is action we need to take, feel free to continue the discussion.
What steps will reproduce the problem? 1. Enable debug logging. 2. Forget you enabled it. 3. Have an issue you want to debug. 4. Figure out that Prosody stopped logging weeks ago due to the limit of 2 GiB. What is the expected output? Have Prosody continue logging even though the file reached 2 GiB. What do you see instead? A useless log file that is truncated. What version of the product are you using? On what operating system? Prosody 0.11.0-ish, on ArchLinuxARM, on an ARMv7 computer. Please provide any additional information below. N/A
Sorry, this issue slipped through the cracks. This requires that the Lua interpeter be built with Large File Support. This has been the default in Debian for quite a while, so I'm guessing (heh) that you're not using Debian. So this is probably more suited to a bug report against your distro's lua package. https://users.suse.com/~aj/linux_lfs.html gives more information.
ChangesClosing, but if you feel there is action we need to take, feel free to continue the discussion.
Changes