|
Scream
|
 |
« on: October 02, 2007, 07:45:05 AM » |
|
Our VPS hosted on 74.50.10.116 is experiencing downtimes lately, they are short but still annoying. Anyone knows what's going on?
|
|
|
|
|
Logged
|
|
|
|
|
Jupiter
|
 |
« Reply #1 on: October 02, 2007, 11:07:29 AM » |
|
I have been noticing the same thing on VPS 11 as well... The entire server is down for just a few minutes and then it's just fine. It has happened a few times today already.
|
|
|
|
|
Logged
|
|
|
|
|
Dark Side
Guest
|
 |
« Reply #2 on: October 02, 2007, 06:11:34 PM » |
|
Hi,
Have either of you logged into your Virtuozzo Power Panel's to see what the resource usage has been like? This might help provide a clue into what's going on with your sites.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Scream
|
 |
« Reply #4 on: October 04, 2007, 07:36:57 AM » |
|
Can I ask you where this file (/etc/httpd/httpd.conf) is located? Sorry if it sounds a bit noobish o;
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #5 on: October 04, 2007, 09:19:12 PM » |
|
Hi,
It is located exactly as /etc/httpd/httpd.conf. You need to SSH into the server using an SSH client as the root user to be able to edit it. Please advise, if you need detailed instructions on how to do that.
|
|
|
|
« Last Edit: October 05, 2007, 11:33:44 AM by perestrelka »
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
|
Scream
|
 |
« Reply #6 on: October 05, 2007, 10:19:57 AM » |
|
I would really appreciate it if you did.
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #7 on: October 05, 2007, 08:49:18 PM » |
|
I would really appreciate it if you did.
Ok, so 1. You need to login to the server as root using an SSH client. This tutorial http://www.lunarforums.com/lunarpages_dedicated_web_hosting/how_to_login_to_your_dedicated_server_via_ssh-t26372.0.html gives detailed explanation on how to do that. 2. Save the current Apache config just in case something goes wrong. The following command will create a backup file: cp -p /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak It can be restored by executing: cp -p /etc/httpd/conf/httpd.conf.bak /etc/httpd/conf/httpd.conf 3. Open the Apache config in a text editor. You would use nano as it is very simple one: nano /etc/httpd/conf/httpd.conf 4. Scroll down a bit till you see the lines you need to change. Make needed adjustments, save and exit from the editor. 5. Restart Apache with the new configuration: service httpd restart All done.
|
|
|
|
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
|
Scream
|
 |
« Reply #8 on: October 06, 2007, 10:07:17 AM » |
|
Ok thanks allot but one last thing before I enter the last command (to restart the services), will it cause a down time of more than like 10 minutes? Because as an online game people are always playing and they really have zero tollerance, always searching for something to complaint about  Once again thanks
|
|
|
|
|
Logged
|
|
|
|
|
Scream
|
 |
« Reply #9 on: October 07, 2007, 05:48:49 AM » |
|
Hmm or I am doing something wrong or the in build plesk file manager is totally messed up Everything works alright till I change the maxclient to 100, then suddenly the whole config file is messed up and the httpd service is shut down and it won't restart with an error: BrowserMatch not a valid command on line 2 or something similar to that and indeed on line 1-3 I see code calling that BrowserMatch command while it wasn't there before I changed the maxclients. I have restored a backup so thanks for telling me how to do that.
Anyway does anyone know what the problem is?
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #10 on: October 07, 2007, 06:59:38 AM » |
|
Hi,
There should be max 30 seconds downtime when you restarting your apache. How exactly did you edited the Apache config? You mentioned the Plesk file manager, did you use nano?
|
|
|
|
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
|
Scream
|
 |
« Reply #11 on: October 07, 2007, 08:02:21 AM » |
|
I used the Edit File option in the Virtuozzo file manager as when I enter "nano" in the ssh client it returns "nano: command not found"
|
|
|
|
|
Logged
|
|
|
|
|
geolev
|
 |
« Reply #12 on: October 07, 2007, 09:18:34 AM » |
|
I think nano is an editor. It isn't installed on my VPS either. Try using vi. vi is installed on every flavor of Unix or Linux I have every used. It may seem a bit archaic to use but once you learn it, it sticks with you. I have gone 5 years without touching a Unix machine and somehow remember the commands to get basic editing done. Here are the basic commands: $ vi filename.ext ESC gets you out of a command. 'i' = insert at the cursor. # Remember to ESC to get out of insert mode. 'I' = insert at the beginning of line. 'dd' = delete an entire line. 'shift-d' = delete from cursor to end of line. 'shift-zz' = save file and exit ':' = command mode. enter 'q!' to quit without saving changes. Here is a good vi cheet sheet: http://www.lagmonster.org/docs/vi.html
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Scream
|
 |
« Reply #14 on: October 12, 2007, 03:26:58 AM » |
|
I've made a ticket and since they made the change for me we have experienced not a single downtime, thanks all and especially to you perestrelka 
|
|
|
|
|
Logged
|
|
|
|
|