Find the answer to your Linux question:
Results 1 to 3 of 3
Why does apache take to long to send my webpage to the client? I thought id be the code. But it isnt. So well does anyone have a idea how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    Website takes to long to load?


    Why does apache take to long to send my webpage to the client?
    I thought id be the code. But it isnt. So well does anyone have a idea how to check this or how to speed up?

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Newbie
    Join Date
    Nov 2007
    Location
    Planet Earth
    Posts
    152
    Hi Robin,

    There are many possible reasons: (1) Is yor network a simple LAN or do you have something more complex? Do you check de time of response? (e.g. by using ping to your server)... (2) You can try to enable the 'deflate' module to allow compression of content, sometimes this can improve the speed... (3) Well, there's no more information about your configuration

    Best regards,

    Hugo

    EOF

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Well the server and the client are in the same Switch.
    The network is like this:
    Client <---> Switch <--> DebianNAT <-PortForward-> GentooApache
    The scriptsn are 100&#37; sure they work. Since I saw the website work before. but now it just stoped.
    And the site is my own AND the phpmysql. They both dont work.
    When I do free -m at the server Ill get: total 192 used 32 free 160
    So its not out of ram...

    Well, I did some tests.
    Found my ARP was Dead.
    Well fixed everything.
    Now the server is thinking: "Hey lets put all the nice PHP code on the street so its OpenSource."
    So, well php stopped working. though i didnt change ANYTHING on the Gentoo Box..
    And I dont mind my PHP code to be OpenSource. But I did hardcore my mysql password in it and some secrets as well. (eg how many Loops to take for Encryption).
    So I dont want that.
    Apache is going to recompile with the php useflag (if it has one)
    but does anyone have another idea?

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •