Re: Re: Fwd: Recuperar el espacio de lo ilegible.

2022-09-01 Thread Aristobulo Pinzon
>
> El 1/9/22 a las 18:21, Aristobulo Pinzon escribió:
>
> Hola gente inteli...
>
> Me estoy quedando sin espacio en la partición raíz y me aparece esto:
>
> Tamaño:
>
> 278107 elementos, en total 8,6 GiB (9.204.394.052 bytes)
>
> (parte del contenido es ilegible)
>
> 18,0 MiB libres de 9,4 GiB (99% en uso)
>
> Cómo recupero el espacio de lo ilegible?
>
> Muchas gracias.
>
> No entiendo qué es
>  " (parte del contenido es ilegible) "
> Si transcribes lo que sale por pantalla, va a ser más fácil entender.
Gracias por su opinión.
Lo que dice: (parte del contenido es ilegible) hace parte del mensaje de error.

>
> " 18,0 MiB libres de 9,4 GiB (99% en uso) "
>
> ¿Eh? ¿qué versión y escritorio estás usando con una partición / de apenas 
> 10GB? Desde "sarge" que no asigno tan poco espacio. Un Debian 11 "bullsyee" 
> con LXQt ocupa por lo menos 19Gb en la partición / (raíz), sin contar, por 
> supuesto, /home.

En la instalación hizo la partición automática asignando ese poco
espacio a la partición raíz.
/var /tmp y /home van por particiones diferentes.

>
> Vas a tener que redimensionar tus particiones.
> gparted es tu guía.
>
> Una cosa que puedes hacer, es limpiar el directorio
> /var/cache/apt/archives/
> Esos archivos no son necesarios para el funcionamiento del sistema.

Haré lo que sugieres respecto a limpiar el directorio
/var/cache/apt/archives/  Algo se recupera!.
>
> Un sitio que te puede ayudar
> https://docs.bluehosting.cl/troubleshooting/servidores/guia-para-solucionar-el-problema---la-particion-root-esta-llena.html

También desinstalar los reproductores parole y mpv media player para
poder instalar vlc
y no instalar mas nada!...
>
> JAP
Gracias por todo.
>
>

-- 
La Razón en su sentido absoluto no es algo que esté en el cielo
esperando a ser descubierto, sino que está mezclada con la sinrazón,
con lo irrelevante y lo cotidiano.



Re: Windows on VMware on Deb 11: safely usable?

2022-09-01 Thread john doe

On 9/1/2022 4:28 PM, Tom Browder wrote:

On Mon, Aug 22, 2022 at 1:26 PM john doe  wrote:
...

So I will try Debian 11's packages "qemu-kvm" and "aqemu" and install
Windows 10" as a test on my current main host, but only if I can remove all
if I need to and if it will not interfere with my smooth running setup. Is

...

If you go with Libvirt, you can remove everything if you so choose by
doing something like:
$ apt-get --autoremove purge libvirt


So I should install package libvrt and that's all I need? Will it
bring in all the other packages mentioned above?



No sorry there is no libvirt pkg in Debian, I used the wiki [1] to get
me going.

If you want to purge, you should substitute the libvirt pkg above by
'qemu-system libvirt-daemon-system'.

If you also add virt-manager or virt-inst, you will need to also add
those on the command line.


[1] https://wiki.debian.org/KVM#Installation

--
John Doe



Re: lowriter fails to launch pdf file from cli

2022-09-01 Thread jindam, vani



On 2 September 2022 3:09:43 AM UTC, David Wright  
wrote:
>On Fri 02 Sep 2022 at 01:02:10 (+), jindam, vani wrote:
>> i am trying to open pdf file from cli:
>> $ /usr/bin/lowriter --inputfilter="*.pdf" /home/user/file.pdf
>
>  ↑↑↑
>
>> the above command fails to open pdf file
>> 
>> what am i doing wrong?
>
>Try removing the characters "put": it's --infilter.
>
>Note that I don't know what kinds of string are expected as an
>argument to infilter, but *.pdf worked for me in your example.

its not working for pdf, but working for docx files. is it perhaps i have 
installed lowriter w/o recommends in apt.conf? there is a recent enhancement 
issue on bugzilla about opening pdf files, i will check later

>
>Cheers,
>David.
>



