It takes three or more seconds to copy a file when collecting sosreport.

Solution Verified - Updated -

Issue

  • It takes about 5 or 6 hours to collect sosreport.

  • Checking the sos.log in sosreport, it will take 3 or more seconds to copy a single file. But it only takes milliseconds to copy a file with cp command.

       2014-10-25 15:11:24,592 verbose3: copying file /etc/udev/udev.conf
       2014-10-25 15:11:27,586 verbose3: copying file /etc/udev/rules.d/40-multipath.rules
       2014-10-25 15:11:30,572 verbose3: copying file /etc/udev/rules.d/95-dataeng-udev.rules
       2014-10-25 15:11:33,562 verbose3: copying file /etc/udev/rules.d/60-pcmcia.rules
       2014-10-25 15:11:36,549 verbose3: copying file /etc/udev/rules.d/99-fuse.rules
       2014-10-25 15:11:39,549 verbose3: copying file /etc/udev/rules.d/90-hal.rules
       2014-10-25 15:11:42,540 verbose3: copying file /etc/udev/rules.d/60-net.rules
       2014-10-25 15:11:45,521 verbose3: copying file /etc/udev/rules.d/05-udev-early.rules
       2014-10-25 15:11:48,511 verbose3: copying file /etc/udev/rules.d/85-pcscd_ccid.rules
       2014-10-25 15:11:51,503 verbose3: copying file /etc/udev/rules.d/60-wacom.rules
       2014-10-25 15:11:54,493 verbose3: copying file /etc/udev/rules.d/95-pam-console.rules
       2014-10-25 15:11:57,480 verbose3: copying file /etc/udev/rules.d/61-uinput-wacom.rules
       2014-10-25 15:12:00,471 verbose3: copying file /etc/udev/rules.d/51-hotplug.rules
       2014-10-25 15:12:03,466 verbose3: copying file /etc/udev/rules.d/bluetooth.rules
       2014-10-25 15:12:06,467 verbose3: copying file /etc/udev/rules.d/61-uinput-stddev.rules
       2014-10-25 15:12:09,449 verbose3: copying file /etc/udev/rules.d/60-raw.rules
       2014-10-25 15:12:12,431 verbose3: copying file /etc/udev/rules.d/90-alsa.rules
       2014-10-25 15:12:15,421 verbose3: copying file /etc/udev/rules.d/98-kexec.rules
       2014-10-25 15:12:18,434 verbose3: copying file /etc/udev/rules.d/90-dm.rules
       2014-10-25 15:12:21,427 verbose3: copying file /etc/udev/rules.d/50-udev.rules
    
  • When collecting sosreport, the cpu usage will jump to 100%:

       # ps auxwwwf |grep sosreport
    

Environment

  • Red Hat Enterprise Linux 5 update 8
    • python-2.4.3-46.el5.x86_64
    • sos-1.7-9.62.el5.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In