Author Topic: pam_limits(crond:session): invalid line 'user-name hard nproc ' - skipped  (Read 4963 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
hello,

i am getting the below warning with crond.service, is it critical ? how to fix it ? any suggestions......


-------------------------------------------------------------------------------------------------------------------
WARNING!

● crond.service - Command Scheduler
   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-05-03 12:08:05 CEST; 10h ago
 Main PID: 545 (crond)
   CGroup: /system.slice/crond.service
           └─545 /usr/sbin/crond -n

May 03 18:00:01 server.smartwebsolutions.club crond[22006]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22007]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22007]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22006]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22008]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:00:01 server.smartwebsolutions.club crond[22008]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 18:01:01 server.smartwebsolutions.club crond[22108]: pam_limits(crond:session): invalid line 'sws hard nproc ' - skipped
May 03 18:01:01 server.smartwebsolutions.club crond[22108]: pam_limits(crond:session): invalid line 'sws hard nofile ' - skipped
May 03 20:11:01 server.smartwebsolutions.club crond[545]: (root) RELOAD (/var/spool/cron/root)
May 03 20:15:01 server.smartwebsolutions.club crond[545]: (root) RELOAD (/var/spool/cron/root)

Offline
*
edit that user from cwp admin and change nproc/nofile limit
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
and where is that option , i cant find it....  nproc/nofile limit ....what should be the limit set??? details plz