Re: net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-01 Thread Casey Deccio



> On Sep 1, 2022, at 10:33 PM, Casey Deccio  wrote:
> 
> I've come across some unexpected changes in interface behavior between 
> linux-image-5.10.0-13-amd64 and linux-image-5.10.0-17-amd64.
> 

Relatedly, there is this behavior change:

linux-image-5.10.0-13-amd64:

$ sudo ip link add test1 type veth peer test2
$ ip addr | grep test[12]
2372: test2@test1:  mtu 1500 qdisc noop state DOWN 
group default qlen 1000
2373: test1@test2:  mtu 1500 qdisc noop state DOWN 
group default qlen 1000


linux-image-5.10.0-17-amd64:

$ sudo ip link add test1 type veth peer test2
$ ip addr | grep test[12]
214: test2@test1:  mtu 1500 qdisc 
noqueue state UP group default qlen 1000
215: test1@test2:  mtu 1500 qdisc 
noqueue state UP group default qlen 1000

Default DOWN vs. default UP.

Casey



net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-01 Thread Casey Deccio
I've come across some unexpected changes in interface behavior between 
linux-image-5.10.0-13-amd64 and linux-image-5.10.0-17-amd64.

Consider the following script:

$ cat test.sh
#!/bin/sh
sudo ip link add test1 type veth peer test2
sudo ip link set test1 down
sudo ip link set test2 down
sudo sysctl net.ipv6.conf.test1.disable_ipv6=1
sudo sysctl net.ipv6.conf.test2.disable_ipv6=1
sudo ip link set test1 up
sudo ip link set test2 up

(There might be a simpler way to trigger it, but this one works for me.)

When I run this on a system running linux-image-5.10.0-13-amd64, I get this 
behavior:

$ ./test.sh 
net.ipv6.conf.test1.disable_ipv6 = 1
net.ipv6.conf.test2.disable_ipv6 = 1
$  ip addr | grep -A 3 test[12]
2370: test2@test1:  mtu 1500 qdisc noqueue 
state UP group default qlen 1000
link/ether ea:fc:8a:36:09:fc brd ff:ff:ff:ff:ff:ff
2371: test1@test2:  mtu 1500 qdisc noqueue 
state UP group default qlen 1000
link/ether e2:e0:d2:09:0d:de brd ff:ff:ff:ff:ff:ff
$ sudo sysctl net.ipv6.conf.test1.disable_ipv6
net.ipv6.conf.test1.disable_ipv6 = 1
$ sudo sysctl net.ipv6.conf.test2.disable_ipv6
net.ipv6.conf.test2.disable_ipv6 = 1

No IPv6 addresses, and IPv6 is still disabled.  But when I run on a system 
running linux-image-5.10.0-17-amd64, I get this behavior:

$ ./test.sh 
net.ipv6.conf.test1.disable_ipv6 = 1
net.ipv6.conf.test2.disable_ipv6 = 1
$ ip addr | grep -A 3 test[12]
212: test2@test1:  mtu 1500 qdisc 
noqueue state UP group default qlen 1000
link/ether ce:16:79:86:ea:16 brd ff:ff:ff:ff:ff:ff
inet6 fe80::cc16:79ff:fe86:ea16/64 scope link 
   valid_lft forever preferred_lft forever
213: test1@test2:  mtu 1500 qdisc 
noqueue state UP group default qlen 1000
link/ether b6:8f:2e:59:1e:68 brd ff:ff:ff:ff:ff:ff
inet6 fe80::b48f:2eff:fe59:1e68/64 scope link 
   valid_lft forever preferred_lft forever
$ sudo sysctl net.ipv6.conf.test1.disable_ipv6
net.ipv6.conf.test1.disable_ipv6 = 0
$ sudo sysctl net.ipv6.conf.test2.disable_ipv6
net.ipv6.conf.test2.disable_ipv6 = 0

The interfaces are configured with link-local addresses, and IPv6 is no longer 
disabled.

I looked through the changelog for linux-image-5.10.0-17-amd64 and saw a number 
of changes from upstream involving sysctl, but I couldn't point to any one 
thing that might have caused this.

So... what I'm looking for is 1) a sanity check (can others confirm the 
behavior discrepancy?); 2) an expectation of *correct* behavior (seems to me 
like the 5.10.0-13 behavior is "correct"); and 3) suggestions for next steps.  
This has broken some software I've developed. I have a workaround, but it's not 
very pretty :)

