On 09/26/2011 04:06 PM, Mats Erik Andersson wrote:
>>> Aug 27 01:10:01 birger CRON[8697]: pam_limits(cron:session): \
>>>        Unknown kernel rlimit 'Max realtime timeout' ignored
>>>
>>> The system is running Testing, but this message was present
>>> with kernel 2.6.32-5 as well as presently with 2.6.39-2.
>>
>> Could you please provide the contents of your /etc/pam.d/cron session file as
>> well as of your /etc/security/limits.conf file?
> 
> The file 'limits.conf' consists of commented out text and empty lines,
> no active content.

Did you also check /etc/security/limits.d/ ?

> The 'cron' description is the original
...
>   # Sets up user limits, please define limits for cron tasks
>   # through /etc/security/limits.conf
>   session    required   pam_limits.so

This line means that cron will use whatever limits are configured on
your system in general -- we don't ship any limits with cron.

So the error you are seeing must come from either limits.conf or
limits.d, at least that is my understanding of pam_limits(8).

Christian

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to