Log getting flooded by rpcbind message


Recommended Posts

Hi,

 

My log is getting flooded by rpcbind message every 10s

 

Mar 1 21:16:26 nazgul rpcbind[32662]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:16:36 nazgul rpcbind[32704]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:16:36 nazgul rpcbind[32705]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:16:46 nazgul rpcbind[308]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:16:46 nazgul rpcbind[309]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:16:56 nazgul rpcbind[399]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:16:57 nazgul rpcbind[400]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:06 nazgul rpcbind[496]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:06 nazgul rpcbind[499]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:16 nazgul rpcbind[563]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:16 nazgul rpcbind[564]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:26 nazgul rpcbind[654]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:26 nazgul rpcbind[655]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:36 nazgul rpcbind[697]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:37 nazgul rpcbind[698]: connect from 192.168.254.228 to getport/addr(mountd)
Mar 1 21:17:46 nazgul rpcbind[765]: connect from 192.168.254.228 to getport/addr(mountd)

 

192.168.254.228  is a proxmox server configure to mount the unraid via NFS for ISO and Backup

 

how to to setup rpcbind to be less chatty ?

Link to comment

Greetings,

Long time since i've posted here. 

I hope this is still a valid way of doing things but seems to be working for me in 6.8.3

You should have a file at /boot/config/rsyslog.conf

That's the base config file for rsyslog, what i often do is just drop messages entirely. Again, forgive me if i haven't stayed current, but what i do is the following. 
1. open up /boot/config/rsyslog.conf with an editor

2. find the line that reads: # limetech - everything goes to syslog.

3. underneath that line, add a log exclusion:

 

:msg,contains,"connect from 192.168.254.228 to getport" ~

 

One example I use is:

:msg,contains,"spindown" ~

 

4. if you want to do this without a reboot, you can probably add the desired entry to the active rsyslog.conf file at /etc/rsyslog.conf
5. and then you'll need to restart rsyslog via: /etc/rc.d/rc.rsyslogd restart

 

May or may not work as advertised, but i think it should? 

Hope this helps, and thank you for getting me engaged in the community again.

Del

 

Edited by Delarius
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.