Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Testpoint container for rpi4

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Testpoint container for rpi4


Chronological Thread 
  • From: Otto J Wittner <>
  • To:
  • Subject: Re: [perfsonar-user] Testpoint container for rpi4
  • Date: Tue, 20 Jun 2023 16:41:44 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sikt.no; dmarc=pass action=none header.from=sikt.no; dkim=pass header.d=sikt.no; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P+a98kZDSKDftiDOfBvcYGFX1ugLnl2i5Wr5xJwbZsU=; b=IW821KXy9OKVvLkTIRTq4DMaMsCYJHdnELc9O2urV/aaaqScCwyBMy9+AhcqGW0KBcuYijbhskaF9EeISAY+1cVWWWsXa3V1ybsuq99FgeSaZyBuiff7Uc9DLa3m+Zm4L5ajPVbVPfG4ZU6fQN/XG9Pex7LIUDd2RxDUhJKKxWMjEei69/ly8eHhRaH+xgTPzpa1WNuowR3KSf19DB0QJDmdJZ8yXnCzBpE1hUw8lLXC/LJxtHhv6Gnjzk91+acHUJGhmQvZ5xV6udlDhzbMzz2DAvxuLVKSBMJfhzDiD/Y3Z3quuFVEOJv3ioNGblBzoAapeKJNwJ/0kqNR+5klrg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ycm+cOKM7D1FOWFmCvYqt7k8Nfz0DlsSjw9x/CyKZkJy7M0awheBWxpgzbT/oJKU1NZm5sazWTCB9FnkI8pbQMaq0AsNkprVJy+WgKPEpvuayZ1DAcTQJZUg1j4lWGxa+sQOKn3kSA4nGueVIodLa2QNJjfP/jk3kwB4QCYex2HZ48AekQe3Ublh6NjLij7OJo+l8EfKneWLPJW9GJq8ebveMAYhElMfzEToc4gKJDaAat+uglStePIbltkgndbZlQTUXG7oVavWgVSwHlhhLIb6ByCyjDbOh3e3pNpcrIEiRKiVKv9ClwkiDVY46K0pEWRuQwX5xJu2pqJYnz1GGA==

Hi,

... and the https://github.com/perfsonar/perfsonar-testpoint-docker project might also be of some help, (but you've probably already been there.)

O2

On 20.06.2023 16:31, Luke Whitworth wrote:
Cheers Mark,

I hadn’t really approached syslog so that makes sense…..cheers for the pointer.

Luke

*From: *Mark Feit <>
*Date: *Tuesday, 20 June 2023 at 15:29
*To: *Luke Whitworth <>, <>
*Subject: *Re: Testpoint container for rpi4

Luke Whitworth writes:

Warning:  This is no doubt a huge mess, there’s probably much better ways to do this and running the container throws errors repeatedly such as:

 …

OSError: [Errno 9] Bad file descriptor

FileNotFoundError: [Errno 2] No such file or directory

Those errors are indicative of syslog clients being unable to connect to the log socket.  The entry point script attempts (and fails) to start “rysylog” instead of “rsyslog” and that socket ends up not existing.

If I can offer a couple of suggestions:

* Shell scripts should always have the -e switch in effect so they die
immediately when something fails.  This error would have torpedoed
the container before it got off the ground.  The trade-off is that
you have to take explicit steps to make sure the shell doesn’t exit
on failures you don’t care about.
* Consider custom-configuring rsyslog so it sends log message to
another server over the network.  That will cut down on disk write
activity.

--Mark


--
To unsubscribe from this list:
https://lists.internet2.edu/sympa/signoff/perfsonar-user

--
Otto J Wittner, PhD, Senior Engineer
https://sikt.no +47 99550566



Archive powered by MHonArc 2.6.24.

Top of Page