linux------------Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

时间:2023-03-08 19:56:38
linux------------Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

今天突然遇到这个么一个奇葩的问题,直接说问题的原因:原因是我们创建了一个计划任务,这个计划任务是一分钟执行一次,是iptables封ip的一个sh脚本。由于攻击我们的ip太多,已经达到了几千个,这个脚本执行完一次需要的时间超过了一分钟,也就是这次还没执行完,下次又开始执行了 ,所以导致了标题显示的英文错误,提示这个xtable被占用,其实就是被他自己占用了