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?
Altering PT_USERMEM and csf.pignore not working?
-
- Junior Member
- Posts: 4
- Joined: 04 Mar 2014, 21:53
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Altering PT_USERMEM and csf.pignore not working?
You have to restart csf and lfd after making any changes to csf.conf
-
- Junior Member
- Posts: 4
- Joined: 04 Mar 2014, 21:53
Re: Altering PT_USERMEM and csf.pignore not working?
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?
EDIT: So yes, I did verify that both are restarted and the same thing still happens. Any additional thoughts?
-
- Junior Member
- Posts: 4
- Joined: 04 Mar 2014, 21:53
Re: Altering PT_USERMEM and csf.pignore not working?
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?
usermem and pignore definitely doesn't work.
I get hundreds and hundreds of emails
I get hundreds and hundreds of emails
Re: Altering PT_USERMEM and csf.pignore not working?
Hello,
I have had this issue and was able to fix it by killing the sleeping lfd process and restarting lfd.
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 ]