Deleting network interfaces takes a long time in RHEL6
Issue
-
Destroying network devices takes about 1 second on average each.
-
ifdowning the interfaces first somewhat alleviates the issue.
- This is very noticable while using a script like following.
#!/bin/bash
#
# set down a load of vlansLIMIT=110
for ((a=10; a <= LIMIT ; a++))
do
ip link delete eth0.${a}
done
Environment
- Red Hat Enterprise Linux 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.