gs06 wrote: 
> I had already tried it (as I also tried the :dev tagged containers), but
> I can try it again. 
> 
> I could also give running it with NYTProf a try, but I currently do not
> know, how I could
> install the software required for this in the docker container (or does
> it come with
> the container) and how I could trigger this when starting the container.
> Do I
> need to add some lines to an Apache config file inside the container for
> this
> (as indicated on page 20 of the slides you pointed to), and if so where
> does this
> config file reside in the container?

Ok, I just gave it another try with the following script to run the
container
(I deleted everything in the lms_config directory before staring the
command):

cat lms_dockersetup.sh
docker run -it \
-v "/mnt/owenhd/Media/lms_config":"/config":rw \
-v "/mnt/owenhd/Media/Music":"/music":ro \
-v "/mnt/owenhd/Media/Playlists":"/playlist":rw \
-v "/etc/localtime":"/etc/localtime":ro \
-v "/etc/timezone":"/etc/timezone":ro \
-p 9000:9000/tcp \
-p 9090:9090/tcp \
-p 3483:3483/tcp \
-p 3483:3483/udp \
-e HTTP_PORT=9000 \
-e PUID=1000 \
-e PGID=1000 \
lmscommunity/logitechmediaserver:dev

The following output appears:

~/scripts$ ./lms_dockersetup.sh &
[1] 420442
~/scripts$ Unable to find image 'lmscommunity/logitechmediaserver:dev'
locally
dev: Pulling from lmscommunity/logitechmediaserver
a2abf6c4d29d: Pull complete
1252b1c93025: Pull complete
121b0c87d7e8: Pull complete
7d222d9dd1d5: Pull complete
ae06a3271307: Pull complete
5e15bfe21ec1: Pull complete
a8e40d6806ab: Pull complete
1cc840b27cae: Pull complete
Digest:
sha256:38338d62c96d27186f7bdcc19f9114cab320f1208f44465285618aa90c11cc7f
Status: Downloaded newer image for lmscommunity/logitechmediaserver:dev

After the initial scan finished, the server shows:

Logitech Media Server Version: 8.3.0 - 1640614615 @ Mon Dec 27 15:51:43
CET 2021
Hostname: 0c0131a9039d
Server IP Address: 172.17.0.6
Server HTTP Port Number: 9000
Operating system: Debian (Docker) - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.32.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 1.05
IO::Socket::SSL: 2.069
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 7

Media Scan Details

Discovering files/directories: /music   (191171 of 191171)   Complete 
00:00:26

Scanning new music files: /music   (173307 of 173307)   Complete 
01:01:58

Building full text index   (7 of 7)   Complete  00:20:13

Pre-caching Artwork   (10619 of 10619)   Complete  00:07:14

Database Optimize   (2 of 2)   Complete  00:00:37

The server has finished scanning your media library.
Total Time: 01:30:28 (Thursday, December 30, 2021 / 3:46 PM)


Still, top shows the following activities:

top - 15:50:22 up 1 day, 32 min,  3 users,  load average: 5,60, 6,28,
6,70
Tasks: 431 total,   2 running, 428 sleeping,   1 stopped,   0 zombie
%Cpu(s): 24,8 us, 18,5 sy,  0,0 ni, 47,3 id,  6,6 wa,  0,0 hi,  2,8 si, 
0,0 st
MiB Mem :  15880,8 total,   1679,0 free,   3735,3 used,  10466,4
buff/cache
MiB Swap:   2048,0 total,   2022,7 free,     25,2 used.  11708,3 avail
Mem

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+
COMMAND
420443 user  20   0 1867856  50680  31552 S 197,7   0,3 196:55.83
docker
424397 user  20   0  253504 237760  13516 R  99,7   1,5  94:27.54 perl
2811 root      20   0 2861796  78856  33172 S  10,3   0,5  43:51.29
dockerd
420735 root      20   0 1594060   9084   2932 S   8,9   0,1   7:19.94
docker-proxy
1131 root      20   0 1862968  32184  14264 S   7,6   0,2  51:41.23
containerd
420756 root      20   0  713112  10920   7268 S   3,3   0,1   3:05.35
containerd-shim
42 root      20   0       0      0      0 S   1,3   0,0   2:13.97
ksoftirqd/5
3222 root      20   0  713112  11132   7284 S   0,7   0,1   7:38.98
containerd-shim
7270 unifi     20   0 1041312 116532  34156 S   0,7   0,7  11:15.67
mongod
11 root      20   0       0      0      0 I   0,3   0,0   2:33.38
rcu_sched
426 root      20   0       0      0      0 S   0,3   0,0   0:38.11
jbd2/nvme0n1p3-
1107 root      20   0  884420  48720  11920 S   0,3   0,3   6:47.35
glances
1311 root      20   0  921980  66032  34532 S   0,3   0,4   6:17.67
Xorg
3289 root      20   0  713112  10964   7112 S   0,3   0,1   6:29.09
containerd-shim
3388 root      20   0  713112  10472   7084 S   0,3   0,1   6:26.13
containerd-shim
3507 root      20   0  712856   9960   6208 S   0,3   0,1   6:39.73
containerd-shim
3700 root      20   0  713112  10384   6768 S   0,3   0,1   6:38.72
containerd-shim
3872 systemd+  20   0   52820   7380   5720 S   0,3   0,0   3:09.18
redis-server

[truncated]


------------------------------------------------------------------------
gs06's Profile: http://forums.slimdevices.com/member.php?userid=70601
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to