OTRS slow windows server 2003.

Hi, Our Windows machine running server 2003 with OTRS webserver v 1.19.2.1 and Apache 2.2 is running incredibly slowly even after a RAM and processor upgrade (it's a virtual server). Do any of you have similar problems with unbearable slowness? What fixes have you tried? Is mod_perl an option for our configuration? Thanks in advance for your help. Dave P Rochester

* Panzarella, David
Hi,
Our Windows machine running server 2003 with OTRS webserver v 1.19.2.1 and Apache 2.2
What is "OTRS webserver v 1.19.2.1" ? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de

Sorry that should be the last version of OTRS 2. I'm doing some research on behalf of someone else, and it looks like they had copied an older readme. Also I see a lot of errors in the Apache error log saying:
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Child process is running
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Acquired the start mutex.
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting 250 worker threads.
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting thread to listen on port 80.
[Thu Nov 18 17:57:49 2010] [error] [client 172.16.148.40] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Nov 19 06:41:52 2010] [error] [client 172.18.196.21] File does not exist: C:/OTRS/Apache2/htdocs/robots.txt
[Fri Nov 19 08:24:17 2010] [error] [client 172.18.237.213] Attempt to serve directory: C:/OTRS/otrs/bin/cgi-bin/
[Fri Nov 19 08:57:15 2010] [error] [client 10.152.92.167] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Nov 19 09:10:01 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Nov 19 09:10:01 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Nov 19 09:10:04 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Nov 19 09:23:21 2010] [notice] Parent: child process exited with status 0 -- Restarting.
[Fri Nov 19 09:23:31 2010] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
Hopefully this helps.
-----Original Message-----
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Ralf Hildebrandt
Sent: Thursday, January 06, 2011 10:24 AM
To: otrs@otrs.org
Subject: Re: [otrs] OTRS slow windows server 2003.
* Panzarella, David
Hi,
Our Windows machine running server 2003 with OTRS webserver v 1.19.2.1 and Apache 2.2
What is "OTRS webserver v 1.19.2.1" ? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

