[Gllug] RPM difficulties

Vidar Hokstad vidar at hokstad.name
Wed Oct 30 16:01:22 UTC 2002


On Wed, 2002-10-30 at 15:57, Xander D Harkness wrote:
> Not that it makes much difference.  the same thing happened on rpm 
> --initdb ; rpm --rebuilddb
> 
> open("/var/lib/rpm/Packages", O_RDWR|O_LARGEFILE) = 3
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
> fstat64(3, {st_mode=S_IFREG|0644, st_size=24371200, ...}) = 0
> brk(0x8059000)                          = 0x8059000
> select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0} <unfinished ...>

Notice there's no filedescriptors in the fd sets, so
presumably it's doing something else in between the select()'s
and using select() only as a timer. Have you tried ltrace, to
see what calls it makes to glibc or other libs?

Vidar





-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list