On Tue, Feb 17, 2009 at 10:05 AM, Tom London <selinux@xxxxxxxxx> wrote: > Looking at the bootchart, appears that system is spending about 5 > seconds elapsed time doing a "find". > > I think I tracked this down to the following snippet from /etc/rc.d/rc.sysinit: > > # Clean up /var. > rm -rf /var/lock/cvs/* /var/run/screen/* > find /var/lock /var/run ! -type d -exec rm -f {} \; > rm -f /var/lib/rpm/__db* &> /dev/null > rm -f /var/gdm/.gdmfifo &> /dev/null > > The problem is, I seem to have over 325 entries in /var/run/gdm of the form: > > [root@tlondon gdm]# ls |wc > 326 326 6520 > [root@tlondon gdm]# > > > [root@tlondon gdm]# ls -lt | head > total 1304 > drwxrwxrwt 2 tbl tbl 4096 2009-02-17 09:02 auth-for-tbl-VJxBYM > drwxrwxrwt 2 gdm gdm 4096 2009-02-17 09:01 auth-for-gdm-Lpopiu > drwxrwxrwt 2 tbl tbl 4096 2009-02-16 07:39 auth-for-tbl-CAt0DD > drwxrwxrwt 2 gdm gdm 4096 2009-02-16 07:39 auth-for-gdm-zEKwWb > drwxrwxrwt 2 tbl tbl 4096 2009-02-13 17:25 auth-for-tbl-Hhw23F > drwxrwxrwt 2 gdm gdm 4096 2009-02-13 17:25 auth-for-gdm-CsXMMG > drwxrwxrwt 2 gdm gdm 4096 2009-02-08 15:27 auth-for-gdm-KVALOw > drwxrwxrwt 2 tbl tbl 4096 2009-02-08 15:27 auth-for-tbl-2JXTRC > drwxrwxrwt 2 gdm gdm 4096 2009-02-06 12:56 auth-for-gdm-EOu7CD > [root@tlondon gdm]# > > Oldest entries: > > [root@tlondon gdm]# ls -lrt | head > total 1304 > drwxrwxrwt 2 gdm gdm 4096 2008-10-17 14:11 auth-for-gdm-sA9Si4 > drwxrwxrwt 2 tbl tbl 4096 2008-10-20 23:12 auth-for-tbl-0mcMmJ > drwxrwxrwt 2 gdm gdm 4096 2008-10-20 23:12 auth-for-gdm-K9AaX6 > drwxrwxrwt 2 tbl tbl 4096 2008-10-28 10:11 auth-for-tbl-9DQPFo > drwxrwxrwt 2 gdm gdm 4096 2008-10-28 10:11 auth-for-gdm-qW9ehq > drwxrwxrwt 2 tbl tbl 4096 2008-10-28 10:30 auth-for-tbl-tyoE78 > drwxrwxrwt 2 gdm gdm 4096 2008-10-28 10:30 auth-for-gdm-rAR0ac > drwxrwxrwt 2 tbl tbl 4096 2008-10-28 14:15 auth-for-tbl-O6TyNk > drwxrwxrwt 2 gdm gdm 4096 2008-10-28 14:15 auth-for-gdm-KscdOd > [root@tlondon gdm]# > > What should be cleaning these up? > Manually cleaning out /var/run/gdm shaves ~4 seconds off my boot. BZ filed here: https://bugzilla.redhat.com/show_bug.cgi?id=485974 tom -- Tom London -- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list