OTRS problems with resources [SOLVED]

Moderator: crythias

Post Reply
jamartinezu
Znuny newbie
Posts: 67
Joined: 28 Jun 2013, 01:06
Znuny Version: OTRS 5
Real Name: Arturo
Company: Purdy Motor
Contact:

OTRS problems with resources [SOLVED]

Post by jamartinezu »

Good afternoon
I hope they are fine.

I have a problem with my OTRS 5 in Ubuntu 16.04.
It is consuming a lot of resources.
One client connects and in 2 minutes there are 20 open sessions of Apache.

Show settings apache2.conf
Timeout 20
Keepalive on
MaxKeepAliveRequest 64
KeepAliveTimeout 3
HostnameLookups Off

prefork_mpm
StartServers 20
MinSpareServers 20
MaxSpareServers 40
MaxrequestWorker 200
MaxConnectionPerChild 4500

Memory Ram 8GB
Intel Core i5
Hard Disk 1TB
Parti. Swap 4.5 GB

Thanks for your time
You do not have the required permissions to view the files attached to this post.
Last edited by jamartinezu on 01 Oct 2016, 00:35, edited 1 time in total.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS problems with resources

Post by jojo »

Apache is doing what you told him to do.

How many concurrent agents you want to serve?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jamartinezu
Znuny newbie
Posts: 67
Joined: 28 Jun 2013, 01:06
Znuny Version: OTRS 5
Real Name: Arturo
Company: Purdy Motor
Contact:

Re: OTRS problems with resources

Post by jamartinezu »

Hi!!

I have just 15 agents.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS problems with resources

Post by jojo »

Hi,


adjust:

StartServers 20
MinSpareServers 20
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jamartinezu
Znuny newbie
Posts: 67
Joined: 28 Jun 2013, 01:06
Znuny Version: OTRS 5
Real Name: Arturo
Company: Purdy Motor
Contact:

Re: OTRS problems with resources

Post by jamartinezu »

Sorry :shock:
I try to understand.
I have to change the "20" in my (StartServers- -MinSpareServers) by another value?

prefork_mpm
StartServers 20 --5
MinSpareServers 20 --5
MaxSpareServers 40 --10
MaxrequestWorker 200 --200
MaxConnectionPerChild 4500 --500

Thank you very much for your time
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS problems with resources

Post by jojo »

Hi,

you have to adjust these lines:

Code: Select all

StartServers 20 
MinSpareServers 20 
MaxSpareServers 40 
But you should read and understand the apache documentation. Also you should have the approbiate knowledge to operate linux servers incl. Webservers, Database, Mail to run OTRS.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jamartinezu
Znuny newbie
Posts: 67
Joined: 28 Jun 2013, 01:06
Znuny Version: OTRS 5
Real Name: Arturo
Company: Purdy Motor
Contact:

Re: OTRS problems with resources

Post by jamartinezu »

Thank you very much for your support.
I solved the problem by editing those lines
Post Reply