Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  

"We demand rigidly defined areas of doubt and uncertainty!" -- Vroomfondel


rocksolid / Rocksolid Nodes / Re: def3 server stats

SubjectAuthor
* def3 server statsanon
+- Re: def3 server statsRetro Guy
`* Re: def3 server statsanon
 `* Re: def3 server statsRetro Guy
  `* Re: def3 server statsanon
   `* Re: def3 server statsRetro Guy
    `- Re: def3 server statsRetro Guy

1
Subject: def3 server stats
From: anon
Newsgroups: rocksolid.nodes
Organization: def5
Date: Fri, 17 Apr 2020 12:52 UTC
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <2d82bbba5e2709c9a74a10e3b02110fd@def4>
Subject: def3 server stats
Date: Fri, 17 Apr 2020 12:52:47+0000
Organization: def5
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
View all headers

def3 is at ca 100k single requests per day, which makes the little machine run like hell. might have to upgrade the hardware if that corona situation goes on (because i guess the spike is liked to that).

cheers

trw

Posted on def4


Subject: Re: def3 server stats
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid
Date: Fri, 17 Apr 2020 23:08 UTC
References: 1
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: def3 server stats
Date: Fri, 17 Apr 2020 16:08:59 -0700
Organization: Rocksolid
Lines: 11
Message-ID: <33283ad621234887c1ad9b77d6e96156$1@rslight.i2p>
References: <2d82bbba5e2709c9a74a10e3b02110fd@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="18818"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
View all headers
anon wrote:


def3 is at ca 100k single requests per day, which makes the little machine
run like hell. might have to upgrade the hardware if that corona situation
goes on (because i guess the spike is liked to that).

Sounds like it's handling it pretty well. How small a system are you
running?

Retro Guy



Subject: Re: def3 server stats
From: anon
Newsgroups: rocksolid.nodes
Organization: def5
Date: Sat, 18 Apr 2020 11:26 UTC
References: 1
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <5105aeafc7a0d67fe09775b8d4e5bb39@def4>
Subject: Re: def3 server stats
Date: Sat, 18 Apr 2020 11:26:26+0000
Organization: def5
In-Reply-To: <2d82bbba5e2709c9a74a10e3b02110fd@def4>
References: <2d82bbba5e2709c9a74a10e3b02110fd@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
View all headers

The vm has:
CPu: 3,8 Mhz single core
Ram: 128 mb

I think Ram is the critical resso├║rce, I get a 503 sometimes now without anything being wrong.

cheers

trw Posted on def4


Subject: Re: def3 server stats
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: RetroBBS
Date: Mon, 20 Apr 2020 10:00 UTC
References: 1
Path: i2pn2.org!rocksolid3!.POSTED.localhost!not-for-mail
From: retro....@retrobbs.rocksolidbbs.com.remove-5k9-this (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: def3 server stats
Date: Mon, 20 Apr 2020 10:00:53 +0000
Organization: RetroBBS
Message-ID: <e802a5534fd38e741500a27a6852fc62$1@www.rocksolidbbs.com>
References: <5105aeafc7a0d67fe09775b8d4e5bb39@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: rocksolidbbs.com; posting-host="localhost:127.0.0.1";
logging-data="20920"; mail-complaints-to="usenet@rocksolidbbs.com"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
To: anon
X-Comment-To: anon
In-Reply-To: <5105aeafc7a0d67fe09775b8d4e5bb39@def4>
X-FTN-PID: Synchronet 3.17a-Linux Dec 29 2018 GCC 6.3.0
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on rocksolidbbs.com
X-Rslight-Site: $2y$10$PLOYO3A3RnGfIeGszySt.O8H8M6uj9GwIPPzp7mJdxa4.c4qwUxzy
X-Gateway: retrobbs.rocksolidbbs.com [Synchronet 3.17a-Linux NewsLink 1.110]
View all headers
  To: anon
anon wrote:

The vm has:
CPu: 3,8 Mhz single core
Ram: 128 mb

I think Ram is the critical resso├║rce, I get a 503 sometimes now without anything being wrong.

Have you looked at how many php processes are running at any given time? It may be failed processes that are not being killed.

I've found that timed out php processes can remain, but no longer serve a purpose. I had a lot of trouble with apache as a server. With nginx, I'm able to modify configuration and the problem is gone for me. What web server are you using? If Apache, are you using mod_php? If nginx or lighttpd (or even synchronet), you most likely are using php-fpm, which is probably the best choice, but then you you might need to edit config a bit to run fudforum (or rslight) to handle a bigger load.

When I ran fudforum on apache, with a lot of connections, I had to set a cron job to kill old php processes. I don't do that at all now with nginx, but did need to add a couple of lines to nginx.conf to allow a longer timeout.

Retro Guy



--
Posted on: RetroBBS
www.rocksolidbbs.com



Subject: Re: def3 server stats
From: anon
Newsgroups: rocksolid.nodes
Organization: def5
Date: Mon, 20 Apr 2020 21:35 UTC
References: 1
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Message-ID: <0b93727462b4f7032f22d31c9ee6abe3@def4>
Subject: Re: def3 server stats
Date: Mon, 20 Apr 2020 21:35:17+0000
Organization: def5
In-Reply-To: <e802a5534fd38e741500a27a6852fc62$1@www.rocksolidbbs.com>
References: <e802a5534fd38e741500a27a6852fc62$1@www.rocksolidbbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
View all headers

Have you looked at how many php processes are running at any given time? It may be failed processes that are not being killed. I've found that timed out php processes can remain, but no longer serve a purpose.


No, I did not check this yet, but thanks for the hint.

I had a lot of trouble with apache as a server. With nginx, I'm able to modify configuration and the problem is gone for me.

What exactly did you modify ?

What web server are you using? If Apache, are you using mod_php? If nginx or lighttpd (or even synchronet), you most likely are using php-fpm, which is probably the best choice, but then you you might need to edit config a bit to run fudforum (or rslight) to handle a bigger load.

I run nginx + php-fpm.

When I ran fudforum on apache, with a lot of connections, I had to set a cron job to kill old php processes. I don't do that at all now with nginx, but did need to add a couple of lines to nginx.conf to allow a longer timeout.

I will look into that, thanks a lot. Apache generally performs less good then nginx when it comes to a lot of connections, one of the reasons for me to avoid it.

Posted on def4


Subject: Re: def3 server stats
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Wed, 22 Apr 2020 06:37 UTC
References: 1 2
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: def3 server stats
Date: Wed, 22 Apr 2020 06:37 UTC
Organization: Rocksolid Light
Message-ID: <856d31dc86181b5525cd555c475b7bfe$1@news.novabbs.com>
References: <e802a5534fd38e741500a27a6852fc62$1@www.rocksolidbbs.com> <0b93727462b4f7032f22d31c9ee6abe3@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="24684"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$JYrLEGLD4xdmw2WqGdzh.OEiIBr6mZ9THjked5m4qTmw9ROGD01C6
View all headers
anon wrote:

I had a lot of trouble with apache as a server. With nginx, I'm able to modify configuration and the problem is gone for me.

What exactly did you modify ?

Here are the additions to my nginx.conf

    ## fastcgi
    fastcgi_max_temp_file_size 0;
    fastcgi_buffers 128 2048k;
    fastcgi_buffer_size 2048k;

    fastcgi_read_timeout 600;
    fastcgi_send_timeout 600;

    proxy_buffering on;
    proxy_buffer_size 128k;
    proxy_buffers 4 256k;
    proxy_busy_buffers_size 256k;


--
Posted on: Rocksolid Light
news.novabbs.com


Subject: Re: def3 server stats
From: Retro Guy
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Wed, 22 Apr 2020 08:43 UTC
References: 1 2 3
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: def3 server stats
Date: Wed, 22 Apr 2020 08:43 UTC
Organization: Rocksolid Light
Message-ID: <3f59a9617cc6896d80ca5c888382dd3a$1@news.novabbs.com>
References: <e802a5534fd38e741500a27a6852fc62$1@www.rocksolidbbs.com> <0b93727462b4f7032f22d31c9ee6abe3@def4> <856d31dc86181b5525cd555c475b7bfe$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="5616"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$REKO08Rog./n6q5R/9jYZu2EEGlC0VuJk6o8FUzpoqW7dO9jOlHq6
View all headers
Retro Guy wrote:

anon wrote:

I had a lot of trouble with apache as a server. With nginx, I'm able to modify configuration and the problem is gone for me.

What exactly did you modify ?

Here are the additions to my nginx.conf

    ## fastcgi
    fastcgi_max_temp_file_size 0;
    fastcgi_buffers 128 2048k;
    fastcgi_buffer_size 2048k;

    fastcgi_read_timeout 600;
    fastcgi_send_timeout 600;

    proxy_buffering on;
    proxy_buffer_size 128k;
    proxy_buffers 4 256k;
    proxy_busy_buffers_size 256k;

I should mention these go inside http { }

section.


--
Posted on: Rocksolid Light
news.novabbs.com


1
rocksolid light 0.7.0
clearneti2ptor