* Panzarella, David
Sorry that should be the last version of OTRS 2. I'm doing some research on behalf of someone else, and it looks like they had copied an older readme. Also I see a lot of errors in the Apache error log saying:
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Child process is running [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Acquired the start mutex. [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting 250 worker threads. [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting thread to listen on port 80. [Thu Nov 18 17:57:49 2010] [error] [client 172.16.148.40] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 06:41:52 2010] [error] [client 172.18.196.21] File does not exist: C:/OTRS/Apache2/htdocs/robots.txt [Fri Nov 19 08:24:17 2010] [error] [client 172.18.237.213] Attempt to serve directory: C:/OTRS/otrs/bin/cgi-bin/ [Fri Nov 19 08:57:15 2010] [error] [client 10.152.92.167] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:10:01 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:10:01 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:10:04 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:23:21 2010] [notice] Parent: child process exited with status 0 -- Restarting. [Fri Nov 19 09:23:31 2010] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
This looks like Apache with mod_perl... For a proper analysis one would have to check WHAT exactly is going on. Is CPU load high? Is IO high? Is network latency high? Are DNS queries timing out? Is the SQL Database doing well? Find out what's going on! Look at recent logs. Look at the task manager. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de

The CPU load will spike high occasionally, same with the output. There is about 1.4 GB of RAM constantly occupied. The largest process is a Java archiver which I don't believe is related to OTRS. The next are two Apache processes totaling about 220,000K. I wonder if this is due to mod_perl. I understand that mod_perl uses a lot of memory. I did get one DNS timeout when running nslookup. It looks like the server has two IP addresses, so I'm waiting to hear back from its admin about that. I also want to lower the number of worker threads. How do I go about this? And, what is a feasible number? I am new to OTRS.
-----Original Message-----
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Ralf Hildebrandt
Sent: Thursday, January 06, 2011 10:51 AM
To: otrs@otrs.org
Subject: Re: [otrs] OTRS slow windows server 2003.
* Panzarella, David
Sorry that should be the last version of OTRS 2. I'm doing some research on behalf of someone else, and it looks like they had copied an older readme. Also I see a lot of errors in the Apache error log saying:
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Child process is running [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Acquired the start mutex. [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting 250 worker threads. [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting thread to listen on port 80. [Thu Nov 18 17:57:49 2010] [error] [client 172.16.148.40] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 06:41:52 2010] [error] [client 172.18.196.21] File does not exist: C:/OTRS/Apache2/htdocs/robots.txt [Fri Nov 19 08:24:17 2010] [error] [client 172.18.237.213] Attempt to serve directory: C:/OTRS/otrs/bin/cgi-bin/ [Fri Nov 19 08:57:15 2010] [error] [client 10.152.92.167] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:10:01 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:10:01 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:10:04 2010] [error] [client 10.152.92.14] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico [Fri Nov 19 09:23:21 2010] [notice] Parent: child process exited with status 0 -- Restarting. [Fri Nov 19 09:23:31 2010] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
This looks like Apache with mod_perl... For a proper analysis one would have to check WHAT exactly is going on. Is CPU load high? Is IO high? Is network latency high? Are DNS queries timing out? Is the SQL Database doing well? Find out what's going on! Look at recent logs. Look at the task manager. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

* Panzarella, David
The CPU load will spike high occasionally, same with the output. There is about 1.4 GB of RAM constantly occupied. The largest process is a Java archiver which I don't believe is related to OTRS.
Indeed it is not :)
The next are two Apache processes totaling about 220,000K. I wonder if this is due to mod_perl.
on linux, my apaches are at about 69,000k (virtual size), also using mod_perl. Maybe they're leaking memory? Try restarting apache. But since you want to change the number of worker threads, read on.
I understand that mod_perl uses a lot of memory. I did get one DNS timeout when running nslookup.
That's bad. The first DNS server should answer quickly, otherwise some requests might take a lot of time because of the DNS queries timing out.
It looks like the server has two IP addresses, so I'm waiting to hear back from its admin about that. I also want to lower the number of worker threads. How do I go about this? And, what is a feasible number? I am new to OTRS.
That's more of an apache2 question. Look in it's config. Why are you running unix style services on Windows BTW? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de

Thanks for your help/info Ralf. Here's quite a different error. Not as many worker threads, but I can find no documentation about a "scalars leaked:1" error in the apache error logs.
[Thu Jan 06 15:14:29 2011] [notice] Parent: Created child process 6676
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
[Thu Jan 06 15:14:35 2011] [notice] Child 6676: Child process is running
[Thu Jan 06 15:14:35 2011] [notice] Child 6676: Acquired the start mutex.
[Thu Jan 06 15:14:35 2011] [notice] Child 6676: Starting 64 worker threads.
[Thu Jan 06 15:14:35 2011] [notice] Child 6676: Starting thread to listen on port 80.
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
I restarted Apache but it's still consuming huge amounts of memory
-----Original Message-----
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Ralf Hildebrandt
Sent: Thursday, January 06, 2011 2:08 PM
To: otrs@otrs.org
Subject: Re: [otrs] OTRS slow windows server 2003.
* Panzarella, David
The CPU load will spike high occasionally, same with the output. There is about 1.4 GB of RAM constantly occupied. The largest process is a Java archiver which I don't believe is related to OTRS.
Indeed it is not :)
The next are two Apache processes totaling about 220,000K. I wonder if this is due to mod_perl.
on linux, my apaches are at about 69,000k (virtual size), also using mod_perl. Maybe they're leaking memory? Try restarting apache. But since you want to change the number of worker threads, read on.
I understand that mod_perl uses a lot of memory. I did get one DNS timeout when running nslookup.
That's bad. The first DNS server should answer quickly, otherwise some requests might take a lot of time because of the DNS queries timing out.
It looks like the server has two IP addresses, so I'm waiting to hear back from its admin about that. I also want to lower the number of worker threads. How do I go about this? And, what is a feasible number? I am new to OTRS.
That's more of an apache2 question. Look in it's config. Why are you running unix style services on Windows BTW? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

* Panzarella, David
[Thu Jan 06 15:14:29 2011] [notice] Parent: Created child process 6676 Scalars leaked: 1 Scalars leaked: 1 Scalars leaked: 1 [Thu Jan 06 15:14:35 2011] [notice] Child 6676: Child process is running [Thu Jan 06 15:14:35 2011] [notice] Child 6676: Acquired the start mutex. [Thu Jan 06 15:14:35 2011] [notice] Child 6676: Starting 64 worker threads. [Thu Jan 06 15:14:35 2011] [notice] Child 6676: Starting thread to listen on port 80. Scalars leaked: 1 Scalars leaked: 1 Scalars leaked: 1 Scalars leaked: 1
If I google for the "Scalars leaked" message, it indicates not much of a problem.
I restarted Apache but it's still consuming huge amounts of memory
Damn. Maybe it's loading a lot of (unneeded) module (maybe PHP and such) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de

On Thu, Jan 6, 2011 at 4:43 PM, Panzarella, David
Sorry that should be the last version of OTRS 2. I'm doing some research on behalf of someone else, and it looks like they had copied an older readme. Also I see a lot of errors in the Apache error log saying:
[Thu Nov 18 15:54:44 2010] [notice] Child 8956: Child process is running [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Acquired the start mutex. [Thu Nov 18 15:54:44 2010] [notice] Child 8956: Starting 250 worker threads.
250 worker threads! That's HUGE. It might be that your virtual machine is really slow because of this. Please set this to a lower value.
[Fri Nov 19 09:23:31 2010] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
So supposedly you're running mod_perl, although a dev version ; you might want to look into your apache configuration here. -- Mike
participants (3)
-
Michiel Beijen
-
Panzarella, David
-
Ralf Hildebrandt