Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-10 Thread Stuart Henderson
On 2023-03-10, Tom Smyth wrote: > I think I understand better. Now .. but is there still a security > benefit from having the different services in their own jails ? > (even if the jail cells come with their own metaphorical swimming > pool and armoury ) > > > > or is it that the jails don’t of

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-10 Thread Tom Smyth
I think I understand better. Now .. but is there still a security benefit from having the different services in their own jails ? (even if the jail cells come with their own metaphorical swimming pool and armoury ) or is it that the jails don’t offer enough compared with the additional workl

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-09 Thread Stuart Henderson
On 2023/03/08 10:10, Glen Gunsalus wrote: > > On 3/7/23 15:33, Stuart Henderson wrote: > > On 2023-03-07, Glen Gunsalus wrote: > > > To get this running cp'd perl (/usr/bin/perl) and relevant perl libs > > > (/usr/lib/[libs.so|libm.so|libperl.so] /usr/libexec/ld.so) to > > > /var/www/usr/[bin|l

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Tom Smyth
Morning Glen, Stuart all, yep ... Stuarts comments re chroot glamping vs chroot jails made me gigle all right... the way I think I have it working is that smokeping and rrdcached are running outside the jail with symbolic links to sockets inside the httpd chroot jail /var/www/... and httpd picks

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Glen Gunsalus
On 3/7/23 15:33, Stuart Henderson wrote: On 2023-03-07, Glen Gunsalus wrote: To get this running cp'd perl (/usr/bin/perl) and relevant perl libs (/usr/lib/[libs.so|libm.so|libperl.so] /usr/libexec/ld.so) to /var/www/usr/[bin|lib|libexec] You shouldn't need that bit (and it is safer not t

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Tom Smyth
Folks, Just to say keeping rrdcached for smokeping, and just using the smokeping.sock server "default" { listen on * port 80 location "/smokeping/smokeping.fcgi*" { fastcgi { socket "/run/smokeping.sock" } } } is way faster ... for the user

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Tom Smyth
Hello I found that RRDCached helps with the gaps in the graphs... (write i/o burst smoothing) (which is the main reason I went with rrdcached but it did not help so much on the user interface / web rendering front ... (perhaps I could try (if it is even possible) to try the following write

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-08 Thread Stuart Henderson
On 2023/03/07 14:38, Tom Smyth wrote: > the config below seems to get rrdcached working with httpd in OpenBSD. ... Thanks, I've added this to the pkg-readme. > the loading of the smokeping detailed graphs still takes a while ... but I > will do further dianostics... Do check to make sure that

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Tom Smyth
Hello folks Stuart mentioned that the package readme only contains info on rrdcached and smokeping running with nginx ( i have been running it with httpd for a year or so) here is my configs to get smokeping running with rrdcached on openbsd's httpd (base)... comments welcome... the only gotcha

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Glen Gunsalus
On 3/7/23 00:36, Stuart Henderson wrote: On 2023/03/07 07:10, Tom Smyth wrote: I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smokeping about 150 devces the page load times can take 30 seconds to 1 minute, is there any way to speed this up. im running 7.2 OpenBSD on amd64 vm o

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Stuart Henderson
On 2023/03/07 16:49, Fabio Martins wrote: > On Tuesday, March 7, 2023, Claudio Jeker > > > > > > No need to collect flamegraphs, the issue is massive contention on the > > kernel lock because of high IO load. I see similar behaviour with iogen. > > Currently competing read and write calls clash wit

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Fabio Martins
Inline On Tuesday, March 7, 2023, Claudio Jeker > > > No need to collect flamegraphs, the issue is massive contention on the > kernel lock because of high IO load. I see similar behaviour with iogen. > Currently competing read and write calls clash with the async buffer > handling which also requi

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Tom Smyth
Hi Stuart,... Im running 2 cores as Im a miser with my VMS in terms of CPU allocation ... ( I dont like spending time on the bare metal spliting cherries ) (more context switches than work being done) ... Got my system upgraded... thanks ... and fixed my old /usr/sbin/dig (old..nolonger working)

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Claudio Jeker
On Tue, Mar 07, 2023 at 08:36:24AM +, Stuart Henderson wrote: > On 2023/03/07 07:10, Tom Smyth wrote: > > I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smokeping > > about 150 devces > > the page load times can take 30 seconds to 1 minute, > > is there any way to speed this up.

Re: Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-07 Thread Stuart Henderson
On 2023/03/07 07:10, Tom Smyth wrote: > I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smokeping > about 150 devces > the page load times can take 30 seconds to 1 minute, > is there any way to speed this up. > > im running 7.2 OpenBSD on amd64 vm on top of an SSD array > > any tips

Folks are there any tips to improve page load times on smokeping running on OpenBSD

2023-03-06 Thread Tom Smyth
Folks, I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smokeping about 150 devces the page load times can take 30 seconds to 1 minute, is there any way to speed this up. im running 7.2 OpenBSD on amd64 vm on top of an SSD array any tips tricks welccome ... ###etc-smokeping-config