P.S.  For those that are concerned that I'm disabling IPv6, this is for 
teaching the link layer, and it's really hard to do that with all the activity 
associated with IPv6.



Re: Seeing progross during fsck on boot

2022-09-01 Thread Porter Smith
Along the lines of what the others have said, as a policy it is  always  an 
extremely excellent idea to make  frequent and thorough backupa an store them 
in two or three separate places  as cloud based storage is abundant and dirt 
cheap.

On September 1, 2022 6:56:16 PM PDT, David  wrote:
>On Fri, 2 Sept 2022 at 07:59, Mike  wrote:
>
>[... fsck ... it would be nice to see the progress bar ...]
>
>> Does anyone have any suggestions for a solution or indeed where one may
>> look for one?
>
>Hi,
>
>To add to other replies, there is information about the '-C' option of the fsck
>command in two different manpages. Run the below commands to display them:
>man 8 fsck
>man 8 e2fsck
>(when you run fsck on a ext2/3/4 filesystem, it calls e2fsck to do the work).
>


Re: lowriter fails to launch pdf file from cli

2022-09-01 Thread David Wright
On Fri 02 Sep 2022 at 01:02:10 (+), jindam, vani wrote:
> i am trying to open pdf file from cli:
> $ /usr/bin/lowriter --inputfilter="*.pdf" /home/user/file.pdf

  ↑↑↑

> the above command fails to open pdf file
> 
> what am i doing wrong?

Try removing the characters "put": it's --infilter.

Note that I don't know what kinds of string are expected as an
argument to infilter, but *.pdf worked for me in your example.

Cheers,
David.



[SOLVED?] Re: Bookworm: Firefox v102 seems to be hanging quite often

2022-09-01 Thread local10
Aug 21, 2022, 18:28 by loca...@tutanota.com:

> Hi,
>
> Have upgraded to FF v102 a couple of days ago but it looks like something 
> isn't quite right with this version of FF. Have to restart it once or twice a 
> day because FF just stops responding. The issue doesn't seem to be related to 
> any particular site. Same hardware, same Debian (Bookworm), same FF plugins.
>
> The previous FF version (v91, IIRC) was a lot more stable, practically never 
> crashed or hanged.
>
> Just me? Thanks
>
> # aptitude show firefox-esr
> Package: firefox-esr   
> Version: 102.1.0esr-2
>
> # cat /etc/debian_version && uname -a
> bookworm/sid
> Linux tst 5.18.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10) 
> x86_64 GNU/Linux
>


Disabling hardware acceleration in FF seems to help, it still happening but a 
lot less often (days go by without any issues).

Thanks to everyone who responded.



Re: Seeing progross during fsck on boot

2022-09-01 Thread David
On Fri, 2 Sept 2022 at 07:59, Mike  wrote:

[... fsck ... it would be nice to see the progress bar ...]

> Does anyone have any suggestions for a solution or indeed where one may
> look for one?

Hi,

To add to other replies, there is information about the '-C' option of the fsck
command in two different manpages. Run the below commands to display them:
man 8 fsck
man 8 e2fsck
(when you run fsck on a ext2/3/4 filesystem, it calls e2fsck to do the work).



Re: is it possible to attach files on reportbug?

2022-09-01 Thread Ash Joubert

On 02/09/2022 13:03, jindam, vani wrote:

i want to attach files when creating a new issue
using reportbug. i could not find an option
to use it.


If I recall correctly, there is an option to attach files on the very 
last screen before submission. You can also reply to the submission 
confirmation email and any attached files will be attached to the issue.


Kind regards,

--
Ash Joubert (they/them) 
Director
Transient Software Limited 
New Zealand



is it possible to attach files on reportbug?

2022-09-01 Thread jindam, vani
hello debian users,

i want to attach files when creating a new issue 
using reportbug. i could not find an option 
to use it.

regards,
jindam, vani



lowriter fails to launch pdf file from cli

2022-09-01 Thread jindam, vani
hello debian users,

i am trying to open pdf file from cli:
$ /usr/bin/lowriter --inputfilter="*.pdf" /home/user/file.pdf

the above command fails to open pdf file

what am i doing wrong?

