Coder Social home page Coder Social logo

Comments (8)

philipianpearce avatar philipianpearce commented on June 17, 2024

Hi, I've on;y just picked this up as I have been leave following an operation on 1st March.

What do the e2guarding access logs say? Have you tuned e2guardian for such a test?
The defaults settings are for up to 4 users use ( < 100 req per sec), so tests like this will overload the default system.

Have you enabled the dstats log? This will give you the information you need to tune e2guardian and see whether you have sufficient httpsworkers configured.

Also, check processor and memory usage.

The smallest platform for production usage (for up to 200 users) would be 4 processors and 8G memory.

Also, what network speed do you have between testing and e2g target and to the target site on the internet?

For comparison have you tried the ab directly to the test site?

How did you configure e2g to block and allow the site?

from e2guardian.

szrce avatar szrce commented on June 17, 2024

thank you @philippearce,

how we can change, 4 users and how we tune 350 users or how we calculate 350 users max req per sec , have you any hint?

also dstat output like bellow,

time		        httpw	busy	httpwQ	logQ	conx	conx/s	 reqs	reqs/s	maxfd	LCcnt
2024-04-19 13:37	2048	0	0	0	117	0	700	 2	18	 1
2024-04-18 17:38	1024	1	0	0	28	0	1017	 3	25	 1
2024-04-18 17:43	1024	2	0	0	6	0	6	 0	25	 1
2024-04-18 17:48	1024	3	0	0	5	0	5	 0	25	 1
2024-04-18 17:53	1024	3	0	0	4	0	4	 0	25	 1
2024-04-18 18:01	2048	5	0	0	3150	10	6019	 20	720	 1
2024-04-18 18:06	2048	2	0	0	2415	7	7769	 25	994	 1

from e2guardian.

philipianpearce avatar philipianpearce commented on June 17, 2024

from e2guardian.

szrce avatar szrce commented on June 17, 2024

thank you for u information, yesterday i did check again with some settings,

when you change bellow settings

reportinglevel = 3

to

reportinglevel = 2 or redirect

so mean if e2g return html template the test output will be very slow 350 users to 200 per sec, but when you redirect some php page or just denied settings output very high 350 users 3k per sec.

do you have any idea, is it bug somewhere?

from e2guardian.

philipianpearce avatar philipianpearce commented on June 17, 2024

from e2guardian.

szrce avatar szrce commented on June 17, 2024

Actually we wanted to know how to calculate system requirements for RAM and CPU in order to handle different levels of user requests per second, such as 350, 500, and 1000 users, Sometimes e2guardian( version 5.3.1) giving kernel dumps average 300 users we cant reach devices, until reboot , all of issues that why

We had thought that if we improve the system options, maybe we won't get dumps, sorry we couldn't think about other issues like internet speeds.

but you answered all questions, if i get another problem or getting kernel dumps this version i will share.

thank you for everything.

from e2guardian.

philipianpearce avatar philipianpearce commented on June 17, 2024

@szrce v5.3.1 is now 5 years old and the final v5.3 release v5.3.5 4 years old, so no longer supported.
There a number of bug fixes since then that relate to intermittent crashes. Most of these as related to apps that miss-use the http protocol (for example see a recent one with whatsapp which exposed a bug when bad headers are sent. #794).
Obviously, the greater the number and diversity of users, then the greater the chance of one of these apps being used and a crash happening. So this may not be a capacity issue.
If a hardware set-up works generally OK with v5.3 then it should be fine with v5.5. At least, that is our experience on a linux platform.

from e2guardian.

szrce avatar szrce commented on June 17, 2024

yeap sure, i will check newer versions thank you all informations.

from e2guardian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.