Created attachment 425939 [details]
Description of problem:
Have system set to hibernate after a period of inactivity. Some times it fails to hibernate complaining about memory problems. Various logs are attached
Version-Release number of selected component (if applicable):
50% of time.
Steps to Reproduce:
1. wait until system tries to hibernate on its own
system does not hibernate but keeps running
Created attachment 425945 [details]
Created attachment 425946 [details]
Looks like the kernel cannot allocate enough memory to suspend. AFAIK there should be half of memory free before suspend, if there is not enough memory the kernel should swap to make a room. Maybe you have a lot of memory mlocked (not allowed to swap)? If yes - increase your RAM or do not use the software mlocking your memory.
This is not currently happening (different hibernation failure now) but I have to say if this is the way it really works that is completely user unfriendly and almost worthless. User shouldn't have to care what their memory usage is.
That's from design. You need not care, mostly the kernel manages this correctly. The only thing you can not is to mlock more than 1/2 of memory. For more details please see kernel documentation - /usr/share/doc/kernel-doc*/Documentation/powers/swsusp.txt). The mlocked memory can not be swapped. If you need to have so much memory resident you should consider upgrading your memory.
There is nothing to fix in pm-utils, that's all kernel stuff.
Not pm-utils bug.