Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

Web sites loading slow on Apache-MySql

Discussion in 'Web Server' started by gezginrocker, Sep 1, 2012.

  1. gezginrocker

    gezginrocker Guest

    Hello,

    I'm running virtual Scientific Linux on Windows 2008 Hyper-V.

    My PHP web sites are taking a long time to load. DNS server is on Windows 2008.

    Here is an example slow loading site: serifyenen.com/blog

    What can be the problem?

    Thanks


     
  2. You can use "mysql replication mariadb" and "apache replication lighttpd".

    Thanks
     
  3. ryanvade

    ryanvade Guest

    Are you running the website or are you trying to browse it? I can't even find that page.
     
  4. Also I can't find the page but main site is running.
     
  5. Kevin Milan

    Kevin Milan Guest

    After doing some research I tried those, but both didn't help.

    For MySQL, I tried adding skip-name-resolve.

    For PHP, I tried changing localhost to 127.0.0.1 at PHP MySQL settings.
     
  6. Larry

    Larry Guest

    There're a whole lot of things you can do to reduce load times. I don't feel you've provided enough information for us to help though.

    1. Try using public resolvers. 8.8.8.8 and 8.8.4.4 for example, as provided by Google.
    2. Try to use mysql tuner and see if you can squeeze more performance out of that.
    3. Reduce the amount of memory per request. Try to bring this number below 32 if possible, or if you're using a bloated Wordpress website, less than 128M would be ideal. If you're using a server with less than 512M, you need an upgrade buddy!
    4. Tweak around your apache start servers and requests per child.

    It's hard to provide user-specific suggestions. Provide more information about your environment, and we can probably help better. :)
     

Share This Page