regards,
jindam, vani



Re: Seeing progross during fsck on boot

2022-09-01 Thread David Wright
On Thu 01 Sep 2022 at 22:51:44 (+0100), Mike wrote:
> It's a server, so runs 24x7 but every few months or so falls on its
> arse.  Periodically it wants to fsck the disks, either because they've
> gone 20 mounts or so without a fsck or more often because they've gone
> however many days it is without a fsck.
> 
> This I can live with.  I can even live with the fact that with several
> TB file systems and quite a few files, the processs takes around fuor
> hours.  I'd just be nice to have some progress reported.  While it
> managed to spit details of any file system errors that have been found
> and corrected, other than that it sits there utterly silent.  For hours.
> I can see that it's doing something as 1) it's expected behaviour and 2)
> I can see the disk light solid on.  Nevertheless, it would be nice to
> see the progress bar indicting how it was getting along.

You don't say which filesystem format you're using. The native
formats, ext2–4, can give you a progress bar with the -C option,
but only if filesystems are checked one at a time. With:

  # fsck -f -n -C /dev/sdz4

I get progress bars on the first two passes, but the other three
flash by too quickly to make a judgment (29GB partition on a caddy).

I haven't delved into -C's optional argument because I'm using
an ordinary xterm.

Cheers,
David.



Re: Seeing progross during fsck on boot

2022-09-01 Thread DdB
Just thinking about your request ...

Imagine this: You run "fsck -N ..." and get a rough estimate about the
time necessary to get the I/O and the job done, then it would be easy to
set up some timed countdown in parallel with the real fsck job, just for
you to have an idea about the time left.

Alternatively, copy the whole device to another place, peform the fsck
there and decide, if copying back the result would be faster of just
running fsck on the original device.

What i am intending to make you think about: Sometimes it is way more
difficult and time consuming to get a rough estimate of some result,
than to actually just get it for real. (You may talk to some math PHD
about that.) ... not worth the effort, because even you would prefer to
get the result as fast as possible and not wait twice the time just to
know ahead of time, when the job is likely to finish.

Does that make sense to you too?




signature.asc
Description: OpenPGP digital signature


Re: Fwd: Recuperar el espacio de lo ilegible.

2022-09-01 Thread JavierDebian

El 1/9/22 a las 18:21, Aristobulo Pinzon escribió:



Hola gente inteli...

Me estoy quedando sin espacio en la partición raíz y me aparece esto:

Tamaño:

278107 elementos, en total 8,6 GiB (9.204.394.052 bytes)

(parte del contenido es ilegible)

18,0 MiB libres de 9,4 GiB (99% en uso)

Cómo recupero el espacio de lo ilegible?

Muchas gracias.



No entiendo qué es
 " (parte del contenido es ilegible) "
Si transcribes lo que sale por pantalla, va a ser más fácil entender.

" 18,0 MiB libres de 9,4 GiB (99% en uso) "
¿Eh? ¿qué versión y escritorio estás usando con una partición / de 
apenas 10GB? Desde "sarge" que no asigno tan poco espacio.


Un Debian 11 "bullsyee" con LXQt ocupa por lo menos 19Gb en la partición 
/ (raíz), sin contar, por supuesto, /home.


Vas a tener que redimensionar tus particiones.
gparted es tu guía.

Una cosa que puedes hacer, es limpiar el directorio
/var/cache/apt/archives/
Esos archivos no son necesarios para el funcionamiento del sistema.

Un sitio que te puede ayudar
https://docs.bluehosting.cl/troubleshooting/servidores/guia-para-solucionar-el-problema---la-particion-root-esta-llena.html

JAP







Seeing progross during fsck on boot

2022-09-01 Thread Mike
Folks,

A long time, maybe 11 years ago, I built a NAS box based around comodity
hardware and the Debian of the day.  It's currently been through several
apt-get dist-upgrades and currently running Debian 11 with loads of old
config grandfathered into it.

It's a server, so runs 24x7 but every few months or so falls on its
arse.  Periodically it wants to fsck the disks, either because they've
gone 20 mounts or so without a fsck or more often because they've gone
however many days it is without a fsck.

