Mailing List Archive

RT 4 on Amazon EC2
Hi,

I have restored a production instance of RT to an Amazon EC2 t2.small
virtual machine. It has 2 Gig of RAM.

I can’t get Apache with Mod_FCGI to work but RT will run ok when using the
stand alone server.


There are no error message to help.

One particularity of EC2 is that is does not have a memory Swap file
configured. I wonder if this can cause the issue.

Has anyone successful at running RT 4 on EC2?

Thanks in advance,

--

[image: VuWall] <https://vuwall.com> *François MEEHAN*
IT Administrator
Administrateur TI T: +1 514-505-4436
Skype: VuWall-Support
Re: RT 4 on Amazon EC2 [ In reply to ]
I had this issue the other day using Amazon Linux AMI. Stand alone server would run, but httpd would spike to 100+% cpu, no error, no logs, no output.. eventually I gave up and used the Centos7 AMI, worked like a dream first time. I now run rt4 in aws.

Andrew Huddleston

On 22 Feb 2017, at 6:12 am, François Meehan <fmeehan@vuwall.com<mailto:fmeehan@vuwall.com>> wrote:

Hi,

I have restored a production instance of RT to an Amazon EC2 t2.small virtual machine. It has 2 Gig of RAM.

I can’t get Apache with Mod_FCGI to work but RT will run ok when using the stand alone server.


There are no error message to help.

One particularity of EC2 is that is does not have a memory Swap file configured. I wonder if this can cause the issue.

Has anyone successful at running RT 4 on EC2?

Thanks in advance,

--

[VuWall]<https://vuwall.com> François MEEHAN
IT Administrator
Administrateur TI T: +1 514-505-4436
Skype: VuWall-Support



IMPORTANT NOTICE: This email, including any attachments, may contain privileged, confidential, and/or proprietary information, or may be subject to copyright. This email is intended only to be seen and used by the named addressee(s). If you are not the intended recipient of this email, you must not disclose or use the information contained in this email. If you have received this email in error, please notify the sender immediately, and permanently delete the original and any copies. We do not guarantee that this email and any attachments are free from virus or other errors. We will not be responsible for loss or damage resulting (either directly or indirectly) from any such virus or error. The content of and opinions expressed in this email are not necessarily the opinions held by Hillsong Church. If you believe this message is classified as a commercial electronic message in accordance with the Spam Act, you may indicate that you do not wish to receive further commercial electronic messages from us by sending an email to privacy@hillsong.com . Please consider the environmental impact before printing this email.
Re: RT 4 on Amazon EC2 [ In reply to ]
Hi François,
I just recently moved back to RT after three years of coping with ConnectWise and Autotask. I am presently running RT/Apache on a t2 nano and Postgres on another t2 nano instance. I have not noticed the behavior you reported, but have noticed that, sometime in the last week or so, apache2ctl restart no longer works, but /etc/init.d/apache2ctl restart does. I haven't had time to investigate this yet. 
Best,
Peter 

--
Peter Nikolaidis, CISSP, GCFE, GCIH, GPPA, GSNA
http://ParadigmCC.com
Ph: 617.517.2940
_____________________________
From: François Meehan <fmeehan@vuwall.com>
Sent: Tuesday, February 21, 2017 2:11 PM
Subject: [rt-users] RT 4 on Amazon EC2
To: <rt-users@lists.bestpractical.com>


Hi, 
I have restored a production instance of RT to an Amazon EC2 t2.small virtual machine. It has 2 Gig of RAM. 
I can’t get Apache with Mod_FCGI to work but RT will run ok when using the stand alone server. 

There are no error message to help. 
One particularity of EC2 is that is does not have a memory Swap file configured. I wonder if this can cause the issue. 
Has anyone successful at running RT 4 on EC2?
Thanks in advance, 
--

François MEEHAN
IT Administrator
Administrateur TI T: +1 514-505-4436
Skype: VuWall-Support
Re: RT 4 on Amazon EC2 [ In reply to ]
Sorry- too quick with the send button. I did have to add a separate swap partition because my instance was indeed running out of memory. I also was not able to quickly get fcgi working, so I just moved on with standard Apache2. I am using the Amazon Ubuntu AMI.
Peter

--
Peter Nikolaidis, CISSP, GCFE, GCIH, GPPA, GSNA
http://ParadigmCC.com
Ph: 617.517.2940




On Tue, Feb 21, 2017 at 2:11 PM -0500, "François Meehan" <fmeehan@vuwall.com> wrote:










Hi, 
I have restored a production instance of RT to an Amazon EC2 t2.small virtual machine. It has 2 Gig of RAM. 
I can’t get Apache with Mod_FCGI to work but RT will run ok when using the stand alone server. 

There are no error message to help. 
One particularity of EC2 is that is does not have a memory Swap file configured. I wonder if this can cause the issue. 
Has anyone successful at running RT 4 on EC2?
Thanks in advance, 
--


















François MEEHAN
IT Administrator
Administrateur TI


T: +1 514-505-4436
Skype: VuWall-Support
Re: RT 4 on Amazon EC2 [ In reply to ]
On Feb 22, 2017, at 4:09 AM, Peter Nikolaidis <petern@paradigmcc.com<mailto:petern@paradigmcc.com>> wrote:

Sorry- too quick with the send button. I did have to add a separate swap partition because my instance was indeed running out of memory. I also was not able to quickly get fcgi working, so I just moved on with standard Apache2. I am using the Amazon Ubuntu AMI.

Is there any interesting output from the command 'dmesg'? Interesting messages might include 'signal 13' or other things related to memory issues.

Also what multi-processing module are you using? Check the output of 'httpd -V' for the 'Server MPM' line. It should be prefork and you should tune the configuration of that to use less resources if not already done.

--
Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
???? lstewart@internap.com<mailto:lstewart@internap.com>
???? www.internap.com<http://www.internap.com>
Re: RT 4 on Amazon EC2 [ In reply to ]
I found a work around, instead of Apache I use NGINX and that works.

Little did I know that sending mail from an EC2 instance is problematic to
say the least.

Thanks all for your help.

On Tue, Feb 21, 2017 at 2:11 PM, François Meehan <fmeehan@vuwall.com> wrote:

> Hi,
>
> I have restored a production instance of RT to an Amazon EC2 t2.small
> virtual machine. It has 2 Gig of RAM.
>
> I can’t get Apache with Mod_FCGI to work but RT will run ok when using the
> stand alone server.
>
>
> There are no error message to help.
>
> One particularity of EC2 is that is does not have a memory Swap file
> configured. I wonder if this can cause the issue.
>
> Has anyone successful at running RT 4 on EC2?
>
> Thanks in advance,
>
> --
>
> [image: VuWall] <https://vuwall.com> *François MEEHAN*
> IT Administrator
> Administrateur TI T: +1 514-505-4436 <(514)%20505-4436>
> Skype: VuWall-Support
>



--

[image: VuWall] <https://vuwall.com> *François MEEHAN*
IT Administrator
Administrateur TI T: +1 514-505-4436
Skype: VuWall-Support