a_n_h 590 Posted 2024-04-20 07:40:54 Share Posted 2024-04-20 07:40:54 Всем доброго дня и мирного неба! Обратил внимание, что постоянно уменьшается место на диске. В основном захламляется папка /var/spool/clientmqueue - почти 40 ГБт, и каждые сутки добавляется более 600 МБт. В основном файлы типа: - df43K7U0rb066139 - df43K7U0k6066140 - df43K7U0fH066138 - и т.д. с содержимым вроде: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23 100 23 0 0 1616 0 --:--:-- --:--:-- --:--:-- 1642 и еще такого типа: V8 T1713597600 K1713597675 N1 P30502 MDeferred: Operation timed out with [127.0.0.1] Fbs $_root@localhost ${daemon_flags}c u Sroot Aroot@ISP_ХХХХХХХ.localdomain C:root rRFC822; root@ISP_ХХХХХХХ.localdomain RPFD:root H?P?Return-Path: <Ѓg> H??Received: (from root@localhost) by ISP_ХХХХХХХ.localdomain (8.17.1/8.17.1/Submit) id 43K7K0Oh064246; Sat, 20 Apr 2024 10:20:00 +0300 (EEST) (envelope-from root) H?D?Date: Sat, 20 Apr 2024 10:20:00 +0300 (EEST) H?x?Full-Name: CronDaemon H?M?Message-Id: <202404200720.43K7K0Oh064246@ISP_ХХХХХХХ.localdomain> H??From: Cron Daemon <root@ISP_BaltaInet> H??To: root H??Subject: Cron <root@ISP_ХХХХХХХ> /bin/ubapi "watchdog" H??X-Cron-Env: <SHELL=/bin/sh> H??X-Cron-Env: <LOGNAME=root> H??X-Cron-Env: <USER=root> подскажите, что или кто это сохраняет на диске и как его отключить... Link to post Share on other sites
vop 370 Posted 2024-04-20 21:50:42 Share Posted 2024-04-20 21:50:42 (edited) From: Cron Daemon <root@ISP_BaltaInet> Сделать так,что бы задания cron не ругались. Edited 2024-04-20 21:52:07 by vop Link to post Share on other sites
skybetik 134 Posted 2024-04-21 10:38:34 Share Posted 2024-04-21 10:38:34 А ще не світить у мір mysql & stg Link to post Share on other sites
a_n_h 590 Posted 2024-04-21 13:19:19 Author Share Posted 2024-04-21 13:19:19 2 часа назад, skybetik сказал: А ще не світить у мір mysql & stg да вроде в файрволле "по умолчанию" блокируются: # mysql access ${FwCMD} add 30 deny ip from any to me dst-port 3306 ${FwCMD} add 30 deny ip from me to any src-port 3306 # sgconf access ${FwCMD} add 40 deny ip from any to me dst-port 5555 ${FwCMD} add 40 deny ip from me to any src-port 5555 счетчики считают: 00030 3814 181770 deny ip from any to me 3306 00030 0 0 deny ip from me 3306 to any 00040 7187 340870 deny ip from any to me 5555 00040 0 0 deny ip from me 5555 to any Link to post Share on other sites
skybetik 134 Posted 2024-04-21 14:02:32 Share Posted 2024-04-21 14:02:32 42 minutes ago, a_n_h said: да вроде в файрволле "по умолчанию" блокируются: # mysql access ${FwCMD} add 30 deny ip from any to me dst-port 3306 ${FwCMD} add 30 deny ip from me to any src-port 3306 # sgconf access ${FwCMD} add 40 deny ip from any to me dst-port 5555 ${FwCMD} add 40 deny ip from me to any src-port 5555 счетчики считают: 00030 3814 181770 deny ip from any to me 3306 00030 0 0 deny ip from me 3306 to any 00040 7187 340870 deny ip from any to me 5555 00040 0 0 deny ip from me 5555 to any 77.52.*.* Ваш айпи ? Link to post Share on other sites
mixtery 121 Posted 2024-04-21 20:14:44 Share Posted 2024-04-21 20:14:44 crontab -e add before commands MAILTO="" will disable sending emails about any cron jobs 1 Link to post Share on other sites
ProstoName 4 Posted 2024-04-22 06:38:38 Share Posted 2024-04-22 06:38:38 в кронтабі команди писати через "-n": */20 * * * * -n /bin/ubapi "swping" 1 Link to post Share on other sites
a_n_h 590 Posted 2024-04-22 06:48:36 Author Share Posted 2024-04-22 06:48:36 10 часов назад, mixtery сказал: crontab -e add before commands MAILTO="" will disable sending emails about any cron jobs 6 минут назад, ProstoName сказал: в кронтабі команди писати через "-n": */20 * * * * -n /bin/ubapi "swping" Всім дякую, спробую! Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now