Hi,

I am upgrading my hosting to Dedicated server(presently on Shared Linux Hosting - Godaddy).

I purchased a dedicated server(Godaddy) with following configuration:
Operating System: CentOS 5
Processor: Intel Core 2 Duo - 2.66 GHz
RAM: 4 GB

I don't know much about server and to set its configuration(my.cnf, php.ini, etc).

I successfully migrated data and MySql to new server. Everything was fine. Only last error remaining was:
HTTP request status Fails

Then, I installed a module: "Http Request Fail Reset" from http://drupal.org/project/http_request_fail_reset and I set reset at every 1 minute in settings.

I don't know what happened wrong (may be culprit was: Http Request Fail Rest module, but I am not sure), my server hangs. Server support chat team said: there are so many MySql connections (approx 1200+), 90 Apache instances(as I remember..), etc. I can't access my website, SSH, Plesk and FTP, everything was so much slow. Then, I requested to support team to reboot the server and before my server get busy, I deleted my website's root folder and database. Now my server was properly breathing.

I want to mention at above scenario, my website domain DNS was pointing to dedicated server, normal traffic was 150(according to Google Analytic real time report) and domain DNS was pointing to the server from last 12 hours.

Now, again I am trying to port my website to dedicated server. This time DNS is pointing to old shared hosting and I am working on its instance on dedicated server via local host file change. And my website instance is running without any problem. There is no error in "Status Report". Only one error is missing: "HTTP request status Fails" , and I am sure it will come within 2 or 3 days. And then I am not goint to install "Http Request Fail Rest" module.

My problem is:
- If I point DNS to dedicated server, will my server again hangs? As I am not sure above problem occur due to "Http Request Fail Rest" module. May be my server need some configuration in my.cnf, php.ini, etc.

Where was/is the problem?

-Vikas

Comments

one4public’s picture

I am going to change the DNS to point to Dedicated server. I will update, if success or failure.

Any comment/feedback/tips please share.

alex_shapka’s picture

Ideally, if everything on the server is installed properly, you shouldn't have experience http request failures, so you wouldn't need to install "Http Request Fail Reset" module. Now, it is hard to tell exactly what might be a cause for such issues. Generally setting up and tuning a server is a very much delicate matter requiring good knowledge of LAMP stack nuances. You might consider to read Server tuning guide or to move to a managed dedicated server.

one4public’s picture

Thanks Alan Mels for your reply.

I installed that module because I was have last error remaining and that was "HTTP request status Fails", as I mentioned in first post.

Yes you are right, I should have Managed Hosting server, and finally I purchased it.

And, finally I am realizing the problem was absence of basic config files of server, which I need to set before running website. For example in my.cnf there should be mysql connection restrictions, etc.

There was no problem in the module "Http Request Fail Rest".

-Vikas

alex_shapka’s picture

Vikas,

As I understood you purchased just a dedicated server, not managed one. On managed one you don't worry about such matters like configuring server scripts. Managed means you just run your site leaving all the server related headaches to host company.

Anyway, I am glad you have figured out what was the problem with your server.

one4public’s picture

still I have an issue:
http://drupal.org/node/766028#comment-5497174

any idea?

Thanks
vikas

one4public’s picture

Finally I found the solution.

The problem was in "Taxonomy Image" module (http://drupal.org/project/taxonomy_image)

Overall I spent approx 2 months to find the culprit.

When I was on shared hosting everything was fine, may be due to shared hosting of godaddy have excellent hardware and database configuration.

But when I migrated to dedicated server and whenever I cleared the cache, my website/server slowdown/hangs, especially database goes to maximum connections and hangs for hours. One day, I noticed the page doesn't using "Taxonomy Image" module is loading perfectly, and I must say I have 20k pages and only 2 or 3 pages don't using "Taxonomy Image" module. So I finally disabled the "Taxonomy Image" module and my website is working fine just like as on Shared hosting. Now there is no problem with clearing the cache on dedicated server.

I am sharing this for those people who has similar problems.

-Vikas