Page 1 of 1

Altering PT_USERMEM and csf.pignore not working?

Posted: 04 Mar 2014, 22:00
by ylluminate
I am getting alerts for memory usage and a user. Errors such as these are spamming my inbox:
• lfd on server: Excessive resource usage: username (13319 (Parent PID:10223))


And so forth. I changed the memory for PT_USERMEM in /etc/csf/csf.conf to 500 from 200 and issued `csf -r`. Sadly I am still getting erros about exceeding the amount of memory. Similarly I have tried to use csf.pignore with an entry of `user:usernam` to hopefully eliminate issues such as an additional user assigned the uid of 0. Unfortunately it seems as though these changes are not becoming active as I am still being flooded with these.

Any idea as to what may be going on here?

Re: Altering PT_USERMEM and csf.pignore not working?

Posted: 04 Mar 2014, 22:05
by ForumAdmin
You have to restart csf and lfd after making any changes to csf.conf

Re: Altering PT_USERMEM and csf.pignore not working?

Posted: 05 Mar 2014, 00:18
by ylluminate
So I thought I did that already in terms of restarting *both*, just for a sanity check will you tell me the shell command to restart both of these correctly? After I restart this way vs the web page, I'll see what happens.

EDIT: So yes, I did verify that both are restarted and the same thing still happens. Any additional thoughts?

Re: Altering PT_USERMEM and csf.pignore not working?

Posted: 05 Mar 2014, 17:58
by ylluminate
Just to clarify here, I did the following to restart `csf` and `lfd` and still having the same results:

Code: Select all

csf -r
service lfd restart

Re: Altering PT_USERMEM and csf.pignore not working?

Posted: 12 Jan 2015, 01:02
by w9jun
usermem and pignore definitely doesn't work.

I get hundreds and hundreds of emails

Re: Altering PT_USERMEM and csf.pignore not working?

Posted: 07 Dec 2015, 09:17
by rajivcj12
Hello,

I have had this issue and was able to fix it by killing the sleeping lfd process and restarting lfd.

Code: Select all

[root@xxxxxx]# ps -aux | grep lfd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root       60471  0.0  0.0 103304   896 pts/0    S+   03:57   0:00 grep lfd
root     1010265  0.1  0.1 147152 12328 ?        Ss   00:00   0:20 lfd - sleeping

Code: Select all

[root@xxxxx]# kill -9 1010265

Code: Select all

[root@xxxxxxx]# /etc/init.d/lfd start
Starting lfd:                                              [  OK  ]