This I can live with.  I can even live with the fact that with several
TB file systems and quite a few files, the processs takes around fuor
hours.  I'd just be nice to have some progress reported.  While it
managed to spit details of any file system errors that have been found
and corrected, other than that it sits there utterly silent.  For hours.
I can see that it's doing something as 1) it's expected behaviour and 2)
I can see the disk light solid on.  Nevertheless, it would be nice to
see the progress bar indicting how it was getting along.

Does aoyone have any idea how to enable this?  I have no idea where to
look.  I've had several attempts at finding the answer with a well-known
Internet search engine but while I've found many similar questions and
even sometimes the same one as I'm asking but so far an answer has
proved illusive.

Does anyone have any suggestions for a solution or indeed where one may
look for one?

Regards,
Mike.


signature.asc
Description: PGP signature


Re: Fwd: Recuperar el espacio de lo ilegible.

2022-09-01 Thread Maicon
Has una limpieza con BleachBit.

“I am not what happened to me, I am what I choose to become.”
Carl Jung

Sent with [Proton Mail](https://proton.me/) secure email.

--- Original Message ---
On Thursday, September 1st, 2022 at 16:21, Aristobulo Pinzon 
 wrote:

> Hola gente inteli...
>
> Me estoy quedando sin espacio en la partición raíz y me aparece esto:
>
> Tamaño:
>
> 278107 elementos, en total 8,6 GiB (9.204.394.052 bytes)
>
> (parte del contenido es ilegible)
>
> 18,0 MiB libres de 9,4 GiB (99% en uso)
>
> Cómo recupero el espacio de lo ilegible?
>
> Muchas gracias.
>
> --
>
> La Razón en su sentido absoluto no es algo que esté en el cielo esperando a 
> ser descubierto, sino que está mezclada con la sinrazón, con lo irrelevante y 
> lo cotidiano.

Fwd: Recuperar el espacio de lo ilegible.

2022-09-01 Thread Aristobulo Pinzon
Hola gente inteli...

Me estoy quedando sin espacio en la partición raíz y me aparece esto:

Tamaño:

278107 elementos, en total 8,6 GiB (9.204.394.052 bytes)

(parte del contenido es ilegible)

18,0 MiB libres de 9,4 GiB (99% en uso)

Cómo recupero el espacio de lo ilegible?

Muchas gracias.


-- 
La Razón en su sentido absoluto no es algo que esté en el cielo esperando a
ser descubierto, sino que está mezclada con la sinrazón, con lo irrelevante
y lo cotidiano.


Re: Windows on VMware on Deb 11: safely usable?

2022-09-01 Thread Porter Smith
You should be able to do that, however the main restricting factor is your host 
machines number of virtual  Threads (cps)  in addition to the amount of 
physical memory or ram that your  main board has available to use which is 
usually decreased due to your host ps and also the professor also used some 
threads for housekeeping tasks such as   managing memory and data bus  
maintenance. 

On September 1, 2022 9:19:39 AM PDT, "Махно"  
wrote:
>Helli. You need to install these packages. As root (or sudo) apt
>install qemu-kvm libvirt-clients libvirt-daemon libvirt-daemon-system
>bridge-utils virtinst virt-manager. It is a good idea to add your user
>to libvirt and ibvirt-qemu groups. As root (or sudo) #adduser username
>libvirt #adduser username libvirt-qemu. Also reboot is required.
>
>2022-09-01, kt, 17:29 Tom Browder  rašė:
>>
>> On Mon, Aug 22, 2022 at 1:26 PM john doe  wrote:
>> ...
>> > > So I will try Debian 11's packages "qemu-kvm" and "aqemu" and install
>> > > Windows 10" as a test on my current main host, but only if I can remove 
>> > > all
>> > > if I need to and if it will not interfere with my smooth running setup. 
>> > > Is
>> ...
>> > If you go with Libvirt, you can remove everything if you so choose by
>> > doing something like:
>> > $ apt-get --autoremove purge libvirt
>>
>> So I should install package libvrt and that's all I need? Will it
>> bring in all the other packages mentioned above?
>>
>> -Tom
>>
>


Re: failing HDD, ddrescue says remaning time is 7104d

2022-09-01 Thread David Wright
On Wed 31 Aug 2022 at 16:33:39 (-0700), David Christensen wrote:
> On 8/31/22 15:35, David Wright wrote:
> > On Wed 31 Aug 2022 at 14:02:19 (-0700), David Christensen wrote:
> > > On 8/31/22 06:25, ppr wrote:
> > > > I would appreciate advice from the community about a failing hard drive.
> > > > 
> > > > When booting up, the computer complained about /dev/sdb, which is
> > > > a ext4 HDD with data (not the computer main disk). dmesg shows
> > > > `AE_NOT_FOUND` and  `failed command: READ FPDMA QUEUED` messages
> > > > (full dmesg log at https://hastebin.com/raw/jebelileru).
> > > > 
> > > > It has finally booted after trying unsuccessfully to start /dev/sdb.
> > 
> > > Comment out the /etc/crypttab and/or /etc/fstab entries for the failed
> > > drive.  When you mount the drive, mount it read only.
> > 
> > I don't think it's wise to mount this disk at all, and certainly not
> > before everything that can be rescued from it has been obtained and
> > copied/archived.
> 
> First sentence -- You don't want the OS to access the drive on the
> next boot.
> 
> Second sentence -- I should have prefaced that with "after ddrescue
> has finished".

Yes, I was misled by the order of paragraphs.

> > > Consider doing the work in chunks.  You
> > > should already have sectors 0- 33 GB.  Skip 33 GB and/or 34 GB.  Do
> > > 35-100 GB.  Then, 100-200 GB, 200-300 GB, 300-400 GB, etc..  Get the
> > > good sectors first.  Do the problem sectors last.
> > 
> > Agreed, though ddrescue should be able to do this more flexibly, and
> > automatically, with -K.
> 
> RTFM [1], I don't know if I would use -K.  Take a look at the examples
> given at the end of section "4 Algorithm" and in "10 A small tutorial
> with examples" (examples 3 and 5 look relevant to the OP).

I guess it would be worth setting -a --min-read-rate in addition,
as 636 bytes/sec is unsustainable. This will trigger the skipping.
But the most help could be just reversing the pass, to see whether
the "damage" is local or across the whole disk.

As for the examples, I didn't see a freeze reported (ex.3), nor any
read errors (ex.5), just a slowdown; I think ex.3 is for occasions
when reading particular sectors just locks up the disk.

Cheers,
David.



Re: Windows on VMware on Deb 11: safely usable?

2022-09-01 Thread Tom Browder
On Thu, Sep 1, 2022 at 11:19 Махно  wrote:

> Helli. You need to install these packages. As

…

Thank you very much!

-Tom


Re: Windows on VMware on Deb 11: safely usable?

2022-09-01 Thread Махно
Helli. You need to install these packages. As root (or sudo) apt
install qemu-kvm libvirt-clients libvirt-daemon libvirt-daemon-system
bridge-utils virtinst virt-manager. It is a good idea to add your user
to libvirt and ibvirt-qemu groups. As root (or sudo) #adduser username
libvirt #adduser username libvirt-qemu. Also reboot is required.

2022-09-01, kt, 17:29 Tom Browder  rašė:
>
> On Mon, Aug 22, 2022 at 1:26 PM john doe  wrote:
> ...
> > > So I will try Debian 11's packages "qemu-kvm" and "aqemu" and install
> > > Windows 10" as a test on my current main host, but only if I can remove 
> > > all
> > > if I need to and if it will not interfere with my smooth running setup. Is
> ...
> > If you go with Libvirt, you can remove everything if you so choose by
> > doing something like:
> > $ apt-get --autoremove purge libvirt
>
> So I should install package libvrt and that's all I need? Will it
> bring in all the other packages mentioned above?
>
> -Tom
>



Re: Windows on VMware on Deb 11: safely usable?

2022-09-01 Thread Tom Browder
On Mon, Aug 22, 2022 at 1:26 PM john doe  wrote:
...
> > So I will try Debian 11's packages "qemu-kvm" and "aqemu" and install
> > Windows 10" as a test on my current main host, but only if I can remove all
> > if I need to and if it will not interfere with my smooth running setup. Is
...
> If you go with Libvirt, you can remove everything if you so choose by
> doing something like:
> $ apt-get --autoremove purge libvirt

So I should install package libvrt and that's all I need? Will it
bring in all the other packages mentioned above?

-Tom



Re: .Net Core program crashes on Linux and not on Windows

2022-09-01 Thread Patrick Kirk
 Log
2:14:55 PM:- Starting process.
2:14:56 PM:- Auction run for Kazzak EU.
2:14:58 PM:- Connected realm id for Kazzak EU is 1305.
2:15:01 PM:- The realm data for Kazzak EU namespace is downloaded.
2:15:42 PM:- We have 0 to add and 95789 auctions to update and 1883 expired
or sold auctions in the database for Kazzak EU.
2:15:42 PM:- Saving changes for Kazzak EU.
2:16:13 PM:- Updated 95789 auction listings for Kazzak EU in 10 batches.
2:16:13 PM:- Marking expired auctions for Kazzak EU.
2:16:14 PM:- Getting Kazzak EU done took 1minutes 17 seconds.
2:16:14 PM:- Auction run for Illidan US.
2:16:14 PM:- Connected realm id for Illidan US is 57.
...snip...
2:18:18 PM:- Auctions scan 1 complete.

I took your advice and doubled it.  A program that had me baffled this
morning is now running perfectly.  Many thanks guys!

On Thu, 1 Sept 2022 at 16:34, Greg Wooledge  wrote:

> On Thu, Sep 01, 2022 at 03:47:52PM +0300, Patrick Kirk wrote:
> > /var/log/messages:Sep  1 12:41:34 debian-s-websites kernel:
> > [31104249.962672] .NET ThreadPool invoked oom-killer:
> > gfp_mask=0x6280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=(null),
> > order=0, oom_score_adj=0
> > /var/log/messages:Sep  1 12:41:34 debian-s-websites kernel:
> > [31104249.973435]  oom_kill_process.cold.30+0xb/0x1cf
> >
> > Dan - you found my problem.  Thanks!
> >
> > When the program is running I have this:
> > Mem:  989Mi   579Mi64Mi   149Mi   346Mi
> > 120Mi
> >
> > It clearly thinks 64M is not enough.  I know my program can require up
> to a
> > Gig of memory for the bigger datasets.  What is the minimum GNU/Linux
> will
> > tolerate so I don't end up throwing money away on unused RAM?
>
> You said this is a VPS, so it's going to depend on which *type* of VPS,
> but mostly it's a matter of how much memory the VPS is allowed to use,
> by the host system.
>
> It looks like your VPS is limited to 1 GB (989 Mi, it says) of total
> memory.  If your program is coming close to that, then you may need to
> talk to your VPS provider and get more memory allocated to you (which
> may cost more money).
>
> Try doubling it.
>
>


Re: .Net Core program crashes on Linux and not on Windows

2022-09-01 Thread Greg Wooledge
On Thu, Sep 01, 2022 at 03:47:52PM +0300, Patrick Kirk wrote:
> /var/log/messages:Sep  1 12:41:34 debian-s-websites kernel:
> [31104249.962672] .NET ThreadPool invoked oom-killer:
> gfp_mask=0x6280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=(null),
> order=0, oom_score_adj=0
> /var/log/messages:Sep  1 12:41:34 debian-s-websites kernel:
> [31104249.973435]  oom_kill_process.cold.30+0xb/0x1cf
> 
> Dan - you found my problem.  Thanks!
> 
> When the program is running I have this:
> Mem:  989Mi   579Mi64Mi   149Mi   346Mi
> 120Mi
> 
> It clearly thinks 64M is not enough.  I know my program can require up to a
> Gig of memory for the bigger datasets.  What is the minimum GNU/Linux will
> tolerate so I don't end up throwing money away on unused RAM?

You said this is a VPS, so it's going to depend on which *type* of VPS,
but mostly it's a matter of how much memory the VPS is allowed to use,
by the host system.

It looks like your VPS is limited to 1 GB (989 Mi, it says) of total
memory.  If your program is coming close to that, then you may need to
talk to your VPS provider and get more memory allocated to you (which
may cost more money).

Try doubling it.



Re: .Net Core program crashes on Linux and not on Windows

2022-09-01 Thread Patrick Kirk
Hi Dan,

Yes I've been coding for a living for 15 years in C#.


/var/log/messages:Sep  1 12:41:34 debian-s-websites kernel:
[31104249.962672] .NET ThreadPool invoked oom-killer:
gfp_mask=0x6280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=(null),
order=0, oom_score_adj=0
/var/log/messages:Sep  1 12:41:34 debian-s-websites kernel:
[31104249.973435]  oom_kill_process.cold.30+0xb/0x1cf

Dan - you found my problem.  Thanks!

When the program is running I have this:
Mem:  989Mi   579Mi64Mi   149Mi   346Mi
120Mi

It clearly thinks 64M is not enough.  I know my program can require up to a
Gig of memory for the bigger datasets.  What is the minimum GNU/Linux will
tolerate so I don't end up throwing money away on unused RAM?

Patrick

On Thu, 1 Sept 2022 at 15:21, Dan Ritter  wrote:

> Patrick Kirk wrote:
> > I have a program that is meant to run on my Debian VPS which is hosted by
> > Digital Ocean.  My access to the server is via Putty. Unfortunately the
> > program simply stops, silently, after a few minutes.
> >
> > My code is littered with try catch statements. The console window shows
> no
> > errors. It just silently fails.
> >
> > One issue may be that the program is a resource hog working with datasets
> > of a million or so records at a time. Perhaps the system kills processes
> > that threaten to take over all resources?
>
> There is a kernel feature called the Out Of Memory Killer, which
> kills processes that try to use all the memory of the system.
>
> > Anyway, I would be grateful for any suggestion on how to track down this
> > problem. I'm happy to read the documentation but as you can probably
> tell I
> > don't know how to start framing the question.
>
> Did you write this program?
>
> Are you a fluent .Net Core programmer?
>
> Has it ever run on some other system?
>
> What happens if you try with a dataset of ten records?
>
> -dsr-
>


Re: .Net Core program crashes on Linux and not on Windows

2022-09-01 Thread Dan Ritter
Patrick Kirk wrote: 
> I have a program that is meant to run on my Debian VPS which is hosted by
> Digital Ocean.  My access to the server is via Putty. Unfortunately the
> program simply stops, silently, after a few minutes.
> 
> My code is littered with try catch statements. The console window shows no
> errors. It just silently fails.
> 
> One issue may be that the program is a resource hog working with datasets
> of a million or so records at a time. Perhaps the system kills processes
> that threaten to take over all resources?

There is a kernel feature called the Out Of Memory Killer, which
kills processes that try to use all the memory of the system.

> Anyway, I would be grateful for any suggestion on how to track down this
> problem. I'm happy to read the documentation but as you can probably tell I
> don't know how to start framing the question.

Did you write this program?

Are you a fluent .Net Core programmer?

Has it ever run on some other system?

What happens if you try with a dataset of ten records?

-dsr-



.Net Core program crashes on Linux and not on Windows

2022-09-01 Thread Patrick Kirk
Hi all,

I have a program that is meant to run on my Debian VPS which is hosted by
Digital Ocean.  My access to the server is via Putty. Unfortunately the
program simply stops, silently, after a few minutes.

My code is littered with try catch statements. The console window shows no
errors. It just silently fails.

One issue may be that the program is a resource hog working with datasets
of a million or so records at a time. Perhaps the system kills processes
that threaten to take over all resources?

Anyway, I would be grateful for any suggestion on how to track down this
problem. I'm happy to read the documentation but as you can probably tell I
don't know how to start framing the question.

Patrick


Re: "Failed to start Create System Users" when booting Debian 10 rootfs from NFS mount.

2022-09-01 Thread mj

Hi,

A suggestion: we've had issues in the past, where on NFS root the issue 
was that setting "Linux Capabilities" (setcap) fails, because NFS does 
not support the extended attributes to store them.


Perhaps that is your issue as well?

MJ

Op 16-08-2022 om 21:58 schreef Lie Rock:

Hi,

I'm trying to bring up the Debian 10 root file system on an ARM SoC 
board. When the rootfs was in an SD card the board worked well. When I 
put the rootfs on an NFS server and tried to boot the board through NFS 
mount, it reported error through serial port:


|[FAILED] Failed to start Create System Users. See 'systemctl status 
systemd-sysusers.service' for details. |


And this is the only error message printed out. The board went all the 
way to login inputI, but I could not login with any of 
the preset accounts including root (because no users have been created 
as it suggested?), and I didn't see any way to run commands to check 
system status for details.


So how is the process "create system users" performed when Linux/Debian 
starts? What can be contributing to this error?


Any suggestions would be greatly appreciated.

Rock