On Thu, Jul 31, 2025 at 05:31:02PM -0600, Leo Sandoval wrote:
> This week I am experimenting long latencies when running 
> 
> `fedpkg srpm`
> 
> (around 5 minutes, real time).
> 
> `strace -c fedpkg srpm` is telling me that the 'wait4' syscall is the one
> consuming most of the time (85%)

You'll need to use 'strace -f ...' to follow whatever subprocess it is
waiting for.

Also 'dnf update fedpkg fedora-packager python3-rpkg' to make sure
you're at the latest version.

> My network connection is not the fastest but running the rhpkg srpm I 
> basically got instant results.  Also, I am not sure if these delays started
> after the data center move but perhaps that may be a factor.
> 
> Any idea how to debug this one?

For me, long delays like this are always kerberos.  'fedpkg srpm'
needs to check and/or download the sources, so it's plausible that
kerberos is being used.  Anyway in case you want to discount kerberos
as being the problem you can do:

KRB5_TRACE=/dev/stdout fedpkg srpm

(for me that prints nothing extra).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to