Find Jobs
Hire Freelancers

PHP website causing my dedicated server to crash!

$15-25 USD / hour

Imekamilika
Imechapishwa almost 6 years ago

$15-25 USD / hour

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.
Kitambulisho cha mradi: 17335721

Kuhusu mradi

35 mapendekezo
Mradi wa mbali
Inatumika 6 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
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 ndani ya siku 40
5.0 (501 hakiki)
7.5
7.5
35 wafanyakazi huru wana zabuni kwa wastani $21 USD/saa kwa kazi hii
Picha ya Mtumiaji
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 ndani ya siku 40
4.8 (641 hakiki)
9.3
9.3
Picha ya Mtumiaji
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, especially in HMTL/CSS/JavaScript (jQuery & Prototype), Bootstrap, XML, MySQL and PHP I have 10+ years experience in PHP Debugging and Resolving issues, Optimizing existing websites. Contact me if you are interested in my proposal.
$20 USD ndani ya siku 40
4.9 (169 hakiki)
8.0
8.0
Picha ya Mtumiaji
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 ndani ya siku 1
4.9 (534 hakiki)
7.4
7.4
Picha ya Mtumiaji
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 my first opinion. It seems like there is an endless loop somewhere in the first place but of course, I have to investigate it. I can diagnose the error and fix it as soon as possible. I have 10+ years of experience with PHP, CSS/HTML, JavaScript, MySQL and Linux system administration. Please send me a message to discuss the details. Thank you.
$33 USD ndani ya siku 40
5.0 (135 hakiki)
7.4
7.4
Picha ya Mtumiaji
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 will fix this for you. Thank you
$20 USD ndani ya siku 40
4.9 (310 hakiki)
7.1
7.1
Picha ya Mtumiaji
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 ndani ya siku 6
4.9 (411 hakiki)
7.1
7.1
Picha ya Mtumiaji
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 the server credential so I can start investigation the problem for you. Thank you and have a nice day.
$15 USD ndani ya siku 40
5.0 (44 hakiki)
5.7
5.7
Picha ya Mtumiaji
hello this can be because of wrong database query or wrong code logic causing infinite loop or some undefined object or may be some incorrect server config. I can solve this problem. please provide details thankyou
$16 USD ndani ya siku 14
5.0 (46 hakiki)
5.4
5.4
Picha ya Mtumiaji
Hello from Poland (EU). I'm a hardcore sysadmin used to solving puzzles like this one and i have just finished quite similar task. It's all about proper tuning of the system, specifically the mysql, apache/nginx (i assume you are using nginx and apache as a backend) and php-fpm pools. I'm fully qualified for this task and i'm willing to sort it out for you. Not sure about the time it takes thus i suggest a fixed price. Please kindly see my profile for some references. I'm ready to discuss any details in the chat. Thank you.
$15 USD ndani ya siku 10
5.0 (73 hakiki)
5.4
5.4
Picha ya Mtumiaji
I don't know whether I will be able to solve your issue or not. but your job seems to be challenging to me. so before awarding the job, I want to try to solve your issue. let me know if you are interested in this proposal.
$16 USD ndani ya siku 4
4.9 (59 hakiki)
5.3
5.3
Picha ya Mtumiaji
Hey There, Could you please send me some log files from your server? Then I can check the potential problem. Usually this crash and overload because of the database server. Let's discuss more over chat. I'm experienced in Linux System Administration and host Web applications. Thanks, DANI
$15 USD ndani ya siku 40
5.0 (29 hakiki)
4.8
4.8
Picha ya Mtumiaji
Hello! I've 6 years of experience in webhosting field. currently working in a hosting company as a sys admin. i have vast experience in cpanel configurations, software installations, dns configurations, ssl installations, emails site transfers including ftp.. I will professionally handle your project and get it done to your desired expectation, kindly contact me for more project discussion. i have to checj your log files for more details and also need access to whm. come inbox. im willing to start work on this project immediately. payment after work. Thanks
$20 USD ndani ya siku 7
5.0 (41 hakiki)
4.4
4.4
Picha ya Mtumiaji
Hello, I have 5+ years of experience in Linux and Mysql administrator. I also have experience in cloud and web development and related tools like cpanel, WHM, Apache, php, etc . I will be happy to help you in your project. Let me know if you have any issues.
$22 USD ndani ya siku 40
5.0 (3 hakiki)
3.0
3.0
Picha ya Mtumiaji
I have gone through your description and got a pretty much idea of what you want. I can assure you that i can do this task. The skills and resources needed for this project are in my genes. I can assure you for a complete professional work in given time line. I can immediately start working on your project once you allow me.
$16 USD ndani ya siku 40
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hi, I'm anggara from Indonesia. I'm new in freelancer.com,but I have lot experience in Backend Programming and Linux server administration, that you can check on my portfolio. From your explanation, I need to know what is police_cron.php. Please hire me and let me know the problem. Thank you
$16 USD ndani ya siku 8
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hi, I analyzed your inputs and current observations concluded following issues. 1) * * * * * in crojob which is making it run every minutes. This is not an complete issue but issue get worse some time one process is not completed and cron invoked another time. if it continues the result is same process is running concurrently without finishing earlier. So All jobs with make some lock and cause huge waiting time for DB too. 2) Cornjob is running this script which is publicly accessible means any one even spiders and bot can run it. It should be running as cli script so only you server run it 3) script must have some logic to prevent it runnnig if already running. 4) Login script is not using captcha or bot can be hitting login attempt by brut-force which may burn juices on your server. 5) PHP-FPM pool setting needs to be adjusted for more connection for sure. Warm Regards AMIT
$16 USD ndani ya siku 20
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hello dear sir/madam I am Sevak from Armenia. I am a professional web developer with excellent skills and background in this field. Over the years I have completed many projects which included website and web application development, website customization and maintenance. I am a PHP and JavaScript expert. My skills are: Expertise in PHP (PHP5), MySQL, Yii (Yii2), CodeIgniter (HMVC codeigniter), CakePHP, WordPress, Prestashop, Joomla, JS, jQuery, Ajax, Angular.js, HTML (HTML5), CSS3, Bootstrap, APIs, SOAP For me there are not difficult tasks because I can solve any programming issue with hard work and dedication. My biggest goal is to make my clients happy and satisfied by delivering a high qualified product, a working software. I am very creative and enthusiastic and can find unique solutions for ordinary requests. I am very open to discuss anything that bothers You, so do not hesitate to contact me and ask questions. Best regards
$22 USD ndani ya siku 40
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Respected Sir, Accept my greetings of a day! 10 years of experience, a full stack PHP developer. you won't believe that I go the extra mile to fix an issue of any client. I make many clients :) Happy. You are the next one. I can diagnose your issue and fix it. Release the milestone only when you are satisfied with my work. I have a good profile on up-work platform. I am newly joined to find a good client here. If you have 5 min to chat with me. Maybe I am your Man of a miracle! thanks Sanjeev
$16 USD ndani ya siku 40
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya UNITED STATES
Georgetown, United States
5.0
37
Njia ya malipo imethibitishwa
Mwanachama tangu Apr 6, 2013

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.