Jump to content

Need Help with Optimization


Recommended Posts

Posted

Hi there. I am a newbie with web administration and such, and need some help optimizing my site if at all possible. I have VPS from Dreamhost guaranteed at 1410 MB. I dont have a ton of traffic, and am running into issues every once and a while with a slow site, or a 500 internal server error. Dreamhost tells me it is because I am reaching the max clients? They have told me:

Your total RAM is displayed in the chart, it's the orange line that peaks
to about 800MB. Though what is not displayed is your total max clients
allowed for you Apache service and the value is linked to how much memory
you have allowed your server. Your server is currently set to 1410MB and
increasing this increases the maximum clients allowed.

They told me that I should be able to optimize my site, instead of increasing my resources, which would be better for anyone obviously. Anyone have any advice on what to do? Or would be willing to help here?

Thanks so much.

Posted

Well, optimizing howtos are like every other thread in this forum. You can just take a look for starters. Ask if you have more specific questions.

But, if you're not reaching your max memory, I don't see why you shouldn't increase resources. :P
In httpd.conf (/etc/httpd/conf/httpd.conf if centos without control panel), find max_clients and change it to a higher number. Fini~ (there may be more than 1)

Posted

Internal errors are usually caused by wrong ownership / permissions of the files.

Your host should do optimization for you, Apache is straight forward out of the box, As it's IPB I would say that it's the mysql that needs optimization or limits set.

Login SSH and copy the output of the top command and top m command.

Posted

I dont want to increase resources, because thats obviously paying more money, when I dont see that I need to considering I am not using what I am guaranteed to have. Know what I mean? I can change my max clients?

I ran the permission checker in admin panel for ipb, and everything came back clear.

Posted

I dont want to increase resources, because thats obviously paying more money, when I dont see that I need to considering I am not using what I am guaranteed to have. Know what I mean? I can change my max clients?



I ran the permission checker in admin panel for ipb, and everything came back clear.



According to your OWN words,
The ram you're using is 800MB.
The ram you're assigned to is 1410MB (who makes these numbers??)

I'm saying, by increasing max clients, you can allow the used ram to go upto ~1300MB, thus increasing your used resources.

I already told you how to increase your max clients unless you're using some sort of control panel. You can also google for it.
Posted

Ok Grumpy, sorry, I misunderstood what you were saying. I just made sense of it though now.

That sounds like it would work out well, if I could find that file. I am not sure where to go to find it. I'll google it I suppose, thanks for getting my started

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...