Em Andamento

PHP website causing my dedicated server to crash!

Server: Dedicated, 16GB DDR3, Intel Core i7-4770 ( 4 Cores x 3.4GHz )

Managed Hosting provided by KnownHost

Backend: WHM cPanel / Apache

Website: Coded in all PHP and using a MySQL database.

Website causing crash: www. police $chedule .com (no spaces and the $ is a S)

I need to pay someone to diagnose the issues with this website and prevent the server from crashing when 50-100 people are trying to login to the website.

The website is using a cron job in order to process some tasks. What happens is that since it is a scheduling website is that at a certain date/time approximately 50 users at one time are trying to access and login to the website to signup for shifts. While at the same time the server is processing a cron job. This is causing the website to generate emails of "suspicious processes" and then I will get an "excessive resources" email before the website crashes. I then have to reboot the server before the website can be access again. I attached copies of the email messages and here is some communication between my hosting provider and myself. The following is the opinion of the hosting providers help desk but may not be the issue:

--CONVERSATION #1--

ME: Could you please take a look at Police $chedule .com and see why the server is crashing? I have to reboot the server typically every 2 months when this problem occurs. The other websites load fine but that domain crashes I have to reboot. I am trying to see if I need to upgrade my server or if it is a script issue.

HOSTING PROVIDER: I'm seeing a lot of errors that look very similar to the following:

-----

[proxy_fcgi:error] [pid 10534:tid 140416183539456] (70007)The timeout specified has expired: [client [login to view URL]] AH01075: Error dispatching request to : (polling)

-----

In addition, I'm seeing a lot of other errors, all of which tie back to proxy_fcgi. Its errors were also the only ones leading into the forced restart that you did of the whole server. The fcgi system is know to be very buggy for cPanel, and diagnosing its issues can be very problematic and would require going through code and running PHP files using the CLI to see if you can trace what's causing the delays with fcgi. It may just be better to remove it at this point. Would you prefer we do that?

ME: What happens if I disable fcgi?

HOSTING PROVIDER: The importance of proxy_fcgi is that it allows use of PHP-FPM with your sites. As it looks like you use PHP-FPM on a lot of your sites, it may be instead that PHP-FPM has to be properly re-adjusted and the code carefully sifted through and debugged. The ultimate issue is that PHP-FPM isn't getting back the responses is wants, and issues then occur. As to which end (code or pool configuration) is causing this issue, it's difficult to ascertain, and requires careful investigation and debugging of your code. Really, it comes down to whether you need PHP-FPM for your sites or not. If you do, then you'll need to tackle some reconfiguration and debugging. If not, then we can just move your sites over off of PHP-FPM and go from there. I'd recommend talking it over with your developers what direction you want to go, and if you want to switch over or need help adjusting PHP configurations, you can let us know.

--CONVERSATION #2--

ME: Not sure what happened but Police $chedule .com crashed. I have been running this website for several months without any issues and had the same amount of users logging on at the same time.

HOSTING PROVIDER: It looks like the user has added some cronjobs that are triggering the firewall.

These were the crons before:

/var/spool/cron/ps:* * * * * wget --quiet -O /dev/null https://police$[login to view URL]

cP/DEDI root@[login to view URL] [~]#

I've updated these as follows:

* * * * * wget -O- https://police$[login to view URL] > /dev/null 2>&1

We could also try whitelisting the process if the notification persists.

Habilidades: Apache, Linux, PHP, Teste de Software, Administrador do Sistema

Veja mais: Hello i want a PHP website system dealing with my server game API and, move php website server, php fpm crash server, php, software testing, linux, apache, system admin, php server crash ajax, php script t0 bulk send email linux dedicated server, godaddy pix cant browse website feom dedicated server, dedicated pptp vpn server, upload php website server, dedicated bulk email server, transfer php website files mysql hosting server, database server address godaddy dedicated, setup dedicated pptp vpn server, copy php website server, migrate php website server, need help installing php website server

Acerca do Empregador:
( 40 comentários ) Georgetown, United States

ID do Projeto: #17335721

Concedido a:

tlchung

I can investigate and fix the crash issue for you. I am a skilled server admin and php developer with over 10 years experience. let discuss more via private messages, thanks.

$44 USD / hora
(444 Comentários)
7.4

41 freelancers estão ofertando em média $21/hora para esse trabalho

graphicaa

