Re: Best way to increase openfiles-max and -cur for NGINX/PHP?

2021-01-16 Thread Unicorn
Todd C. Miller wrote: > Error 24 is EMFILE, too many open files for the process (not the > system). > [...] > That would only work if you were getting error 23, ENFILE which is > the system limit. Thank you for pointing that out! So it was the login.conf afterall. > The recommended way to increas

Best way to increase openfiles-max and -cur for NGINX/PHP?

2021-01-16 Thread Unicorn
Hello, I am getting a bunch of error messages of this kind in my NGINX error log: 2021/01/16 13:40:45 [alert] 68769#0: *1 socket() failed (24: Too many open files) while connecting to upstream, client: 123.45.67.89, server: cloud.mydomainhere.tld, request: "GET /core/preview?blah=1 HTTP/2.0", ups

Re: Relayd "cannot load certificates" when using 2 'listen' statements in a relay

2020-12-20 Thread Unicorn
Sorry for the duplicate post, I now saw that this question has been asked previously. I am sadly also not able to test the diff that was provided in one of the previous threads. I have split the relay into two relays with one `listen` statement each for now, which works fine. Best, Unicorn

Relayd "cannot load certificates" when using 2 'listen' statements in a relay

2020-12-19 Thread Unicorn
the 'listen' statements resolves this issue, but that would mean listening only on ipv4 OR ipv6. How could I solve this issue? Am I missing something obvious? The manpage makes me believe that having two 'listen' statements in a single relay is not an issue per se, so why is relayd unhappy with this specific configuration? I'd be very thankful for your guidance. :) Best, Unicorn

Nextcloud large file downloads fail (httpd, postgresql, php7.3)

2020-09-22 Thread Unicorn
py to provide it! Best, Unicorn

Re: /etc/netstart fails on first attempt, works on second

2020-09-20 Thread Unicorn
On Sat, 2020-09-19 at 17:36 +0200, Unicorn wrote: > On Sat, 2020-09-19 at 14:18 +0100, Tom Smyth wrote: > > Hi Unicorn, > > > > what do you have in in your em0 config > > /etc/hostname.em0 > > Hi, the contents are just this, to reduce the possibility of errors

Re: /etc/netstart fails on first attempt, works on second

2020-09-19 Thread Unicorn
On Sat, 2020-09-19 at 14:18 +0100, Tom Smyth wrote: > Hi Unicorn, > > what do you have in in your em0 config > /etc/hostname.em0 Hi, the contents are just this, to reduce the possibility of errors on my part for now: dhcp inet6 autoconf > are you in control of the KVM infrastruc

/etc/netstart fails on first attempt, works on second

2020-09-18 Thread Unicorn
Hello, First of all I apologize to the list manager for posting this without a subject line before, I overlooked it. I am encountering a network related issue in a KVM VPS that I am using for OpenBSD. The way it appears to me is that /etc/netstart fails to get a network connection using dhcp on i

[no subject]

2020-09-18 Thread Unicorn
Hello, I am encountering a network related issue in a KVM VPS that I am using for OpenBSD. The way it appears to me is that /etc/netstart fails to get a network connection using dhcp on its first attempt, but works on the second attempt. While the system is booting, I see the following: > em0: no

OpenBSD 6.7 Virtio disk not recognized during install

2020-06-17 Thread Unicorn
Hello! I have been running OpenBSD 6.6 on three KVM VPS for months and was able to install without issues all three times. Now however, when trying to install either OpenBSD 6.6 or 6.7 on another VPS, the virtual disk is not recognized by the installer. Running `sysctl hw.disknames` just gives me

Re: Updating a Nextcloud instance installed via package

2020-04-18 Thread Unicorn
> I keep a nightly backup of the database (postgres in my case), > upgrade packages and trigger nextcloud's upgrade process via HTTPS > on the nextcloud login page. This process has not failed for me so > far. Except when postgres had a version bump as well with some > incompatible DB format change

Updating a Nextcloud instance installed via package

2020-04-17 Thread Unicorn
r which I would just need to run `occ upgrade`? Is there a better, recommended way to update in this case? I'd be very thankful for some guidance and advice before I accidentally break something or end up with a bad hack. :) Regards, Unicorn

Re: Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread Unicorn
On Fri, 2019-11-22 at 09:53 +0100, Gabriel Kihlman wrote: > Unicorn writes: > > Still would like to know how to turn the display off, have not > > figured > > that out yet ;) > > If you are not starting X, this is enough: > > $ cat /etc/wsconsctl.conf > di

Re: Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread Unicorn
On Fri, 2019-11-22 at 09:28 +0100, Claus Assmann wrote: > On Fri, Nov 22, 2019, Unicorn wrote: > > > Still would like to know how to turn the display off, have not > > figured > > that out yet ;) > > man xset > > Not sure if this is what you want (yes,

Re: Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread Unicorn
On Fri, 2019-11-22 at 09:05 +0100, Unicorn wrote: > Hello, > > I am currently setting up my ThinkPad X220 as a server running > OpenBSD > and wish to disable the integrated display as it is anyway and will > not > be used. > > Equally, I wish for the ThinkPad to not s

Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread Unicorn
familiar with how the underlying systems work so I had trouble figuring out a solution myself, and searching online sadly did not give me working results. Any help is thus greatly appreciated! Best, Unicorn

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Unicorn
On Sun, 2019-11-17 at 23:22 +0300, Consus wrote: > On 16:25 Sun 17 Nov, Unicorn wrote: > > After installing redis (and rspamd), before having modified any > > part of > > redis, starting redis with 'rcctl start redis' fails. I then tried > > running the b

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Unicorn
On Sun, 2019-11-17 at 16:25 +0100, Unicorn wrote: > Hello again, > > I am currently setting up redis with rspamd for my mail setup, but I > am > encountering an issue when trying to just start redis. > For the record, I am following the guide at > https://poolp.org/posts/20

Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Unicorn
appearing in '/var/log'. I'd very much appreciate your help, thanks in advance! Best, Unicorn

Re: Cron not executing @reboot command in crontab

2019-11-17 Thread Unicorn
tto Thank you both, it works perfectly now! Best, Unicorn

Cron not executing @reboot command in crontab

2019-11-17 Thread Unicorn
Hello, I apologize if this is trivial, I genuinely read through all the cron- related manpages and tried several things, but this is my issue: I want to use 'autossh' to automatically establish reverse port forwarding on boot, so (as root) I can 'crontab -e' and added this line to the bottom: @r