web interface unreachable 2-3 times a day

General eFa discussion
Post Reply
ovizii
Posts: 463
Joined: 11 May 2016 08:08

web interface unreachable 2-3 times a day

Post by ovizii »

EFA keeps working but the web interface keep telling me cannot connect or unreachable. Solved by doing a /etc/init.d/httpd restart

the /var/log/httpd/error.log file says:

[notice] child pid 53446 exit signal Segmentation fault

Any ideas? I already did a yum update.This happened twice in the last 24h
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: web interface unreachable 2-3 times a day

Post by pdwalker »

What's happening during that time? Is the system running out of memory?
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: web interface unreachable 2-3 times a day

Post by ovizii »

nope. the system resources for EFA are actually over-sized.
To give you an idea, this EFA instance has about an average of 150 emails per working day and 20 per Sat/Sun.
Its a VM with 8GB RAM and 2CPUs.

The problem has recently started and hasn't happened again since I posted here. I was rather curious if anyone has experienced anything similar or has any ideas where I could poke and prod to see if I can find the source of the problem.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: web interface unreachable 2-3 times a day

Post by pdwalker »

can you run "top" while the web interface is non responsive?

I've previously seen that when I was training the bayes classifier with spam, the web interface would be completely unresponsive until it was finished.

Is your mysql instance busy?

what does "iostat 1" show you during those non responsive times? do you see a high % of iowait?

you may consider running "iotop" to see if it is disk related pauses as well.
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: web interface unreachable 2-3 times a day

Post by ovizii »

Thanks for the pointers. I will do all of that and reply if / when it happens again.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: web interface unreachable 2-3 times a day

Post by pdwalker »

This information might help us figure out what is going on/going wrong.

On the other hand, maybe you'll never see the problem again :D
tbuchanan
Posts: 21
Joined: 19 May 2016 14:53

Re: web interface unreachable 2-3 times a day

Post by tbuchanan »

Just to add a "me too" comment. All 4 of my EFA servers (2 incoming, 2 outgoing) experienced the same condition once overnight on the same date as the original post. I restarted httpd when I came in the office and the problem has never occurred again. We have had storms and power/network outages so I attributed the problem to that and didn't investigate further.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: web interface unreachable 2-3 times a day

Post by pdwalker »

unrepeatable problems are among the hardest to solve, much less diagnose.
Post Reply