Заметил в логах такую запись:
Код: Выделить всё
Apr 12 21:50:44 bsd pop3d: authdaemon: socket() failed: No buffer space available
Apr 12 21:50:44 bsd Maximum connection limit reached for 80.229.43.248Заранее вам спаибо.
Модератор: terminus
Код: Выделить всё
Apr 12 21:50:44 bsd pop3d: authdaemon: socket() failed: No buffer space available
Apr 12 21:50:44 bsd Maximum connection limit reached for 80.229.43.248Код: Выделить всё
Server has no buffer space. Check 'netstat -m' output. You
probably have to adjust number of mbufs allocated, see tuning(7).
Код: Выделить всё
#netstat -m
149/631/780 mbufs in use (current/cache/total)
130/310/440/16960 mbuf clusters in use (current/cache/total/max)
130/197 mbuf+clusters out of packet secondary zone in use (current/cache)
2/197/199/8480 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/4240 9k jumbo clusters in use (current/cache/total/max)
0/0/0/2120 16k jumbo clusters in use (current/cache/total/max)
305K/1565K/1871K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/87/4496 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
256 requests for I/O initiated by sendfile
0 calls to protocol drain routines
#Код: Выделить всё
Apr 12 21:50:44 bsd Maximum connection limit reached for 80.229.43.248посмотрите список IP с которых больше всего соединений:maineville писал(а): Но после каждого сообщение, сразу же выводится строка:Код: Выделить всё
Apr 12 21:50:44 bsd Maximum connection limit reached for 80.229.43.248
Именно с этим ипишником 80.229.43.248 я думаю что все связанно.
Код: Выделить всё
netstat -nptcp | egrep -v 'Active|Address' | awk '{print $5}' | awk -F . '{print $1"."$2"."$3"."$4}' | sort | uniq -c | sort -n | tail -n 10Код: Выделить всё
netstat -nptcp | egrep '80.229.43.248' | awk '{print $4" "$5}' | awk -F . '{print $1"."$2"."$3"."$4" "$5"."$6"."$7"."$8" "$9}' | xargs -n 4 tcpdrop