Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
Server Capacity Prblems
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

Server Capacity Prblems

picypicy Member
edited March 2013 in General

Hi, i own a mp3 site which converts video to mp3 from youtube .

I have a following specs

Core i5 , 16gb ddr3 and 2tb hdd and 100mbps port.

But i often getting 503 server unavailable error. May i know why this happens?

Do i need to change any variable?

Comments

  • Look at the error log of the web server.

    -

  • jevermeisterjevermeister Member
    edited March 2013

    Forum for webmasters,coders,gamers and prefessionals.

    Yeah, i see what you did there.

  • picypicy Member

    This is the error i get http://prntscr.com/vgrxz

  • Your website is unavailable and the error too. Nice.

  • picypicy Member

    Thats not the site http://mp3world.mobi

  • @jevermeister said: Your website is unavailable and the error too. Nice.

    he's most likely hosting both sites on the same server.
    He's also most likely using apache with stock settings, or cPanel.

  • I don't think that he's hosting prntscr.com.

  • picypicy Member

    I am hosting only one site http://mp3world.mobi and with plesk on it. What are the variables need to be configured?

    I didn't modify any other.

  • @picy said: I am hosting only one site http://mp3world.mobi and with plesk on it. What are the variables need to be configured?

    I didn't modify any other.

    You can't host a popular website with Apache stock settings. We can't tell you what variables you need to edit, because there's a lot more to it than configuring some variables.
    For a start, websites that are very popular and need to handle a lot of visitors don't use any control panel. :)

  • This is like my computer is running slow, where is the problem: You didn't specify your problems and there are a buckload of issues which could cause this.

  • picypicy Member

    aah shit, my site gets around 60k uniques per day. So whether my server can handle the traffic?

    How to host without control panel?

  • Sure it should. You could try this tutorial, assuming you're running Ubuntu
    http://library.linode.com/web-servers/nginx/php-fastcgi/ubuntu-12.04-precise-pangolin

  • icySrvicySrv Member
    edited March 2013

    60k unique hits a day! That's a lot of traffic. So most probably you have a throttled your apache settings that makes it unable to handle that load.

  • @picy juding from your posts here you are completely clueless on administrating a VPS. Either get a managed services or hire someone to do the job for you. Having 60K uniques/day should earn you easily to pay for these.

  • picypicy Member

    can any one fix these issue?
    I can pay them once it has fixed and worked better.

  • SpeedBusSpeedBus Member, Provider

    Btw, Just interested to know, What does the load look like on the server ? with 60k hits per day that looks to be a few thousand per hour I guess

    CrownCloud - Internet Services | Los Angeles, California | Frankfurt, Germany | Amsterdam, The Netherlands

  • @picy http://www.freelancer.com/d/ ?
    Or ask around here, I'm pretty sure you can easily find someone who will tune your server for a fee.

  • picypicy Member

    i am getting average of 25 conversion of songs per minute and 2500 visits per minute and my server is completely down.

    I dont know what makes it halt.

  • @SpeedBus I think any modern dual-core CPU can handle this without overloading.

  • @picy without the details or access to your server no one will be able to tell you even the cause not to mention solution.

  • jevermeisterjevermeister Member
    edited March 2013

    Could you post a "ps aux" that we can make ourselves a view of what is exactly causing the huge load?

    Don't forget to remove data from it which you don't want or shouldn't show like server ip's and so on.

  • @jevermeister said: data which you don't want or shouldn't show like server ip

    since the same server is used for both the website and conversion, I doubt the server IP needs to be hidden :)

  • Sure, just an example. Don't know what cPanel reveals etc.

  • Install Nginx and don bother with a control panel.

    ---- NOT WITH NODEDEPLOY ANYMORE ----

  • SpeedBusSpeedBus Member, Provider

    @nstorm said: @SpeedBus I think any modern dual-core CPU can handle this without overloading.

    Um I know that, Just wanted to know what the actual load looked like.

    CrownCloud - Internet Services | Los Angeles, California | Frankfurt, Germany | Amsterdam, The Netherlands

  • picypicy Member

    http://prntscr.com/vgwtu this is what i get when i type ps aux

  • BogdacutuuBogdacutuu Member
    edited March 2013

    http://prntscr.com/vgwtu this is what i get when i type ps aux

    that's really bad, you will need to use something other than apache
    EDIT: can you do free -m and show us the result?

  • picypicy Member

    how to use something other than apache.

  • Hire an admin. You can't do it right yourself.

    -

  • picypicy Member

    And the top results http://prntscr.com/vgxd4

  • @picy
    Someone on here will gladly setup a Nginx / PHP / MySQL server for you for a small price (Probably about $5 - $10), hell, someone may even do it for free.

    ---- NOT WITH NODEDEPLOY ANYMORE ----

  • picypicy Member

    So I need two of my servers to get fixed for good price. So person who can do the job please send me a pm. I am loossing a lot of traffic.

  • picypicy Member

    Free -m results are as follows http://prntscr.com/vgxyh

  • AdducAdduc Member
    edited March 2013

    If your problem is that all of the Apache threads are busy with existing conversions, I'd suggest increasing your ServerLimit and/or ThreadsPerChild in your apache configuration and restarting apache.

    EDIT: Looking at your free results, you've got plenty of unused RAM. Increasing the Apache configuration directives as suggested is going to be safe to do.

    DevOp based out of Chicago Somewhat knowledgeable about php.
  • picypicy Member

    I need some one to help me in setting up all things and to make the site proper.

  • picypicy Member

    I don't mind paying money for the friend who fix the issue for that and make my site to work proper.

  • BayuBayu Member

    @picy
    Why do you not try to use nginx and php-fpm?
    Afaik, nginx and php-fpm is better to handle high traffic without having to spend too many resources.

    ...

  • @SpeedBus said: with 60k hits per day that looks to be a few thousand per hour I guess

    Indeed, it works out to be less than one per second. Any server should be be able to handle that...

    @picy what kind of software does your site run?

  • SpeedBusSpeedBus Member, Provider
    edited March 2013

    @Damian said: @SpeedBus said: with 60k hits per day that looks to be a few thousand per hour I guess

    Indeed, it works out to be less than one per second. Any server should be be able to handle that...

    yep about 2500 per hour, hmm not much as I see now >_>

    CrownCloud - Internet Services | Los Angeles, California | Frankfurt, Germany | Amsterdam, The Netherlands

  • @Damian

    He said 60,000 uniques, so his hits per second will be a lot higher. He is also converting 25 songs per minute and has 2500 hits per minute

    ---- NOT WITH NODEDEPLOY ANYMORE ----

  • @BenND said: He said 60,000 uniques, so his hits per second will be a lot higher. He is also converting 25 songs per minute and has 2500 hits per minute

    I'm pretty sure ffmpeg can simply strip out the source audio, usually .aac.
    Most media players shouldn't have too many issues with handling that filetype, and should save a fair amount of server CPU time.

    Need to reach me quickly? Ping me on Discord

  • picypicy Member

    I got it done guys. Thanks for all your support. I got support from one member here . He did great job.

  • Quite fast now compared to some hours ago. To provide help for others: What exactly did you change?

  • picypicy Member

    I just hire an coder and a member of here tweak the server. I don't know whether i can share his name. I will ask him and report here what he done.

  • jevermeisterjevermeister Member
    edited March 2013

    Okay. Would give you the advice to serve static files via nginx but i don't know whether this is possible with Plesk or not. If everything's fine regarding load maybe there's at the moment no need for this, but possibly in future.

  • Switch to nginx and run uptime command to get some load figures

  • I've done that for him. Mostly was affected by apache settings. I've tweaked it for more maxclients, server process etc. Also tweaked mysql and php settings.
    Didn't reinstalled or changed the software because it's more complicated. I wouldn't touch that without Pleask or MySQL access (which I didn't had). I've just offered a quick fix for current setup. Besides his server are underloaded anyways, so this isn't a resource problem. There was a lot of free RAM and load average are only 0.20.
    I didn't charged some money for that, just told he could donate some tip if he wish. He did that, thanks @picy.

    @picy I forgot to add, I've backed up all config files I've changed. Will PM you their location.

Sign In or Register to comment.