Hello checked your website We can assist in this, Let me know if I am on your shortlist, I will do some rechecks and submit my detailed proposal estimate. Thanks, Sebastian

$15 USD / hora
(536 Comentários)
8.8
inspirad

Hi, I have red your requirement and I realised, I have also faced exactly same. I am a PHP developer and I have developed and maintaining the website [login to view URL] This is a job portal and daily 80 to Mais

$25 USD / hora
(358 Comentários)
7.9
TakeReal

Hello, My name is Sergey. I am Freelancer from [login to view URL], Russia. I suppose you have too slow SQL queries. Or incorrect MySQL settings. Or other issues. I plan to research your code and SQL queries, find " Mais

$33 USD / hora
(1669 Comentários)
8.0
sphinxsolution

Hi, Let us take this opportunity to thank you for posting this requirement which is to fix your existing website. We are a dedicated team of developers, who believe in quality and on time delivery. Developers who Mais

$15 USD / hora
(19 Comentários)
7.0
denizb16

Hello, My name is Deniz, I am a senior web developer & Linux administrator. I read your conversation and I think the issue's reason is not cron. Cron may trigger the issue but it is not the main reason. This is Mais

$33 USD / hora
(99 Comentários)
7.1
Anthprogrammer

I am 5+ years experienced in HTML5, CSS, PHP, CRM, MVC, MySQL, Javascript, Wordpress, Shopify, joomla, drupal, opencart, jQuery, Ajax. I love to code. One thing I believe in is never quitting. I will work hard and Mais

$22 USD / hora
(83 Comentários)
6.4
tanujchugh

Hi, I will check crash issue on server , I have 9 years of experience in managing whm shared hosting servers. Let me know for any queries. Thanks

$16 USD / hora
(187 Comentários)
6.4
$22 USD / hora
(191 Comentários)
6.4
opuswebdevlopers

Hello, there are so many factor affect for site crashing not particular server issue or script issue. we need to check all the things like database , memory , scheduling ,cron job , etc. Let discuss with me so i Mais

$20 USD / hora
(143 Comentários)
6.5
kuldeepvk

Hi, I will check complete dedicated server configuration, find the fcgi configuration issue and website crashing issue and will fix the issue. Please discuss to start. Thank you.

$16 USD / hora
(227 Comentários)
6.7
ykarora26

Hello Sir, I am an experienced professional web master, working with Shopify, big commerce volusion, Word press, joomla, magneto, open cart, prestashop for over 8 years now. I have knowledge of HTML, CSS, jQuery, Mais

$15 USD / hora
(117 Comentários)
6.3
tangramua

Hi, I will fix the issue on your website and prevent the server from crashing. As for me, I am professional Web Developer and co-owner of a web-development team with a 17 years experience in Web Development, especi Mais

$20 USD / hora
(27 Comentários)
6.1
$20 USD / hora
(152 Comentários)
5.9
degreeinfo

Dear Hiring Manager, I have gone through the project description and able do this job as per mentioned in the proposal. Please check our work history: [login to view URL] Ping me when yo Mais

$22 USD / hora
(20 Comentários)
5.5
conankid

Hello, after look at project description carefully I believe that I can solve your problem. I was solve some other resource problem of WHM CPanel few days ago with a very happy customer. Please chat with me and give me Mais

$15 USD / hora
(43 Comentários)
5.5
gooddeveloper923

Hello I read your job post carefully, I think this project is good fit for me. Because I have very good experience in MVC frameworks as Laravel, Codeigniter, Yii and I'm very good at AngularJS, React.JS, MySql, JSON Mais

$22 USD / hora
(13 Comentários)
5.2
numerichost

Hi, I will check the issue and will resolve the issue by making the site working fine. I have 10 Years of expertise as Server Admin. Let' s discuss. Thanks !

$15 USD / hora
(58 Comentários)
5.3
$20 USD / hora
(19 Comentários)
5.4
ersumit88

Hi Hope you are doing good Thank you for allowing me to post bid on your project I have prior experience in handling apache server and building website in PHP so i feel my self the right candidate to have a inter Mais

$22 USD / hora
(37 Comentários)
5.1
davidballyhoo

HI, we are good base experience in php and frameworks, please chk our works Magento [login to view URL] [login to view URL] [login to view URL] [login to view URL] http://www.2save. Mais

$15 USD / hora
(30 Comentários)
5.0