On Wed, Mar 17, 2010 at 10:04 AM, Alejandro Imass <a...@p2ee.org> wrote: > On Wed, Mar 17, 2010 at 4:03 AM, Glenn Camilleri <glenn...@gmail.com> wrote: >> Hi, >> >> >> >> I have some processes and programs that are custom made to run on FreeBSD. I >> suspect some poor implementation of tcp in these programs, but don’t have >> the real proof. > [...] >> >> Can you kindly advise ? >> > > Using the core dump is wise but ktrace will probably be easier. Just > run like this ktrace [program] 2>&1 | less > You should be able to spot the precise failing system call quite easily >
Ooops, my Linux background betrayed me, sorry (was thinking of strace). ktrace will produce a file which you later need to analyze with kdump. Running is the same but forget the output redirection, there is a -f switch to specify the outfile. > Best, > Alejandro Imass > >> >> >> BR, >> >> Glenn Camilleri >> >> -- >> Best Regards, >> Glenn Camilleri >> >> >> >> -- >> Best Regards, >> Glenn Camilleri >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" >> > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"